![]() |
PandaRoot
|
#include <RhoCandidate.h>
Public Member Functions | |
RhoCandidate () | |
RhoCandidate (const TLorentzVector &v, Double_t charge=0, RhoVector3Err *vp=nullptr) | |
RhoCandidate (const TVector3 &v, const TParticlePDG *pdt, RhoVector3Err *vp=nullptr) | |
RhoCandidate (const RhoCandidate &) | |
RhoCandidate (PndPidCandidate &a, Int_t n) | |
RhoCandidate (PndPidCandidate &a, Int_t n, RhoVector3Err &vp, Bool_t fast=kFALSE) | |
virtual | ~RhoCandidate () |
Double_t | Mass () const |
Double_t | GetMass () const |
const TParticlePDG * | PdtEntry () const |
int | PdgCode () |
Double_t | GetCharge () const |
Double_t | Charge () const |
TVector3 | GetPosition () const |
TVector3 | Pos () const |
TVector3 | GetDecayPos () const |
TVector3 | GetMomentum () const |
TVector3 | GetVect () const |
Double_t | Px () const |
Double_t | Py () const |
Double_t | Pz () const |
RhoVector3Err | PosWCov () const |
RhoError | PosCov () const |
TLorentzVector | P4 () const |
RhoError | P4Cov () const |
RhoError | P4Err () const |
RhoLorentzVectorErr | P4WErr () const |
TVector3 | P3 () const |
RhoError | P3Cov () const |
RhoVector3Err | P3WErr () const |
Double_t | E () const |
Double_t | Energy () const |
Double_t | GetEnergy () const |
Float_t * | GetErrP7 () |
Double_t | EVar () const |
Double_t | M () const |
Double_t | P () const |
TMatrixD | Cov7 () const |
TMatrixD | XPCov () const |
Double_t | Pt () const |
TMatrixD | GetDecayPosCov () const |
void | SetType (const TParticlePDG *pdt) |
void | SetType (const char *name) |
void | SetType (int pdgcode) |
void | SetCharge (Double_t charge) |
void | SetMass (Double_t mass) |
void | SetEnergy (Double_t newE) |
void | SetE (Double_t energy) |
void | SetMassAndEnergy (Double_t mass, Double_t energy) |
void | SetPosition (const TVector3 &pos) |
void | SetPos (const TVector3 &pos) |
void | SetMomentum (Double_t newP) |
void | SetP3 (const TVector3 &p3) |
void | SetVect (const TVector3 &p3) |
void | SetP4 (Double_t mass, const TVector3 &p3) |
void | SetP4 (const TLorentzVector &p4) |
void | SetP7 (const TVector3 &pos, const TLorentzVector &p4) |
void | SetCovPos (const TMatrixD &covPos) |
void | SetCovP4 (const TMatrixD &covP4) |
void | SetCov7 (const TMatrixD &cov7) |
void | SetCov7 (const TMatrixD &covPos, const TMatrixD &covP4) |
void | SetCov7 (const TMatrixD &covPos, const TMatrixD &covP4, const TMatrixD &covPosP4) |
void | Set (const TVector3 &pos, const TLorentzVector &p4, const TMatrixD &cov7) |
void | Set (Double_t mass, const RhoVector3Err &posErr, const RhoVector3Err &p3Err, const TMatrixD &xpErr) |
void | SetErr (Float_t *err) |
void | SetRecoCandidate (PndPidCandidate µ) |
void | SetFly () |
void | SetNoFly () |
void | Boost (Double_t bx, Double_t by, Double_t bz) |
void | Boost (const TVector3 &p) |
const RhoCandidate * | TheMother () const |
RhoCandidate * | TheMother () |
Int_t | NDaughters () const |
RhoCandidate * | Daughter (Int_t n) |
void | RemoveAssociations () |
Bool_t | IsComposite () const |
Bool_t | IsAResonance () const |
RhoVector3Err | DecayVtx () |
Double_t | Chi2 () const |
void | SetChi2 (Double_t chi2) |
void | SetFit (RhoCandidate *b) |
RhoCandidate * | GetFit () const |
void | InvalidateFit () |
Bool_t | IsCloneOf (const RhoCandidate &, Bool_t checkType=kFALSE) const |
Bool_t | operator== (const RhoCandidate *) const |
Bool_t | operator!= (RhoCandidate *) const |
const RhoCandidate * | CloneInTree (const RhoCandidate &) const |
void | Lock () |
void | UnLock () |
Bool_t | IsLocked () |
TVector3 | Origin () const |
RhoCandidate & | operator= (const RhoCandidate &) |
void | PrintOn (std::ostream &o=std::cout) const |
void | SetFast (Bool_t yesno) |
Bool_t | IsFast () const |
PndPidCandidate * | GetRecoCandidate () const |
RhoCandidate * | Combine (RhoCandidate *c) |
RhoCandidate * | Combine (RhoCandidate *c1, RhoCandidate *c2) |
RhoCandidate * | Combine (RhoCandidate *c1, RhoCandidate *c2, RhoCandidate *c3) |
RhoCandidate * | Combine (RhoCandidate *c1, RhoCandidate *c2, RhoCandidate *c3, RhoCandidate *c4) |
RhoCandidate * | Combine (RhoCandidate *c1, RhoCandidate *c2, RhoCandidate *c3, RhoCandidate *c4, RhoCandidate *c5) |
RhoCandidate * | Combine (RhoCandidate *c1, RhoCandidate *c2, RhoCandidate *c3, RhoCandidate *c4, RhoCandidate *c5, RhoCandidate *c6) |
RhoCandidate * | Combine (RhoCandidate *c1, RhoCandidate *c2, RhoCandidate *c3, RhoCandidate *c4, RhoCandidate *c5, RhoCandidate *c6, RhoCandidate *c7) |
RhoCandidate * | Combine (RhoCandidate *c1, RhoCandidate *c2, RhoCandidate *c3, RhoCandidate *c4, RhoCandidate *c5, RhoCandidate *c6, RhoCandidate *c7, RhoCandidate *c8) |
RhoCandidate * | Combine (RhoCandidate *c1, RhoCandidate *c2, RhoCandidate *c3, RhoCandidate *c4, RhoCandidate *c5, RhoCandidate *c6, RhoCandidate *c7, RhoCandidate *c8, RhoCandidate *c9) |
RhoCandidate * | Combine (RhoCandidate *c1, RhoCandidate *c2, RhoCandidate *c3, RhoCandidate *c4, RhoCandidate *c5, RhoCandidate *c6, RhoCandidate *c7, RhoCandidate *c8, RhoCandidate *c9, RhoCandidate *c10) |
Bool_t | Overlaps (const RhoCandidate *c) const |
Bool_t | Equals (const RhoCandidate *c) const |
UInt_t | GetMarker (UInt_t m=0) const |
void | SetMarker (UInt_t l, UInt_t m) |
void | SetMarker (UInt_t n) |
Int_t | GetTrackNumber () const |
void | SetTrackNumber (Int_t trnum=-1) |
Int_t | Uid () const |
void | SetUid (UInt_t uid=0) |
void | SetPidInfo (double *pidinfo=nullptr) |
void | SetPidInfo (int hypo, double value) |
double | GetPidInfo (int hypo) |
const double * | GetPidInfo () const |
void | SetMcTruth (RhoCandidate *mct) |
RhoCandidate * | GetMcTruth () const |
Bool_t | IsLocal () const |
void | SetDecayVtx (RhoVector3Err theVtx) |
void | SetMotherLink (RhoCandidate *m, bool verbose=true) |
void | DropMotherLink () |
void | AddDaughterLinkSimple (const RhoCandidate *, bool verbose=true) |
void | RemoveDaughter (RhoCandidate *) |
Double_t | Correlation (Int_t x1, Int_t x2, const TMatrixD &m, const TMatrixD &cov) const |
Protected Attributes | |
Bool_t | fFastMode |
Bool_t | fLocked |
Do not stream. More... | |
RhoCandidate * | fTheMother |
Do not stream. More... | |
RhoVector3Err | fDecayVtx |
Do not stream. More... | |
const TParticlePDG * | fPdtEntry |
Vertex. More... | |
int | fPdgCode |
Pointer to particle database. More... | |
Bool_t | fIsAResonance |
PndPidCandidate * | fMicroCand |
Rsonance flag. More... | |
UInt_t | fTrackNumber |
UInt_t | fUid |
Micro association. More... | |
RhoCandidate * | fDaughters [MAXDAUG] |
unique number More... | |
Int_t | fNDaug |
List of Daughters. More... | |
Short_t | fNCons |
UInt_t | fMarker [4] |
Number of constraints. More... | |
double | fPidLH [30] |
Overlap. More... | |
Definition at line 42 of file RhoCandidate.h.
RhoCandidate::RhoCandidate | ( | ) |
Default ctor. Does not set particle type, etc.
RhoCandidate::RhoCandidate | ( | const TLorentzVector & | v, |
Double_t | charge = 0 , |
||
RhoVector3Err * | vp = nullptr |
||
) |
Ctor from a momentum vector, charge, and origin vertex. Does not set the particle type, but uses the mass from the argument 4vector.
v | A THepLorentzVector representing the 4momentum |
charge | The candidates charge, a Double_t so you can represent quarks |
vp | Pointer to the vertex where the candidate was created. The default zero value means to assume the origin |
RhoCandidate::RhoCandidate | ( | const TVector3 & | v, |
const TParticlePDG * | pdt, | ||
RhoVector3Err * | vp = nullptr |
||
) |
Ctor from a momentum vector, particle type, and origin vertex. The particle type to pion for charged, photon for neutrals
v | A TVector3 representing the momentum |
pdt | A pointer to a PdtEntry for the charge, type, etc. |
vp | Pointer to the vertex where the candidate was created. The default zero value means to assume the origin |
RhoCandidate::RhoCandidate | ( | const RhoCandidate & | ) |
Copy ctor
RhoCandidate::RhoCandidate | ( | PndPidCandidate & | a, |
Int_t | n | ||
) |
RhoCandidate::RhoCandidate | ( | PndPidCandidate & | a, |
Int_t | n, | ||
RhoVector3Err & | vp, | ||
Bool_t | fast = kFALSE |
||
) |
|
virtual |
void RhoCandidate::AddDaughterLinkSimple | ( | const RhoCandidate * | , |
bool | verbose = true |
||
) |
Referenced by IsLocal().
void RhoCandidate::Boost | ( | Double_t | bx, |
Double_t | by, | ||
Double_t | bz | ||
) |
Referenced by SetRecoCandidate().
|
inline |
Definition at line 259 of file RhoCandidate.h.
References Boost().
Referenced by Boost().
|
inline |
Definition at line 174 of file RhoCandidate.h.
|
inline |
Definition at line 284 of file RhoCandidate.h.
const RhoCandidate* RhoCandidate::CloneInTree | ( | const RhoCandidate & | ) | const |
Referenced by GetFit().
RhoCandidate* RhoCandidate::Combine | ( | RhoCandidate * | c | ) |
Referenced by GetRecoCandidate().
RhoCandidate* RhoCandidate::Combine | ( | RhoCandidate * | c1, |
RhoCandidate * | c2 | ||
) |
RhoCandidate* RhoCandidate::Combine | ( | RhoCandidate * | c1, |
RhoCandidate * | c2, | ||
RhoCandidate * | c3 | ||
) |
RhoCandidate* RhoCandidate::Combine | ( | RhoCandidate * | c1, |
RhoCandidate * | c2, | ||
RhoCandidate * | c3, | ||
RhoCandidate * | c4 | ||
) |
RhoCandidate* RhoCandidate::Combine | ( | RhoCandidate * | c1, |
RhoCandidate * | c2, | ||
RhoCandidate * | c3, | ||
RhoCandidate * | c4, | ||
RhoCandidate * | c5 | ||
) |
RhoCandidate* RhoCandidate::Combine | ( | RhoCandidate * | c1, |
RhoCandidate * | c2, | ||
RhoCandidate * | c3, | ||
RhoCandidate * | c4, | ||
RhoCandidate * | c5, | ||
RhoCandidate * | c6 | ||
) |
RhoCandidate* RhoCandidate::Combine | ( | RhoCandidate * | c1, |
RhoCandidate * | c2, | ||
RhoCandidate * | c3, | ||
RhoCandidate * | c4, | ||
RhoCandidate * | c5, | ||
RhoCandidate * | c6, | ||
RhoCandidate * | c7 | ||
) |
RhoCandidate* RhoCandidate::Combine | ( | RhoCandidate * | c1, |
RhoCandidate * | c2, | ||
RhoCandidate * | c3, | ||
RhoCandidate * | c4, | ||
RhoCandidate * | c5, | ||
RhoCandidate * | c6, | ||
RhoCandidate * | c7, | ||
RhoCandidate * | c8 | ||
) |
RhoCandidate* RhoCandidate::Combine | ( | RhoCandidate * | c1, |
RhoCandidate * | c2, | ||
RhoCandidate * | c3, | ||
RhoCandidate * | c4, | ||
RhoCandidate * | c5, | ||
RhoCandidate * | c6, | ||
RhoCandidate * | c7, | ||
RhoCandidate * | c8, | ||
RhoCandidate * | c9 | ||
) |
RhoCandidate* RhoCandidate::Combine | ( | RhoCandidate * | c1, |
RhoCandidate * | c2, | ||
RhoCandidate * | c3, | ||
RhoCandidate * | c4, | ||
RhoCandidate * | c5, | ||
RhoCandidate * | c6, | ||
RhoCandidate * | c7, | ||
RhoCandidate * | c8, | ||
RhoCandidate * | c9, | ||
RhoCandidate * | c10 | ||
) |
Double_t RhoCandidate::Correlation | ( | Int_t | x1, |
Int_t | x2, | ||
const TMatrixD & | m, | ||
const TMatrixD & | cov | ||
) | const |
Referenced by IsLocal().
TMatrixD RhoCandidate::Cov7 | ( | ) | const |
Referenced by GetErrP7().
RhoCandidate* RhoCandidate::Daughter | ( | Int_t | n | ) |
Referenced by TheMother().
|
inline |
void RhoCandidate::DropMotherLink | ( | ) |
Referenced by IsLocal().
|
inline |
Definition at line 192 of file RhoCandidate.h.
|
inline |
Definition at line 193 of file RhoCandidate.h.
|
inline |
Double_t RhoCandidate::EVar | ( | ) | const |
Referenced by GetErrP7().
|
inline |
Definition at line 173 of file RhoCandidate.h.
|
inline |
Definition at line 177 of file RhoCandidate.h.
|
inline |
Definition at line 202 of file RhoCandidate.h.
References RhoVector3Err::CovMatrix(), and SetType().
|
inline |
Definition at line 194 of file RhoCandidate.h.
|
inline |
|
inline |
Definition at line 287 of file RhoCandidate.h.
References CloneInTree(), InvalidateFit(), IsCloneOf(), operator!=(), and operator==().
Referenced by DecayTreeFitter::Fitter::fitParams().
|
inline |
|
inline |
Definition at line 160 of file RhoCandidate.h.
References Mass(), and PdtEntry().
|
inline |
Definition at line 432 of file RhoCandidate.h.
|
inline |
Definition at line 178 of file RhoCandidate.h.
Referenced by P3().
double RhoCandidate::GetPidInfo | ( | int | hypo | ) |
const double* RhoCandidate::GetPidInfo | ( | ) | const |
Referenced by Uid().
|
inline |
Definition at line 175 of file RhoCandidate.h.
Referenced by Pos().
|
inline |
|
inline |
|
inline |
Definition at line 179 of file RhoCandidate.h.
void RhoCandidate::InvalidateFit | ( | ) |
Referenced by GetFit().
Bool_t RhoCandidate::IsAResonance | ( | ) | const |
Referenced by TheMother().
Bool_t RhoCandidate::IsCloneOf | ( | const RhoCandidate & | , |
Bool_t | checkType = kFALSE |
||
) | const |
Referenced by GetFit().
Bool_t RhoCandidate::IsComposite | ( | ) | const |
Referenced by TheMother().
|
inline |
|
inline |
Definition at line 434 of file RhoCandidate.h.
References AddDaughterLinkSimple(), Correlation(), DropMotherLink(), operator<<(), RemoveDaughter(), SetDecayVtx(), and SetMotherLink().
|
inline |
Definition at line 324 of file RhoCandidate.h.
References fLocked, operator=(), Origin(), and PrintOn().
|
inline |
Definition at line 322 of file RhoCandidate.h.
Double_t RhoCandidate::M | ( | ) | const |
Referenced by GetErrP7().
Double_t RhoCandidate::Mass | ( | ) | const |
Referenced by GetMass().
Int_t RhoCandidate::NDaughters | ( | ) | const |
Referenced by DecayTreeFitter::sortByType(), and TheMother().
Bool_t RhoCandidate::operator!= | ( | RhoCandidate * | ) | const |
Referenced by GetFit().
RhoCandidate& RhoCandidate::operator= | ( | const RhoCandidate & | ) |
Referenced by IsLocked().
Bool_t RhoCandidate::operator== | ( | const RhoCandidate * | ) | const |
Referenced by GetFit().
TVector3 RhoCandidate::Origin | ( | ) | const |
Referenced by IsLocked().
|
inline |
Double_t RhoCandidate::P | ( | ) | const |
Referenced by GetErrP7().
|
inline |
RhoVector3Err RhoCandidate::P3WErr | ( | ) | const |
Referenced by P3().
|
inline |
Definition at line 185 of file RhoCandidate.h.
References P4Cov().
Referenced by RhoBooster::SetBoostVector().
|
inline |
Definition at line 187 of file RhoCandidate.h.
References P4Cov(), and P4WErr().
RhoLorentzVectorErr RhoCandidate::P4WErr | ( | ) | const |
Referenced by P4Err().
|
inline |
const TParticlePDG* RhoCandidate::PdtEntry | ( | ) | const |
Referenced by GetMass().
|
inline |
Definition at line 176 of file RhoCandidate.h.
References GetPosition().
Referenced by DecayTreeFitter::RecoTrackStateProvider::state().
RhoVector3Err RhoCandidate::PosWCov | ( | ) | const |
Referenced by Pz().
void RhoCandidate::PrintOn | ( | std::ostream & | o = std::cout | ) | const |
Referenced by IsLocked().
|
inline |
Definition at line 201 of file RhoCandidate.h.
References CAMath::Sqrt().
Referenced by DecayTreeFitter::compTrkTransverseMomentum(), and DecayTreeFitter::sortByType().
|
inline |
Definition at line 180 of file RhoCandidate.h.
|
inline |
Definition at line 181 of file RhoCandidate.h.
|
inline |
Definition at line 182 of file RhoCandidate.h.
void RhoCandidate::RemoveAssociations | ( | ) |
Referenced by TheMother().
void RhoCandidate::RemoveDaughter | ( | RhoCandidate * | ) |
Referenced by IsLocal().
void RhoCandidate::Set | ( | const TVector3 & | pos, |
const TLorentzVector & | p4, | ||
const TMatrixD & | cov7 | ||
) |
Referenced by SetVect().
void RhoCandidate::Set | ( | Double_t | mass, |
const RhoVector3Err & | posErr, | ||
const RhoVector3Err & | p3Err, | ||
const TMatrixD & | xpErr | ||
) |
|
inline |
Definition at line 217 of file RhoCandidate.h.
References SetEnergy(), and SetMass().
|
inline |
Definition at line 285 of file RhoCandidate.h.
void RhoCandidate::SetCov7 | ( | const TMatrixD & | covPos, |
const TMatrixD & | covP4, | ||
const TMatrixD & | covPosP4 | ||
) |
void RhoCandidate::SetDecayVtx | ( | RhoVector3Err | theVtx | ) |
Referenced by IsLocal().
|
inline |
Definition at line 220 of file RhoCandidate.h.
References SetMassAndEnergy(), and SetPosition().
void RhoCandidate::SetEnergy | ( | Double_t | newE | ) |
Referenced by SetCharge().
|
inline |
|
inline |
Definition at line 367 of file RhoCandidate.h.
|
inline |
Definition at line 286 of file RhoCandidate.h.
void RhoCandidate::SetFly | ( | ) |
Referenced by SetRecoCandidate().
void RhoCandidate::SetMarker | ( | UInt_t | l, |
UInt_t | m | ||
) |
Referenced by GetMarker().
void RhoCandidate::SetMarker | ( | UInt_t | n | ) |
void RhoCandidate::SetMass | ( | Double_t | mass | ) |
Referenced by SetCharge().
void RhoCandidate::SetMassAndEnergy | ( | Double_t | mass, |
Double_t | energy | ||
) |
Referenced by SetE().
|
inline |
Definition at line 431 of file RhoCandidate.h.
void RhoCandidate::SetMomentum | ( | Double_t | newP | ) |
Referenced by SetPos().
void RhoCandidate::SetMotherLink | ( | RhoCandidate * | m, |
bool | verbose = true |
||
) |
Referenced by IsLocal().
void RhoCandidate::SetNoFly | ( | ) |
Referenced by SetRecoCandidate().
void RhoCandidate::SetP4 | ( | Double_t | mass, |
const TVector3 & | p3 | ||
) |
Referenced by SetVect().
void RhoCandidate::SetP4 | ( | const TLorentzVector & | p4 | ) |
void RhoCandidate::SetP7 | ( | const TVector3 & | pos, |
const TLorentzVector & | p4 | ||
) |
Referenced by SetVect().
void RhoCandidate::SetPidInfo | ( | double * | pidinfo = nullptr | ) |
Referenced by Uid().
void RhoCandidate::SetPidInfo | ( | int | hypo, |
double | value | ||
) |
|
inline |
Definition at line 223 of file RhoCandidate.h.
References SetMomentum(), SetP3(), and SetPosition().
|
inline |
|
inline |
Definition at line 415 of file RhoCandidate.h.
void RhoCandidate::SetType | ( | const TParticlePDG * | pdt | ) |
Referenced by GetDecayPosCov().
void RhoCandidate::SetType | ( | const char * | name | ) |
void RhoCandidate::SetType | ( | int | pdgcode | ) |
void RhoCandidate::SetUid | ( | UInt_t | uid = 0 | ) |
Referenced by Uid().
|
inline |
Definition at line 226 of file RhoCandidate.h.
References Set(), SetCov7(), SetCovP4(), SetCovPos(), SetP3(), SetP4(), and SetP7().
|
inline |
|
inline |
Definition at line 267 of file RhoCandidate.h.
References Daughter(), fTheMother, IsAResonance(), IsComposite(), NDaughters(), and RemoveAssociations().
|
inline |
Definition at line 416 of file RhoCandidate.h.
References fUid, GetPidInfo(), SetPidInfo(), and SetUid().
Referenced by RhoFitterBase::InsertChi2().
|
inline |
Definition at line 323 of file RhoCandidate.h.
TMatrixD RhoCandidate::XPCov | ( | ) | const |
Referenced by GetErrP7().
|
protected |
unique number
Definition at line 78 of file RhoCandidate.h.
|
protected |
|
protected |
Definition at line 50 of file RhoCandidate.h.
Referenced by IsFast().
|
protected |
Definition at line 65 of file RhoCandidate.h.
|
protected |
|
protected |
Number of constraints.
Definition at line 84 of file RhoCandidate.h.
Referenced by Equals(), and Overlaps().
|
protected |
|
protected |
Definition at line 82 of file RhoCandidate.h.
|
protected |
List of Daughters.
Definition at line 79 of file RhoCandidate.h.
|
protected |
Pointer to particle database.
Definition at line 62 of file RhoCandidate.h.
Referenced by PdgCode().
|
protected |
Vertex.
Definition at line 61 of file RhoCandidate.h.
|
protected |
Overlap.
Definition at line 87 of file RhoCandidate.h.
|
protected |
|
protected |
Definition at line 73 of file RhoCandidate.h.
Referenced by GetTrackNumber().
|
protected |