![]() |
PandaRoot
|
Simple particle candidate to perform simple combinatorics and particle counting for event filtering. More...
#include <PndSmpCand.h>
Public Member Functions | |
PndSmpCand () | |
Default constructor. More... | |
PndSmpCand (TLorentzVector lv, Float_t chrg, Int_t pdg=0, Int_t uid=-1) | |
Constructor from Lorentz vector reference. More... | |
PndSmpCand (TLorentzVector *lv, Float_t chrg, Int_t pdg=0, Int_t uid=-1) | |
Constructor from pointer to Lorentz vector . More... | |
PndSmpCand (Int_t pdg, PndSmpCand &c0, PndSmpCand &c1) | |
Constructor from 2 daughters. Calls CombCand. More... | |
PndSmpCand (Int_t pdg, PndSmpCand &c0, PndSmpCand &c1, PndSmpCand &c2) | |
Constructor from 3 daughters. Calls CombCand. More... | |
PndSmpCand (Int_t pdg, PndSmpCand &c0, PndSmpCand &c1, PndSmpCand &c2, PndSmpCand &c3) | |
Constructor from 4 daughters. Calls CombCand. More... | |
PndSmpCand (Int_t pdg, PndSmpCand &c0, PndSmpCand &c1, PndSmpCand &c2, PndSmpCand &c3, PndSmpCand &c4) | |
Constructor from 5 daughters. Calls CombCand. More... | |
PndSmpCand (Int_t pdg, PndSmpCand *c0, PndSmpCand *c1, PndSmpCand *c2=nullptr, PndSmpCand *c3=nullptr, PndSmpCand *c4=nullptr) | |
Constructor from up to 5 daughter pointers. Calls CombCand. More... | |
void | SetP4 (TLorentzVector p4) |
Sets LorentzVector. More... | |
void | SetM (Double_t m) |
Sets mass (used for different mass hypotheses in filter. More... | |
void | SetCharge (Float_t ch) |
Sets charge. More... | |
Bool_t | operator== (const PndSmpCand &c1) const |
Overload of == operator needed to compare std::vectors of candidates. More... | |
Bool_t | operator!= (const PndSmpCand &c1) const |
Overload of == operator needed to compare std::vectors of candidates. More... | |
void | CombCand (Int_t pdg, PndSmpCand *c0, PndSmpCand *c1, PndSmpCand *c2=nullptr, PndSmpCand *c3=nullptr, PndSmpCand *c4=nullptr) |
Combines this candidate from several daughters (adds P4 and charges). More... | |
TLorentzVector | P4 () |
Float_t | Charge () |
Int_t | Pdg () |
Int_t | NDau () |
ULong_t | Marker () |
PndSmpCand * | Dau (Int_t idx) |
Bool_t | Overlap (PndSmpCand *c) |
Bool_t | Overlap (PndSmpCand &c) |
void | Print () |
Simple particle candidate to perform simple combinatorics and particle counting for event filtering.
This class defines a simple particle candidate, which allows simple combinatoric with overlap check and provides access to its internal 4-vector.
Definition at line 23 of file PndSmpCand.h.
|
inline |
PndSmpCand::PndSmpCand | ( | TLorentzVector | lv, |
Float_t | chrg, | ||
Int_t | pdg = 0 , |
||
Int_t | uid = -1 |
||
) |
Constructor from Lorentz vector reference.
PndSmpCand::PndSmpCand | ( | TLorentzVector * | lv, |
Float_t | chrg, | ||
Int_t | pdg = 0 , |
||
Int_t | uid = -1 |
||
) |
Constructor from pointer to Lorentz vector .
|
inline |
Constructor from 2 daughters. Calls CombCand.
Definition at line 36 of file PndSmpCand.h.
References CombCand().
|
inline |
Constructor from 3 daughters. Calls CombCand.
Definition at line 38 of file PndSmpCand.h.
References CombCand().
|
inline |
Constructor from 4 daughters. Calls CombCand.
Definition at line 40 of file PndSmpCand.h.
References CombCand().
|
inline |
Constructor from 5 daughters. Calls CombCand.
Definition at line 42 of file PndSmpCand.h.
References CombCand().
|
inline |
Constructor from up to 5 daughter pointers. Calls CombCand.
Definition at line 45 of file PndSmpCand.h.
References CombCand().
|
inline |
Definition at line 65 of file PndSmpCand.h.
void PndSmpCand::CombCand | ( | Int_t | pdg, |
PndSmpCand * | c0, | ||
PndSmpCand * | c1, | ||
PndSmpCand * | c2 = nullptr , |
||
PndSmpCand * | c3 = nullptr , |
||
PndSmpCand * | c4 = nullptr |
||
) |
Combines this candidate from several daughters (adds P4 and charges).
Referenced by operator!=(), and PndSmpCand().
|
inline |
Definition at line 69 of file PndSmpCand.h.
|
inline |
Definition at line 68 of file PndSmpCand.h.
|
inline |
Definition at line 67 of file PndSmpCand.h.
|
inline |
Overload of == operator needed to compare std::vectors of candidates.
Definition at line 59 of file PndSmpCand.h.
References CombCand().
|
inline |
Overload of == operator needed to compare std::vectors of candidates.
Definition at line 57 of file PndSmpCand.h.
|
inline |
Definition at line 76 of file PndSmpCand.h.
|
inline |
|
inline |
Definition at line 64 of file PndSmpCand.h.
|
inline |
Definition at line 66 of file PndSmpCand.h.
void PndSmpCand::Print | ( | ) |
Referenced by Overlap().
|
inline |
|
inline |
Sets mass (used for different mass hypotheses in filter.
Definition at line 51 of file PndSmpCand.h.
References m.
|
inline |