38 if ( kFALSE ==
GetCharge( inPdgCode, &pdgCodeCharge ) ) {
46 for (Int_t iPart=0; iPart<
fParticleList->GetEntries(); ++iPart) {
50 TParticlePDG* pdt = particle->GetPDG();
55 if ( pdgCodeCharge != pCharge ){
continue; }
73 TVector3 pVertex(particle->Vx(),particle->Vy(),particle->Vz());
74 TLorentzVector p4(particle->Px(),particle->Py(),particle->Pz(),particle->Energy());
76 p4.SetVectM(p4.Vect(),
fdbPdg->GetParticle(inPdgCode)->Mass());
83 rhoOutList.
Add(&rhoCand);
void Add(const RhoCandidate *c)
void SetPos(const TVector3 &pos)
Bool_t FillList(RhoCandList &rhoOutList, Int_t inPdgCode, Double_t pdgCodeCharge=kNoChargeSpecified)
Bool_t GetCharge(Int_t inPdgCode, Double_t *pdgCodeCharge)
void SetType(const TParticlePDG *pdt)
TClonesArray * fParticleList
static const Double_t kNoChargeSpecified
void SetMcTruth(RhoCandidate *mct)