PandaRoot
RhoCandidate Class Reference

#include <RhoCandidate.h>

Inheritance diagram for RhoCandidate:

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 &micro)
 
void SetFly ()
 
void SetNoFly ()
 
void Boost (Double_t bx, Double_t by, Double_t bz)
 
void Boost (const TVector3 &p)
 
const RhoCandidateTheMother () const
 
RhoCandidateTheMother ()
 
Int_t NDaughters () const
 
RhoCandidateDaughter (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)
 
RhoCandidateGetFit () 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 RhoCandidateCloneInTree (const RhoCandidate &) const
 
void Lock ()
 
void UnLock ()
 
Bool_t IsLocked ()
 
TVector3 Origin () const
 
RhoCandidateoperator= (const RhoCandidate &)
 
void PrintOn (std::ostream &o=std::cout) const
 
void SetFast (Bool_t yesno)
 
Bool_t IsFast () const
 
PndPidCandidateGetRecoCandidate () const
 
RhoCandidateCombine (RhoCandidate *c)
 
RhoCandidateCombine (RhoCandidate *c1, RhoCandidate *c2)
 
RhoCandidateCombine (RhoCandidate *c1, RhoCandidate *c2, RhoCandidate *c3)
 
RhoCandidateCombine (RhoCandidate *c1, RhoCandidate *c2, RhoCandidate *c3, RhoCandidate *c4)
 
RhoCandidateCombine (RhoCandidate *c1, RhoCandidate *c2, RhoCandidate *c3, RhoCandidate *c4, RhoCandidate *c5)
 
RhoCandidateCombine (RhoCandidate *c1, RhoCandidate *c2, RhoCandidate *c3, RhoCandidate *c4, RhoCandidate *c5, RhoCandidate *c6)
 
RhoCandidateCombine (RhoCandidate *c1, RhoCandidate *c2, RhoCandidate *c3, RhoCandidate *c4, RhoCandidate *c5, RhoCandidate *c6, RhoCandidate *c7)
 
RhoCandidateCombine (RhoCandidate *c1, RhoCandidate *c2, RhoCandidate *c3, RhoCandidate *c4, RhoCandidate *c5, RhoCandidate *c6, RhoCandidate *c7, RhoCandidate *c8)
 
RhoCandidateCombine (RhoCandidate *c1, RhoCandidate *c2, RhoCandidate *c3, RhoCandidate *c4, RhoCandidate *c5, RhoCandidate *c6, RhoCandidate *c7, RhoCandidate *c8, RhoCandidate *c9)
 
RhoCandidateCombine (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)
 
RhoCandidateGetMcTruth () 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...
 
RhoCandidatefTheMother
 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
 
PndPidCandidatefMicroCand
 Rsonance flag. More...
 
UInt_t fTrackNumber
 
UInt_t fUid
 Micro association. More...
 
