KaliVeda
Toolkit for HIC analysis
KVZbound.h
1 #ifndef KVZbound_h
2 #define KVZbound_h
3 #include "KVZtot.h"
4 
13 class KVZbound: public KVZtot {
14 
15  void init()
16  {
17 #ifdef USING_ROOT6
18  SetSelection({"Z>=3", [](const KVNucleus * nuc)
19  {
20  return nuc->GetZ() >= 3;
21  }
22  });
23 #else
24  SetSelection("_NUC_->GetZ()>=3");
25 #endif
26  }
27 
28 public:
29  ROOT_FULL_SET_WITH_INIT(KVZbound, KVZtot)
30 
31  ClassDef(KVZbound, 1)
32 };
33 #endif
#define ClassDef(name, id)
Description of properties and kinematics of atomic nuclei.
Definition: KVNucleus.h:126
void SetSelection(const KVParticleCondition &sel)
Definition: KVVarGlob.h:600
Sum of atomic numbers of fragments in event.
Definition: KVZbound.h:13
void init()
Definition: KVZbound.h:15
Sum of atomic numbers in event.
Definition: KVZtot.h:17