KaliVeda
1.15/6
Toolkit for HIC analysis
KVPtot.h
1
#ifndef KVPtot_h
2
#define KVPtot_h
3
#include "KVVGVectorSum.h"
4
12
class
KVPtot
:
public
KVVGVectorSum
{
13
14
protected
:
15
void
fill(
const
KVNucleus
*
n
)
16
{
17
Add
(
n
->GetMomentum());
18
}
19
20
public
:
21
KVPtot
() :
KVVGVectorSum
(
"KVPtot"
) {}
22
KVPtot
(
const
Char_t
* name) :
KVVGVectorSum
(
name
) {}
23
virtual
~KVPtot
() {}
24
25
ClassDef
(
KVPtot
, 1)
//Sum of particle momenta
26
};
27
#endif
Char_t
char Char_t
ClassDef
#define ClassDef(name, id)
name
char name[80]
KVNucleus
Description of properties and kinematics of atomic nuclei.
Definition:
KVNucleus.h:123
KVPtot
Sum of particle momenta.
Definition:
KVPtot.h:12
KVPtot::~KVPtot
virtual ~KVPtot()
Definition:
KVPtot.h:23
KVPtot::KVPtot
KVPtot(const Char_t *name)
Definition:
KVPtot.h:22
KVPtot::KVPtot
KVPtot()
Definition:
KVPtot.h:21
KVVGVectorSum
Global variable calculating sum of 3-dimensional vectors.
Definition:
KVVGVectorSum.h:28
n
const Int_t n
Add
Add
kaliveda.doxygen
src
core
globvars
KVPtot.h
Generated on Wed Aug 5 2026 08:50:04 for KaliVeda by
1.9.1