49UParticle::UParticle(Int_t index, Int_t pdg, Int_t status, Int_t parent, Int_t parentDecay, Int_t mate, Int_t decay,
50 Int_t child[2], Double_t px, Double_t py, Double_t pz, Double_t e, Double_t
x, Double_t
y,
51 Double_t z, Double_t t, Double_t weight)
57 , fParentDecay(parentDecay)
77UParticle::UParticle(Int_t index, Int_t pdg, Int_t status, Int_t parent, Int_t parentDecay, Int_t mate, Int_t decay,
78 Int_t child[2], TLorentzVector mom, TLorentzVector
pos, Double_t weight)
84 , fParentDecay(parentDecay)
131 , fPdg(right.GetPdgCode())
132 , fStatus(right.GetStatusCode())
133 , fParent(right.GetFirstMother())
145 , fWeight(right.GetWeight())
147 fChild[0] = right.GetFirstDaughter();
148 fChild[1] = right.GetLastDaughter();
223 &&
fChild[0] == right.fChild[0] &&
fChild[1] == right.fChild[1]
224 && ((TMath::Abs((
fPx - right.fPx) /
fPx) < 0.0001) || (TMath::Abs(
fPx) < 1e-16 && TMath::Abs(right.fPx) < 1e-16))
225 && ((TMath::Abs((
fPy - right.fPy) /
fPy) < 0.0001) || (TMath::Abs(
fPy) < 1e-16 && TMath::Abs(right.fPy) < 1e-16))
226 && ((TMath::Abs((
fPz - right.fPz) /
fPz) < 0.0001) || (TMath::Abs(
fPz) < 1e-16 && TMath::Abs(right.fPz) < 1e-16))
227 && ((TMath::Abs((
fE - right.fE) /
fE) < 0.0001) || (TMath::Abs(
fE) < 1e-16 && TMath::Abs(right.fE) < 1e-16))
228 && ((TMath::Abs((
fX - right.fX) /
fX) < 0.0001) || (TMath::Abs(
fX) < 1e-16 && TMath::Abs(right.fX) < 1e-16))
229 && ((TMath::Abs((
fY - right.fY) /
fY) < 0.0001) || (TMath::Abs(
fY) < 1e-16 && TMath::Abs(right.fY) < 1e-16))
230 && ((TMath::Abs((
fZ - right.fZ) /
fZ) < 0.0001) || (TMath::Abs(
fZ) < 1e-16 && TMath::Abs(right.fZ) < 1e-16))
231 && ((TMath::Abs((
fT - right.fT) /
fT) < 0.0001) || (TMath::Abs(
fT) < 1e-16 && TMath::Abs(right.fT) < 1e-16))
233 || (TMath::Abs(
fWeight) < 1e-16 && TMath::Abs(right.fWeight) < 1e-16)));
void Print(Option_t *="") const
const UParticle & operator=(const UParticle &right)
Bool_t operator==(const UParticle &right) const