RhoCandidatefDaughters [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...
 

Detailed Description

Definition at line 42 of file RhoCandidate.h.

Constructor & Destructor Documentation

◆ RhoCandidate() [1/6]

RhoCandidate::RhoCandidate ( )

Default ctor. Does not set particle type, etc.

◆ RhoCandidate() [2/6]

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.

Parameters
vA THepLorentzVector representing the 4momentum
chargeThe candidates charge, a Double_t so you can represent quarks
vpPointer to the vertex where the candidate was created. The default zero value means to assume the origin

◆ RhoCandidate() [3/6]

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

Parameters
vA TVector3 representing the momentum
pdtA pointer to a PdtEntry for the charge, type, etc.
vpPointer to the vertex where the candidate was created. The default zero value means to assume the origin

◆ RhoCandidate() [4/6]

RhoCandidate::RhoCandidate ( const RhoCandidate )

Copy ctor

◆ RhoCandidate() [5/6]

RhoCandidate::RhoCandidate ( PndPidCandidate a,
Int_t  n 
)

◆ RhoCandidate() [6/6]

RhoCandidate::RhoCandidate ( PndPidCandidate a,
Int_t  n,
RhoVector3Err vp,
Bool_t  fast = kFALSE 
)

◆ ~RhoCandidate()

virtual RhoCandidate::~RhoCandidate ( )
virtual

Member Function Documentation

◆ AddDaughterLinkSimple()

void RhoCandidate::AddDaughterLinkSimple ( const RhoCandidate ,
bool  verbose = true 
)

Referenced by IsLocal().

◆ Boost() [1/2]

void RhoCandidate::Boost ( Double_t  bx,
Double_t  by,
Double_t  bz 
)

Referenced by SetRecoCandidate().

◆ Boost() [2/2]

void RhoCandidate::Boost ( const TVector3 &  p)
inline

Definition at line 259 of file RhoCandidate.h.

References Boost().

Referenced by Boost().

259 { Boost(p.X(), p.Y(), p.Z()); }
void Boost(Double_t bx, Double_t by, Double_t bz)

◆ Charge()

Double_t RhoCandidate::Charge ( ) const
inline

Definition at line 174 of file RhoCandidate.h.

174 { return fCharge; }

◆ Chi2()

Double_t RhoCandidate::Chi2 ( ) const
inline

Definition at line 284 of file RhoCandidate.h.

284 { return fChi2; }

◆ CloneInTree()

const RhoCandidate* RhoCandidate::CloneInTree ( const RhoCandidate ) const

Referenced by GetFit().

◆ Combine() [1/10]

RhoCandidate* RhoCandidate::Combine ( RhoCandidate c)

Referenced by GetRecoCandidate().

◆ Combine() [2/10]

RhoCandidate* RhoCandidate::Combine ( RhoCandidate c1,
RhoCandidate c2 
)

◆ Combine() [3/10]

RhoCandidate* RhoCandidate::Combine ( RhoCandidate c1,
RhoCandidate c2,
RhoCandidate c3 
)

◆ Combine() [4/10]

RhoCandidate* RhoCandidate::Combine ( RhoCandidate c1,
RhoCandidate c2,
RhoCandidate c3,
RhoCandidate c4 
)

◆ Combine() [5/10]

RhoCandidate* RhoCandidate::Combine ( RhoCandidate c1,
RhoCandidate c2,
RhoCandidate c3,
RhoCandidate c4,
RhoCandidate c5 
)

◆ Combine() [6/10]

RhoCandidate* RhoCandidate::Combine ( RhoCandidate c1,
RhoCandidate c2,
RhoCandidate c3,
RhoCandidate c4,
RhoCandidate c5,
RhoCandidate c6 
)

◆ Combine() [7/10]

RhoCandidate* RhoCandidate::Combine ( RhoCandidate c1,
RhoCandidate c2,
RhoCandidate c3,
RhoCandidate c4,
RhoCandidate c5,
RhoCandidate c6,
RhoCandidate c7 
)

◆ Combine() [8/10]

RhoCandidate* RhoCandidate::Combine ( RhoCandidate c1,
RhoCandidate c2,
RhoCandidate c3,
RhoCandidate c4,
RhoCandidate c5,
RhoCandidate c6,
RhoCandidate c7,
RhoCandidate c8 
)

◆ Combine() [9/10]

RhoCandidate* RhoCandidate::Combine ( RhoCandidate c1,
RhoCandidate c2,
RhoCandidate c3,
RhoCandidate c4,
RhoCandidate c5,
RhoCandidate c6,
RhoCandidate c7,
RhoCandidate c8,
RhoCandidate c9 
)

◆ Combine() [10/10]

RhoCandidate* RhoCandidate::Combine ( RhoCandidate c1,
RhoCandidate c2,
RhoCandidate c3,
RhoCandidate c4,
RhoCandidate c5,
RhoCandidate c6,
RhoCandidate c7,
RhoCandidate c8,
RhoCandidate c9,
RhoCandidate c10 
)

◆ Correlation()

Double_t RhoCandidate::Correlation ( Int_t  x1,
Int_t  x2,
const TMatrixD m,
const TMatrixD cov 
) const

Referenced by IsLocal().

◆ Cov7()

TMatrixD RhoCandidate::Cov7 ( ) const

Referenced by GetErrP7().

◆ Daughter()

RhoCandidate* RhoCandidate::Daughter ( Int_t  n)

Referenced by TheMother().

◆ DecayVtx()

RhoVector3Err RhoCandidate::DecayVtx ( )
inline

Definition at line 282 of file RhoCandidate.h.

References fDecayVtx.

282 { return fDecayVtx; };
RhoVector3Err fDecayVtx
Do not stream.
Definition: RhoCandidate.h:58

◆ DropMotherLink()

void RhoCandidate::DropMotherLink ( )

Referenced by IsLocal().

◆ E()

Double_t RhoCandidate::E ( ) const
inline

Definition at line 192 of file RhoCandidate.h.

192 { return fEnergy; }

◆ Energy()

Double_t RhoCandidate::Energy ( ) const
inline

Definition at line 193 of file RhoCandidate.h.

193 { return fEnergy; }

◆ Equals()

Bool_t RhoCandidate::Equals ( const RhoCandidate c) const
inline

Definition at line 397 of file RhoCandidate.h.

References fMarker.

398  {
399  return ((fMarker[0] == c->fMarker[0]) && (fMarker[1] == c->fMarker[1]) && (fMarker[2] == c->fMarker[2]) && (fMarker[3] == c->fMarker[3]));
400  }
UInt_t fMarker[4]
Number of constraints.
Definition: RhoCandidate.h:84

◆ EVar()

Double_t RhoCandidate::EVar ( ) const

Referenced by GetErrP7().

◆ GetCharge()

Double_t RhoCandidate::GetCharge ( ) const
inline

Definition at line 173 of file RhoCandidate.h.

173 { return fCharge; }

◆ GetDecayPos()

TVector3 RhoCandidate::GetDecayPos ( ) const
inline

Definition at line 177 of file RhoCandidate.h.

177 { return TVector3(fDecayVtx); } // position of decay (set by vertexing, if applicable)
RhoVector3Err fDecayVtx
Do not stream.
Definition: RhoCandidate.h:58

◆ GetDecayPosCov()

TMatrixD RhoCandidate::GetDecayPosCov ( ) const
inline

Definition at line 202 of file RhoCandidate.h.

References RhoVector3Err::CovMatrix(), and SetType().

202 { return TMatrixD(fDecayVtx.CovMatrix()); }
RhoVector3Err fDecayVtx
Do not stream.
Definition: RhoCandidate.h:58
const RhoError & CovMatrix() const
Definition: RhoVector3Err.h:56
TMatrixT< double > TMatrixD
Definition: PndLmdDim.h:52

◆ GetEnergy()

Double_t RhoCandidate::GetEnergy ( ) const
inline

Definition at line 194 of file RhoCandidate.h.

194 { return fEnergy; }

◆ GetErrP7()

Float_t* RhoCandidate::GetErrP7 ( )
inline

Definition at line 195 of file RhoCandidate.h.

References Cov7(), EVar(), M(), P(), and XPCov().

195 { return fErrP7; }

◆ GetFit()

RhoCandidate* RhoCandidate::GetFit ( ) const
inline

Definition at line 287 of file RhoCandidate.h.

References CloneInTree(), InvalidateFit(), IsCloneOf(), operator!=(), and operator==().

Referenced by DecayTreeFitter::Fitter::fitParams().

287 { return fFit; }

◆ GetMarker()

UInt_t RhoCandidate::GetMarker ( UInt_t  m = 0) const
inline

Definition at line 402 of file RhoCandidate.h.

References m, and SetMarker().

403  {
404  if (m < 4) {
405  return fMarker[m];
406  } else {
407  return 0;
408  }
409  }
__m128 m
Definition: P4_F32vec4.h:26
UInt_t fMarker[4]
Number of constraints.
Definition: RhoCandidate.h:84

◆ GetMass()

Double_t RhoCandidate::GetMass ( ) const
inline

Definition at line 160 of file RhoCandidate.h.

References Mass(), and PdtEntry().

160 { return Mass(); }
Double_t Mass() const

◆ GetMcTruth()

RhoCandidate* RhoCandidate::GetMcTruth ( ) const
inline

Definition at line 432 of file RhoCandidate.h.

432 { return fMcTruth; }

◆ GetMomentum()

TVector3 RhoCandidate::GetMomentum ( ) const
inline

Definition at line 178 of file RhoCandidate.h.

Referenced by P3().

178 { return TVector3(fXmomentum, fYmomentum, fZmomentum); }

◆ GetPidInfo() [1/2]

double RhoCandidate::GetPidInfo ( int  hypo)

◆ GetPidInfo() [2/2]

const double* RhoCandidate::GetPidInfo ( ) const

Referenced by Uid().

◆ GetPosition()

TVector3 RhoCandidate::GetPosition ( ) const
inline

Definition at line 175 of file RhoCandidate.h.

Referenced by Pos().

175 { return TVector3(fXposition, fYposition, fZposition); }

◆ GetRecoCandidate()

PndPidCandidate* RhoCandidate::GetRecoCandidate ( ) const
inline

Definition at line 370 of file RhoCandidate.h.

References Combine(), and fMicroCand.

370 { return fMicroCand; }
PndPidCandidate * fMicroCand
Rsonance flag.
Definition: RhoCandidate.h:71

◆ GetTrackNumber()

Int_t RhoCandidate::GetTrackNumber ( ) const
inline

Definition at line 414 of file RhoCandidate.h.

References fTrackNumber.

414 { return fTrackNumber; }
UInt_t fTrackNumber
Definition: RhoCandidate.h:73

◆ GetVect()

TVector3 RhoCandidate::GetVect ( ) const
inline

Definition at line 179 of file RhoCandidate.h.

179 { return TVector3(fXmomentum, fYmomentum, fZmomentum); }

◆ InvalidateFit()

void RhoCandidate::InvalidateFit ( )

Referenced by GetFit().

◆ IsAResonance()

Bool_t RhoCandidate::IsAResonance ( ) const

Referenced by TheMother().

◆ IsCloneOf()

Bool_t RhoCandidate::IsCloneOf ( const RhoCandidate ,
Bool_t  checkType = kFALSE 
) const

Referenced by GetFit().

◆ IsComposite()

Bool_t RhoCandidate::IsComposite ( ) const

Referenced by TheMother().

◆ IsFast()

Bool_t RhoCandidate::IsFast ( ) const
inline

Definition at line 368 of file RhoCandidate.h.

References fFastMode.

368 { return fFastMode; }
Bool_t fFastMode
Definition: RhoCandidate.h:50

◆ IsLocal()

Bool_t RhoCandidate::IsLocal ( ) const
inline

◆ IsLocked()

Bool_t RhoCandidate::IsLocked ( )
inline

Definition at line 324 of file RhoCandidate.h.

References fLocked, operator=(), Origin(), and PrintOn().

324 { return fLocked; }
Bool_t fLocked
Do not stream.
Definition: RhoCandidate.h:53

◆ Lock()

void RhoCandidate::Lock ( )
inline

Definition at line 322 of file RhoCandidate.h.

322 { fLocked = kTRUE; }
Bool_t fLocked
Do not stream.
Definition: RhoCandidate.h:53

◆ M()

Double_t RhoCandidate::M ( ) const

Referenced by GetErrP7().

◆ Mass()

Double_t RhoCandidate::Mass ( ) const

Referenced by GetMass().

◆ NDaughters()

Int_t RhoCandidate::NDaughters ( ) const

◆ operator!=()

Bool_t RhoCandidate::operator!= ( RhoCandidate ) const

Referenced by GetFit().

◆ operator=()

RhoCandidate& RhoCandidate::operator= ( const RhoCandidate )

Referenced by IsLocked().

◆ operator==()

Bool_t RhoCandidate::operator== ( const RhoCandidate ) const

Referenced by GetFit().

◆ Origin()

TVector3 RhoCandidate::Origin ( ) const

Referenced by IsLocked().

◆ Overlaps()

Bool_t RhoCandidate::Overlaps ( const RhoCandidate c) const
inline

Definition at line 392 of file RhoCandidate.h.

References fMarker.

393  {
394  return ((fMarker[0] & c->fMarker[0]) != 0 || (fMarker[1] & c->fMarker[1]) != 0 || (fMarker[2] & c->fMarker[2]) != 0 || (fMarker[3] & c->fMarker[3]) != 0);
395  }
UInt_t fMarker[4]
Number of constraints.
Definition: RhoCandidate.h:84

◆ P()

Double_t RhoCandidate::P ( ) const

Referenced by GetErrP7().

◆ P3()

TVector3 RhoCandidate::P3 ( ) const
inline

Definition at line 189 of file RhoCandidate.h.

References GetMomentum(), P3Cov(), and P3WErr().

189 { return GetMomentum(); }
TVector3 GetMomentum() const
Definition: RhoCandidate.h:178

◆ P3Cov()

RhoError RhoCandidate::P3Cov ( ) const

Referenced by P3().

◆ P3WErr()

RhoVector3Err RhoCandidate::P3WErr ( ) const

Referenced by P3().

◆ P4()

TLorentzVector RhoCandidate::P4 ( ) const
inline

Definition at line 185 of file RhoCandidate.h.

References P4Cov().

Referenced by RhoBooster::SetBoostVector().

185 { return TLorentzVector(fXmomentum, fYmomentum, fZmomentum, fEnergy); }

◆ P4Cov()

RhoError RhoCandidate::P4Cov ( ) const

Referenced by P4(), and P4Err().

◆ P4Err()

RhoError RhoCandidate::P4Err ( ) const
inline

Definition at line 187 of file RhoCandidate.h.

References P4Cov(), and P4WErr().

187 { return P4Cov(); }
RhoError P4Cov() const

◆ P4WErr()

RhoLorentzVectorErr RhoCandidate::P4WErr ( ) const

Referenced by P4Err().

◆ PdgCode()

int RhoCandidate::PdgCode ( )
inline

Definition at line 163 of file RhoCandidate.h.

References fPdgCode.

163 { return fPdgCode; }
int fPdgCode
Pointer to particle database.
Definition: RhoCandidate.h:62

◆ PdtEntry()

const TParticlePDG* RhoCandidate::PdtEntry ( ) const

Referenced by GetMass().

◆ Pos()

TVector3 RhoCandidate::Pos ( ) const
inline

Definition at line 176 of file RhoCandidate.h.

References GetPosition().

Referenced by DecayTreeFitter::RecoTrackStateProvider::state().

176 { return GetPosition(); } // Position where the fourmomentum is defined
TVector3 GetPosition() const
Definition: RhoCandidate.h:175

◆ PosCov()

RhoError RhoCandidate::PosCov ( ) const

Referenced by Pz().

◆ PosWCov()

RhoVector3Err RhoCandidate::PosWCov ( ) const

Referenced by Pz().

◆ PrintOn()

void RhoCandidate::PrintOn ( std::ostream &  o = std::cout) const

Referenced by IsLocked().

◆ Pt()

Double_t RhoCandidate::Pt ( ) const
inline

Definition at line 201 of file RhoCandidate.h.

References CAMath::Sqrt().

Referenced by DecayTreeFitter::compTrkTransverseMomentum(), and DecayTreeFitter::sortByType().

201 { return TMath::Sqrt(fXmomentum * fXmomentum + fYmomentum * fYmomentum); }
static T Sqrt(const T &x)
Definition: PndCAMath.h:45

◆ Px()

Double_t RhoCandidate::Px ( ) const
inline

Definition at line 180 of file RhoCandidate.h.

180 { return fXmomentum; }

◆ Py()

Double_t RhoCandidate::Py ( ) const
inline

Definition at line 181 of file RhoCandidate.h.

181 { return fYmomentum; }

◆ Pz()

Double_t RhoCandidate::Pz ( ) const
inline

Definition at line 182 of file RhoCandidate.h.

References PosCov(), and PosWCov().

182 { return fZmomentum; }

◆ RemoveAssociations()

void RhoCandidate::RemoveAssociations ( )

Referenced by TheMother().

◆ RemoveDaughter()

void RhoCandidate::RemoveDaughter ( RhoCandidate )

Referenced by IsLocal().

◆ Set() [1/2]

void RhoCandidate::Set ( const TVector3 &  pos,
const TLorentzVector &  p4,
const TMatrixD cov7 
)

Referenced by SetVect().

◆ Set() [2/2]

void RhoCandidate::Set ( Double_t  mass,
const RhoVector3Err posErr,
const RhoVector3Err p3Err,
const TMatrixD xpErr 
)

◆ SetCharge()

void RhoCandidate::SetCharge ( Double_t  charge)
inline

Definition at line 217 of file RhoCandidate.h.

References SetEnergy(), and SetMass().

217 { fCharge = (Char_t)charge; }

◆ SetChi2()

void RhoCandidate::SetChi2 ( Double_t  chi2)
inline

Definition at line 285 of file RhoCandidate.h.

285 { fChi2 = chi2; }

◆ SetCov7() [1/3]

void RhoCandidate::SetCov7 ( const TMatrixD cov7)

Referenced by SetVect().

◆ SetCov7() [2/3]

void RhoCandidate::SetCov7 ( const TMatrixD covPos,
const TMatrixD covP4 
)

◆ SetCov7() [3/3]

void RhoCandidate::SetCov7 ( const TMatrixD covPos,
const TMatrixD covP4,
const TMatrixD covPosP4 
)

◆ SetCovP4()

void RhoCandidate::SetCovP4 ( const TMatrixD covP4)

Referenced by SetVect().

◆ SetCovPos()

void RhoCandidate::SetCovPos ( const TMatrixD covPos)

Referenced by SetVect().

◆ SetDecayVtx()

void RhoCandidate::SetDecayVtx ( RhoVector3Err  theVtx)

Referenced by IsLocal().

◆ SetE()

void RhoCandidate::SetE ( Double_t  energy)
inline

Definition at line 220 of file RhoCandidate.h.

References SetMassAndEnergy(), and SetPosition().

220 { fEnergy = energy; }

◆ SetEnergy()

void RhoCandidate::SetEnergy ( Double_t  newE)

Referenced by SetCharge().

◆ SetErr()

void RhoCandidate::SetErr ( Float_t *  err)
inline

Definition at line 237 of file RhoCandidate.h.

References i, and MATRIXSIZE.

238  {
239  if (err != 0)
240  for (int i = 0; i < MATRIXSIZE; i++) {
241  fErrP7[i] = err[i];
242  }
243  }
unsigned int i
Definition: P4_F32vec4.h:21
#define MATRIXSIZE
Definition: RhoCandidate.h:36

◆ SetFast()

void RhoCandidate::SetFast ( Bool_t  yesno)
inline

Definition at line 367 of file RhoCandidate.h.

367 { fFastMode = yesno; }
Bool_t fFastMode
Definition: RhoCandidate.h:50

◆ SetFit()

void RhoCandidate::SetFit ( RhoCandidate b)
inline

Definition at line 286 of file RhoCandidate.h.

286 { fFit = b; }

◆ SetFly()

void RhoCandidate::SetFly ( )

Referenced by SetRecoCandidate().

◆ SetMarker() [1/2]

void RhoCandidate::SetMarker ( UInt_t  l,
UInt_t  m 
)

Referenced by GetMarker().

◆ SetMarker() [2/2]

void RhoCandidate::SetMarker ( UInt_t  n)

◆ SetMass()

void RhoCandidate::SetMass ( Double_t  mass)

Referenced by SetCharge().

◆ SetMassAndEnergy()

void RhoCandidate::SetMassAndEnergy ( Double_t  mass,
Double_t  energy 
)

Referenced by SetE().

◆ SetMcTruth()

void RhoCandidate::SetMcTruth ( RhoCandidate mct)
inline

Definition at line 431 of file RhoCandidate.h.

431 { fMcTruth = mct; }

◆ SetMomentum()

void RhoCandidate::SetMomentum ( Double_t  newP)

Referenced by SetPos().

◆ SetMotherLink()

void RhoCandidate::SetMotherLink ( RhoCandidate m,
bool  verbose = true 
)

Referenced by IsLocal().

◆ SetNoFly()

void RhoCandidate::SetNoFly ( )

Referenced by SetRecoCandidate().

◆ SetP3()

void RhoCandidate::SetP3 ( const TVector3 &  p3)

Referenced by SetPos(), and SetVect().

◆ SetP4() [1/2]

void RhoCandidate::SetP4 ( Double_t  mass,
const TVector3 &  p3 
)

Referenced by SetVect().

◆ SetP4() [2/2]

void RhoCandidate::SetP4 ( const TLorentzVector &  p4)

◆ SetP7()

void RhoCandidate::SetP7 ( const TVector3 &  pos,
const TLorentzVector &  p4 
)

Referenced by SetVect().

◆ SetPidInfo() [1/2]

void RhoCandidate::SetPidInfo ( double *  pidinfo = nullptr)

Referenced by Uid().

◆ SetPidInfo() [2/2]

void RhoCandidate::SetPidInfo ( int  hypo,
double  value 
)

◆ SetPos()

void RhoCandidate::SetPos ( const TVector3 &  pos)
inline

Definition at line 223 of file RhoCandidate.h.

References SetMomentum(), SetP3(), and SetPosition().

223 { SetPosition(pos); }
void SetPosition(const TVector3 &pos)

◆ SetPosition()

void RhoCandidate::SetPosition ( const TVector3 &  pos)

Referenced by SetE(), and SetPos().

◆ SetRecoCandidate()

void RhoCandidate::SetRecoCandidate ( PndPidCandidate micro)
inline

Definition at line 245 of file RhoCandidate.h.

References Boost(), SetFly(), and SetNoFly().

245 { fMicroCand = &micro; }
PndPidCandidate * fMicroCand
Rsonance flag.
Definition: RhoCandidate.h:71

◆ SetTrackNumber()

void RhoCandidate::SetTrackNumber ( Int_t  trnum = -1)
inline

Definition at line 415 of file RhoCandidate.h.

415 { fTrackNumber = trnum; };
UInt_t fTrackNumber
Definition: RhoCandidate.h:73

◆ SetType() [1/3]

void RhoCandidate::SetType ( const TParticlePDG *  pdt)

Referenced by GetDecayPosCov().

◆ SetType() [2/3]

void RhoCandidate::SetType ( const char *  name)

◆ SetType() [3/3]

void RhoCandidate::SetType ( int  pdgcode)

◆ SetUid()

void RhoCandidate::SetUid ( UInt_t  uid = 0)

Referenced by Uid().

◆ SetVect()

void RhoCandidate::SetVect ( const TVector3 &  p3)
inline

Definition at line 226 of file RhoCandidate.h.

References Set(), SetCov7(), SetCovP4(), SetCovPos(), SetP3(), SetP4(), and SetP7().

226 { SetP3(p3); }
void SetP3(const TVector3 &p3)

◆ TheMother() [1/2]

const RhoCandidate* RhoCandidate::TheMother ( ) const
inline

Definition at line 266 of file RhoCandidate.h.

References fTheMother.

266 { return fTheMother; }
RhoCandidate * fTheMother
Do not stream.
Definition: RhoCandidate.h:56

◆ TheMother() [2/2]

RhoCandidate* RhoCandidate::TheMother ( )
inline

Definition at line 267 of file RhoCandidate.h.

References Daughter(), fTheMother, IsAResonance(), IsComposite(), NDaughters(), and RemoveAssociations().

267 { return fTheMother; }
RhoCandidate * fTheMother
Do not stream.
Definition: RhoCandidate.h:56

◆ Uid()

Int_t RhoCandidate::Uid ( ) const
inline

Definition at line 416 of file RhoCandidate.h.

References fUid, GetPidInfo(), SetPidInfo(), and SetUid().

Referenced by RhoFitterBase::InsertChi2().

416 { return fUid; }
UInt_t fUid
Micro association.
Definition: RhoCandidate.h:74

◆ UnLock()

void RhoCandidate::UnLock ( )
inline

Definition at line 323 of file RhoCandidate.h.

323 { fLocked = kFALSE; }
Bool_t fLocked
Do not stream.
Definition: RhoCandidate.h:53

◆ XPCov()

TMatrixD RhoCandidate::XPCov ( ) const

Referenced by GetErrP7().

Member Data Documentation

◆ fDaughters

RhoCandidate* RhoCandidate::fDaughters[MAXDAUG]
protected

unique number

Definition at line 78 of file RhoCandidate.h.

◆ fDecayVtx

RhoVector3Err RhoCandidate::fDecayVtx
protected

Do not stream.

Definition at line 58 of file RhoCandidate.h.

Referenced by DecayVtx().

◆ fFastMode

Bool_t RhoCandidate::fFastMode
protected

Definition at line 50 of file RhoCandidate.h.

Referenced by IsFast().

◆ fIsAResonance

Bool_t RhoCandidate::fIsAResonance
protected

Definition at line 65 of file RhoCandidate.h.

◆ fLocked

Bool_t RhoCandidate::fLocked
protected

Do not stream.

Definition at line 53 of file RhoCandidate.h.

Referenced by IsLocked().

◆ fMarker

UInt_t RhoCandidate::fMarker[4]
protected

Number of constraints.

Definition at line 84 of file RhoCandidate.h.

Referenced by Equals(), and Overlaps().

◆ fMicroCand

PndPidCandidate* RhoCandidate::fMicroCand
protected

Rsonance flag.

Definition at line 71 of file RhoCandidate.h.

Referenced by GetRecoCandidate().

◆ fNCons

Short_t RhoCandidate::fNCons
protected

Definition at line 82 of file RhoCandidate.h.

◆ fNDaug

Int_t RhoCandidate::fNDaug
protected

List of Daughters.

Definition at line 79 of file RhoCandidate.h.

◆ fPdgCode

int RhoCandidate::fPdgCode
protected

Pointer to particle database.

Definition at line 62 of file RhoCandidate.h.

Referenced by PdgCode().

◆ fPdtEntry

const TParticlePDG* RhoCandidate::fPdtEntry
protected

Vertex.

Definition at line 61 of file RhoCandidate.h.

◆ fPidLH

double RhoCandidate::fPidLH[30]
protected

Overlap.

Definition at line 87 of file RhoCandidate.h.

◆ fTheMother

RhoCandidate* RhoCandidate::fTheMother
protected

Do not stream.

Definition at line 56 of file RhoCandidate.h.

Referenced by TheMother().

◆ fTrackNumber

UInt_t RhoCandidate::fTrackNumber
protected

Definition at line 73 of file RhoCandidate.h.

Referenced by GetTrackNumber().

◆ fUid

UInt_t RhoCandidate::fUid
protected

Micro association.

Definition at line 74 of file RhoCandidate.h.

Referenced by Uid().


The documentation for this class was generated from the following file: