15 #include "TLorentzVector.h"
30 PndSmpCand(TLorentzVector lv, Float_t chrg, Int_t pdg = 0, Int_t
uid = -1);
33 PndSmpCand(TLorentzVector *lv, Float_t chrg, Int_t pdg = 0, Int_t
uid = -1);
42 PndSmpCand(Int_t pdg,
PndSmpCand &c0,
PndSmpCand &
c1,
PndSmpCand &
c2,
PndSmpCand &
c3,
PndSmpCand &
c4) {
CombCand(pdg, &c0, &c1, &c2, &c3, &c4); }
45 PndSmpCand(Int_t pdg,
PndSmpCand *c0,
PndSmpCand *
c1,
PndSmpCand *
c2=0,
PndSmpCand *
c3=0,
PndSmpCand *
c4=0) {
CombCand(pdg, c0, c1,
c2,
c3,
c4); }
64 TLorentzVector
P4() {
return fLV; }
79 ULong_t bit=ULong_t(1)<<63;
80 while (bit) {cout << ((x&bit)?1:0); bit>>=1;
if (bit & 0x8080808080808080) cout <<
" ";}
void PrintBinary(ULong_t x)
Prints a unsigned int as bit string.
void SetM(Double_t m)
Sets mass (used for different mass hypotheses in filter.
PndSmpCand * fDaughter[5]
void SetCharge(Float_t ch)
Sets charge.
void CombCand(Int_t pdg, PndSmpCand *c0, PndSmpCand *c1, PndSmpCand *c2=0, PndSmpCand *c3=0, PndSmpCand *c4=0)
Combines this candidate from several daughters (adds P4 and charges).
PndSmpCand(Int_t pdg, PndSmpCand *c0, PndSmpCand *c1, PndSmpCand *c2=0, PndSmpCand *c3=0, PndSmpCand *c4=0)
Constructor from up to 5 daughter pointers. Calls CombCand.
Bool_t operator==(const PndSmpCand &c1) const
Overload of == operator needed to compare std::vectors of candidates.
PndSmpCand(Int_t pdg, PndSmpCand &c0, PndSmpCand &c1)
Constructor from 2 daughters. Calls CombCand.
int uid(int lev, int lrun, int lmode)
PndSmpCand()
Default constructor.
Bool_t Overlap(PndSmpCand &c)
void SetP4(TLorentzVector p4)
Sets LorentzVector.
Bool_t operator!=(const PndSmpCand &c1) const
Overload of == operator needed to compare std::vectors of candidates.
Bool_t Overlap(PndSmpCand *c)
PndSmpCand(Int_t pdg, PndSmpCand &c0, PndSmpCand &c1, PndSmpCand &c2, PndSmpCand &c3)
Constructor from 4 daughters. Calls CombCand.
PndSmpCand(Int_t pdg, PndSmpCand &c0, PndSmpCand &c1, PndSmpCand &c2)
Constructor from 3 daughters. Calls CombCand.
PndSmpCand * Dau(Int_t idx)
PndSmpCand(Int_t pdg, PndSmpCand &c0, PndSmpCand &c1, PndSmpCand &c2, PndSmpCand &c3, PndSmpCand &c4)
Constructor from 5 daughters. Calls CombCand.
Simple particle candidate to perform simple combinatorics and particle counting for event filtering...