#include <Particle.h>
Public Member Functions | |
| Particle () | |
| Particle (int id, TParticle *particle) | |
| ~Particle () | |
| void | SetTrackId (int trackid) |
| void | SetPdgCode (int pdg) |
| void | SetMother (int i, int id) |
| void | SetVertex (TLorentzVector v) |
| void | SetVertex (double x, double y, double z, double t) |
| void | SetMomentum (TLorentzVector p) |
| void | SetMomentum (double px, double py, double pz, double e) |
| void | SetMass (double mass) |
| int | TrackId () const |
| int | PdgCode () const |
| int | Mother (int i) const |
| TLorentzVector | Vtx () |
| double | Vx () const |
| double | Vy () const |
| double | Vz () const |
| double | T () const |
| TLorentzVector | P () |
| double | Px () const |
| double | Py () const |
| double | Pz () const |
| double | E () const |
| double | Mass () |
| ClassDef (Particle, 1) | |
Public Attributes | |
| int | fTrackId |
| TrackId. | |
| int | fPdgCode |
| PDF code. | |
| int | fMother [2] |
| Mother. | |
| TLorentzVector | fVtx |
| Start point. | |
| TLorentzVector | fP |
| 4-momentum | |
| double | fMass |
| Mass. | |
|
|
Definition at line 5 of file Particle.cxx. 00006 { }
|
|
||||||||||||
|
Definition at line 10 of file Particle.cxx. References SetMass(), SetMomentum(), SetMother(), SetPdgCode(), SetTrackId(), and SetVertex(). 00011 {
00012 this->SetTrackId(id);
00013
00014 this->SetPdgCode(particle->GetPdgCode());
00015
00016 for(int i=0; i<2; i++) this->SetMother(i,particle->GetMother(i));
00017
00018 this->SetVertex(particle->Vx(),particle->Vy(),particle->Vz(),particle->T());
00019
00020 this->SetMomentum(particle->Px(),particle->Py(),particle->Pz(),particle->Energy());
00021
00022 this->SetMass(particle->GetMass());
00023 }
|
|
|
Definition at line 27 of file Particle.cxx. 00027 { }
|
|
||||||||||||
|
|
|
|
Definition at line 54 of file Particle.h. 00054 { return fP.E(); }
|
|
|
Definition at line 56 of file Particle.h. 00056 { return fMass; }
|
|
|
Definition at line 39 of file Particle.h. 00039 {
00040 if(i<2 && i>=0) return fMother[i];
00041 else return -1;
00042 }
|
|
|
Definition at line 50 of file Particle.h. 00050 { return fP; }
|
|
|
Definition at line 38 of file Particle.h. 00038 { return fPdgCode; }
|
|
|
Definition at line 51 of file Particle.h. 00051 { return fP.Px(); }
|
|
|
Definition at line 52 of file Particle.h. 00052 { return fP.Py(); }
|
|
|
Definition at line 53 of file Particle.h. 00053 { return fP.Pz(); }
|
|
|
Definition at line 34 of file Particle.h. Referenced by Particle(). 00034 { fMass = mass; }
|
|
||||||||||||||||||||
|
Definition at line 31 of file Particle.h. 00031 {
00032 fP.SetPxPyPzE(px,py,pz,e); }
|
|
|
Definition at line 30 of file Particle.h. Referenced by Particle(). 00030 { fP = p; }
|
|
||||||||||||
|
Definition at line 24 of file Particle.h. Referenced by Particle(). 00024 { if(i>=0 && i<2) fMother[i] = id;}
|
|
|
Definition at line 23 of file Particle.h. Referenced by Particle(). 00023 { fPdgCode = pdg; }
|
|
|
Definition at line 22 of file Particle.h. Referenced by Particle(). 00022 { fTrackId = trackid; }
|
|
||||||||||||||||||||
|
Definition at line 27 of file Particle.h. 00027 {
00028 fVtx.SetXYZT(x,y,z,t); }
|
|
|
Definition at line 26 of file Particle.h. Referenced by Particle(). 00026 { fVtx = v; }
|
|
|
Definition at line 48 of file Particle.h. 00048 { return fVtx.T(); }
|
|
|
Definition at line 37 of file Particle.h. 00037 { return fTrackId; }
|
|
|
Definition at line 44 of file Particle.h. 00044 { return fVtx; }
|
|
|
Definition at line 45 of file Particle.h. 00045 { return fVtx.X(); }
|
|
|
Definition at line 46 of file Particle.h. 00046 { return fVtx.Y(); }
|
|
|
Definition at line 47 of file Particle.h. 00047 { return fVtx.Z(); }
|
|
|
Mass.
Definition at line 64 of file Particle.h. |
|
|
Mother.
Definition at line 61 of file Particle.h. |
|
|
4-momentum
Definition at line 63 of file Particle.h. |
|
|
PDF code.
Definition at line 60 of file Particle.h. |
|
|
TrackId.
Definition at line 59 of file Particle.h. |
|
|
Start point.
Definition at line 62 of file Particle.h. |
1.3.9.1