21 #include <TDatabasePDG.h>    
   22 #include <TParticle.h>       
   23 #include <TParticlePDG.h>    
   69     , fPdgCode(track.fPdgCode)
 
   70     , fMotherId(track.fMotherId)
 
   74     , fStartX(track.fStartX)
 
   75     , fStartY(track.fStartY)
 
   76     , fStartZ(track.fStartZ)
 
   77     , fStartT(track.fStartT)
 
   78     , fNPoints(track.fNPoints)
 
   85     , fPdgCode(part->GetPdgCode())
 
   86     , fMotherId(part->GetMother(0))
 
   93     , fStartT(part->T() * 1e09)
 
  105     LOG(debug) << 
"Track " << trackId << 
", mother : " << fMotherId << 
", Type " << fPdgCode << 
", momentum (" << fPx
 
  106                << 
", " << fPy << 
", " << fPz << 
") GeV";
 
  117     if (TDatabasePDG::Instance()) {
 
  118         TParticlePDG* particle = TDatabasePDG::Instance()->GetParticle(fPdgCode);
 
  120             return particle->Mass();
 
  133     Double_t y = 0.5 * TMath::Log((e + fPz) / (e - fPz));
 
ClassImp(FairEventBuilder)
Int_t GetNPoints(DetectorId detId) const 
Double_t GetEnergy() const 
void Print(Int_t iTrack=0) const 
Double_t GetRapidity() const 
void SetNPoints(Int_t iDet, Int_t np)