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