14 : TObject(), fPx(0.0), fPy(0.0), fPz(0.0), fCharge(0), fIsPrimary(0),
22 for (Int_t i = 0; i < 5; ++i)
42 gRandom->Rannor(px, py);
45 fPz = TMath::Sqrt(px * px + py * py);
47 fIsPrimary = (gRandom->Integer(2) > 0) ? kTRUE : kFALSE;
50 fCharge = (gRandom->Integer(2) > 0) ? 1 : -1;
76 for (Int_t i = 0; i < 5; ++i)
97 return TMath::Sqrt(TMath::Power(
fPx, 2) + TMath::Power(
fPy, 2) +
98 TMath::Power(
fPz, 2));
virtual void Print(Option_t *option="") const
void SetPIDNsigma(Int_t i, Double_t s)
Bool_t fIsPrimary
Flag if track was defined as primary.
Double_t fTPCSignal
TPC signal.
Double_t GetP() const
Get momentum value for current track.
virtual void Clear(Option_t *option="")
Double_t fPIDNsigma[5]
PID N Sigma.