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 54 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 271 of file RhoCandidate.h.

References Boost().

Referenced by Boost().

271 { 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 186 of file RhoCandidate.h.

186 { return fCharge; }

◆ Chi2()

Double_t RhoCandidate::Chi2 ( ) const
inline

Definition at line 296 of file RhoCandidate.h.

296 { 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 294 of file RhoCandidate.h.

References fDecayVtx.

294 { return fDecayVtx; };
RhoVector3Err fDecayVtx
Do not stream.
Definition: RhoCandidate.h:70

◆ DropMotherLink()

void RhoCandidate::DropMotherLink ( )

Referenced by IsLocal().

◆ E()

Double_t RhoCandidate::E ( ) const
inline

Definition at line 204 of file RhoCandidate.h.

204 { return fEnergy; }

◆ Energy()

Double_t RhoCandidate::Energy ( ) const
inline

Definition at line 205 of file RhoCandidate.h.

205 { return fEnergy; }

◆ Equals()

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

Definition at line 409 of file RhoCandidate.h.

References fMarker.

410  {
411  return ((fMarker[0] == c->fMarker[0]) && (fMarker[1] == c->fMarker[1]) && (fMarker[2] == c->fMarker[2]) && (fMarker[3] == c->fMarker[3]));
412  }
UInt_t fMarker[4]
Number of constraints.
Definition: RhoCandidate.h:96

◆ EVar()

Double_t RhoCandidate::EVar ( ) const

Referenced by GetErrP7().

◆ GetCharge()

Double_t RhoCandidate::GetCharge ( ) const
inline

Definition at line 185 of file RhoCandidate.h.

185 { return fCharge; }

◆ GetDecayPos()

TVector3 RhoCandidate::GetDecayPos ( ) const
inline

Definition at line 189 of file RhoCandidate.h.

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

◆ GetDecayPosCov()

TMatrixD RhoCandidate::GetDecayPosCov ( ) const
inline

Definition at line 214 of file RhoCandidate.h.

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

214 { return TMatrixD(fDecayVtx.CovMatrix()); }
RhoVector3Err fDecayVtx
Do not stream.
Definition: RhoCandidate.h:70
const RhoError & CovMatrix() const
Definition: RhoVector3Err.h:68
TMatrixT< double > TMatrixD
Definition: PndLmdDim.h:64

◆ GetEnergy()

Double_t RhoCandidate::GetEnergy ( ) const
inline

Definition at line 206 of file RhoCandidate.h.

206 { return fEnergy; }

◆ GetErrP7()

Float_t* RhoCandidate::GetErrP7 ( )
inline

Definition at line 207 of file RhoCandidate.h.

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

207 { return fErrP7; }

◆ GetFit()

RhoCandidate* RhoCandidate::GetFit ( ) const
inline

Definition at line 299 of file RhoCandidate.h.

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

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

299 { return fFit; }

◆ GetMarker()

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

Definition at line 414 of file RhoCandidate.h.

References m, and SetMarker().

415  {
416  if (m < 4) {
417  return fMarker[m];
418  } else {
419  return 0;
420  }
421  }
__m128 m
Definition: P4_F32vec4.h:38
UInt_t fMarker[4]
Number of constraints.
Definition: RhoCandidate.h:96

◆ GetMass()

Double_t RhoCandidate::GetMass ( ) const
inline

Definition at line 172 of file RhoCandidate.h.

References Mass(), and PdtEntry().

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

◆ GetMcTruth()

RhoCandidate* RhoCandidate::GetMcTruth ( ) const
inline

Definition at line 444 of file RhoCandidate.h.

444 { return fMcTruth; }

◆ GetMomentum()

TVector3 RhoCandidate::GetMomentum ( ) const
inline

Definition at line 190 of file RhoCandidate.h.

Referenced by P3().

190 { 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 187 of file RhoCandidate.h.

Referenced by Pos().

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

◆ GetRecoCandidate()

PndPidCandidate* RhoCandidate::GetRecoCandidate ( ) const
inline

Definition at line 382 of file RhoCandidate.h.

References Combine(), and fMicroCand.

382 { return fMicroCand; }
PndPidCandidate * fMicroCand
Rsonance flag.
Definition: RhoCandidate.h:83

◆ GetTrackNumber()

Int_t RhoCandidate::GetTrackNumber ( ) const
inline

Definition at line 426 of file RhoCandidate.h.

References fTrackNumber.

426 { return fTrackNumber; }
UInt_t fTrackNumber
Definition: RhoCandidate.h:85

◆ GetVect()

TVector3 RhoCandidate::GetVect ( ) const
inline

Definition at line 191 of file RhoCandidate.h.

191 { 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 380 of file RhoCandidate.h.

References fFastMode.

380 { return fFastMode; }
Bool_t fFastMode
Definition: RhoCandidate.h:62

◆ IsLocal()

Bool_t RhoCandidate::IsLocal ( ) const
inline

◆ IsLocked()

Bool_t RhoCandidate::IsLocked ( )
inline

Definition at line 336 of file RhoCandidate.h.

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

336 { return fLocked; }
Bool_t fLocked
Do not stream.
Definition: RhoCandidate.h:65

◆ Lock()

void RhoCandidate::Lock ( )
inline

Definition at line 334 of file RhoCandidate.h.

334 { fLocked = kTRUE; }
Bool_t fLocked
Do not stream.
Definition: RhoCandidate.h:65

◆ 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 404 of file RhoCandidate.h.

References fMarker.

405  {
406  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);
407  }
UInt_t fMarker[4]
Number of constraints.
Definition: RhoCandidate.h:96

◆ P()

Double_t RhoCandidate::P ( ) const

Referenced by GetErrP7().

◆ P3()

TVector3 RhoCandidate::P3 ( ) const
inline

Definition at line 201 of file RhoCandidate.h.

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

201 { return GetMomentum(); }
TVector3 GetMomentum() const
Definition: RhoCandidate.h:190

◆ 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 197 of file RhoCandidate.h.

References P4Cov().

Referenced by RhoBooster::SetBoostVector().

197 { 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 199 of file RhoCandidate.h.

References P4Cov(), and P4WErr().

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

◆ P4WErr()

RhoLorentzVectorErr RhoCandidate::P4WErr ( ) const

Referenced by P4Err().

◆ PdgCode()

int RhoCandidate::PdgCode ( )
inline

Definition at line 175 of file RhoCandidate.h.

References fPdgCode.

175 { return fPdgCode; }
int fPdgCode
Pointer to particle database.
Definition: RhoCandidate.h:74

◆ PdtEntry()

const TParticlePDG* RhoCandidate::PdtEntry ( ) const

Referenced by GetMass().

◆ Pos()

TVector3 RhoCandidate::Pos ( ) const
inline

Definition at line 188 of file RhoCandidate.h.

References GetPosition().

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

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

◆ 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 213 of file RhoCandidate.h.

References CAMath::Sqrt().

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

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

◆ Px()

Double_t RhoCandidate::Px ( ) const
inline

Definition at line 192 of file RhoCandidate.h.

192 { return fXmomentum; }

◆ Py()

Double_t RhoCandidate::Py ( ) const
inline

Definition at line 193 of file RhoCandidate.h.

193 { return fYmomentum; }

◆ Pz()

Double_t RhoCandidate::Pz ( ) const
inline

Definition at line 194 of file RhoCandidate.h.

References PosCov(), and PosWCov().

194 { 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 229 of file RhoCandidate.h.

References SetEnergy(), and SetMass().

229 { fCharge = (Char_t)charge; }

◆ SetChi2()

void RhoCandidate::SetChi2 ( Double_t  chi2)
inline

Definition at line 297 of file RhoCandidate.h.

297 { 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 232 of file RhoCandidate.h.

References SetMassAndEnergy(), and SetPosition().

232 { fEnergy = energy; }

◆ SetEnergy()

void RhoCandidate::SetEnergy ( Double_t  newE)

Referenced by SetCharge().

◆ SetErr()

void RhoCandidate::SetErr ( Float_t *  err)
inline

Definition at line 249 of file RhoCandidate.h.

References i, and MATRIXSIZE.

250  {
251  if (err != 0)
252  for (int i = 0; i < MATRIXSIZE; i++) {
253  fErrP7[i] = err[i];
254  }
255  }
unsigned int i
Definition: P4_F32vec4.h:33
#define MATRIXSIZE
Definition: RhoCandidate.h:48

◆ SetFast()

void RhoCandidate::SetFast ( Bool_t  yesno)
inline

Definition at line 379 of file RhoCandidate.h.

379 { fFastMode = yesno; }
Bool_t fFastMode
Definition: RhoCandidate.h:62

◆ SetFit()

void RhoCandidate::SetFit ( RhoCandidate b)
inline

Definition at line 298 of file RhoCandidate.h.

298 { 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 443 of file RhoCandidate.h.

443 { 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 235 of file RhoCandidate.h.

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

235 { 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 257 of file RhoCandidate.h.

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

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

◆ SetTrackNumber()

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

Definition at line 427 of file RhoCandidate.h.

427 { fTrackNumber = trnum; };
UInt_t fTrackNumber
Definition: RhoCandidate.h:85

◆ 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 238 of file RhoCandidate.h.

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

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

◆ TheMother() [1/2]

const RhoCandidate* RhoCandidate::TheMother ( ) const
inline

Definition at line 278 of file RhoCandidate.h.

References fTheMother.

278 { return fTheMother; }
RhoCandidate * fTheMother
Do not stream.
Definition: RhoCandidate.h:68

◆ TheMother() [2/2]

RhoCandidate* RhoCandidate::TheMother ( )
inline

Definition at line 279 of file RhoCandidate.h.

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

279 { return fTheMother; }
RhoCandidate * fTheMother
Do not stream.
Definition: RhoCandidate.h:68

◆ Uid()

Int_t RhoCandidate::Uid ( ) const
inline

Definition at line 428 of file RhoCandidate.h.

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

Referenced by RhoFitterBase::InsertChi2().

428 { return fUid; }
UInt_t fUid
Micro association.
Definition: RhoCandidate.h:86

◆ UnLock()

void RhoCandidate::UnLock ( )
inline

Definition at line 335 of file RhoCandidate.h.

335 { fLocked = kFALSE; }
Bool_t fLocked
Do not stream.
Definition: RhoCandidate.h:65

◆ XPCov()

TMatrixD RhoCandidate::XPCov ( ) const

Referenced by GetErrP7().

Member Data Documentation

◆ fDaughters

RhoCandidate* RhoCandidate::fDaughters[MAXDAUG]
protected

unique number

Definition at line 90 of file RhoCandidate.h.

◆ fDecayVtx

RhoVector3Err RhoCandidate::fDecayVtx
protected

Do not stream.

Definition at line 70 of file RhoCandidate.h.

Referenced by DecayVtx().

◆ fFastMode

Bool_t RhoCandidate::fFastMode
protected

Definition at line 62 of file RhoCandidate.h.

Referenced by IsFast().

◆ fIsAResonance

Bool_t RhoCandidate::fIsAResonance
protected

Definition at line 77 of file RhoCandidate.h.

◆ fLocked

Bool_t RhoCandidate::fLocked
protected

Do not stream.

Definition at line 65 of file RhoCandidate.h.

Referenced by IsLocked().

◆ fMarker

UInt_t RhoCandidate::fMarker[4]
protected

Number of constraints.

Definition at line 96 of file RhoCandidate.h.

Referenced by Equals(), and Overlaps().

◆ fMicroCand

PndPidCandidate* RhoCandidate::fMicroCand
protected

Rsonance flag.

Definition at line 83 of file RhoCandidate.h.

Referenced by GetRecoCandidate().

◆ fNCons

Short_t RhoCandidate::fNCons
protected

Definition at line 94 of file RhoCandidate.h.

◆ fNDaug

Int_t RhoCandidate::fNDaug
protected

List of Daughters.

Definition at line 91 of file RhoCandidate.h.

◆ fPdgCode

int RhoCandidate::fPdgCode
protected

Pointer to particle database.

Definition at line 74 of file RhoCandidate.h.

Referenced by PdgCode().

◆ fPdtEntry

const TParticlePDG* RhoCandidate::fPdtEntry
protected

Vertex.

Definition at line 73 of file RhoCandidate.h.

◆ fPidLH

double RhoCandidate::fPidLH[30]
protected

Overlap.

Definition at line 99 of file RhoCandidate.h.

◆ fTheMother

RhoCandidate* RhoCandidate::fTheMother
protected

Do not stream.

Definition at line 68 of file RhoCandidate.h.

Referenced by TheMother().

◆ fTrackNumber

UInt_t RhoCandidate::fTrackNumber
protected

Definition at line 85 of file RhoCandidate.h.

Referenced by GetTrackNumber().

◆ fUid

UInt_t RhoCandidate::fUid
protected

Micro association.

Definition at line 86 of file RhoCandidate.h.

Referenced by Uid().


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