#include <XANAGeantTrack.h>
Public Methods | |
XANAGeantTrack () | |
virtual | ~XANAGeantTrack () |
XANAGeantTrack (Short_t id, HepLorentzVector momentum) | |
Construct from hep event data. More... | |
XANAGeantTrack (Short_t index, Short_t id, HepLorentzVector momentum, Short_t mothindex) | |
Construct with mother-daughter relationship. More... | |
void | setPartId (Short_t id) |
void | setMomentum (HepLorentzVector momentum) |
Short_t | getIndex () const |
Short_t | getPartId () const |
HepLorentzVector | getMomentum () const |
HepPoint3D | getPositionAtCalo () |
HepLorentzVector | getMomentumAtCalo () |
Bool_t | atCalo () |
XANAGeantVertex * | getVertex () const |
XANAGeneratorParticle * | getGeneratorParticle () const |
void | setVertex (XANAGeantVertex *vertex) |
void | setGeneratorParticle (XANAGeneratorParticle *genpart) |
Short_t | getMotherIndex () const |
Bool_t | operator== (const XANAGeantTrack &t) const |
Bool_t | operator< (const XANAGeantTrack &t) const |
void | print () const |
Private Attributes | |
Short_t | index_ |
track geant index. More... | |
Short_t | id_ |
the track id (pdg convension). More... | |
HepLorentzVector | momentum_ |
the momentum four vector at vertex. More... | |
TRef | vertex_ |
relation to the parent vertex. More... | |
TRef | genpart_ |
relation to the parent generated particle. More... | |
Short_t | mothindex_ |
relation to the parent geant track. More... |
|
|
|
|
|
Construct from hep event data.
|
|
Construct with mother-daughter relationship.
|
|
|
|
Definition at line 50 of file XANAGeantTrack.h. References genpart_. Referenced by main.
00050 {return (XANAGeneratorParticle *)(genpart_.GetObject());} |
|
Definition at line 40 of file XANAGeantTrack.h. References index_.
00040 {return index_;} |
|
Definition at line 42 of file XANAGeantTrack.h. References momentum_. Referenced by main.
00042 {return momentum_;} |
|
|
|
Definition at line 53 of file XANAGeantTrack.h. References mothindex_. Referenced by main.
00053 {return mothindex_;} |
|
Definition at line 41 of file XANAGeantTrack.h. References id_. Referenced by main.
00041 {return id_;} |
|
|
|
Definition at line 49 of file XANAGeantTrack.h. References vertex_.
00049 {return (XANAGeantVertex *)(vertex_.GetObject());} |
|
|
|
|
|
|
|
|
|
Definition at line 37 of file XANAGeantTrack.h. References momentum_.
00037 {momentum_=momentum;} |
|
Definition at line 36 of file XANAGeantTrack.h. References id_.
00036 {id_=id;} |
|
|
|
relation to the parent generated particle.
Definition at line 72 of file XANAGeantTrack.h. Referenced by getGeneratorParticle. |
|
the track id (pdg convension).
Definition at line 66 of file XANAGeantTrack.h. |
|
track geant index.
Definition at line 64 of file XANAGeantTrack.h. Referenced by getIndex. |
|
the momentum four vector at vertex.
Definition at line 68 of file XANAGeantTrack.h. Referenced by getMomentum, and setMomentum. |
|
relation to the parent geant track.
Definition at line 74 of file XANAGeantTrack.h. Referenced by getMotherIndex. |
|
relation to the parent vertex.
Definition at line 70 of file XANAGeantTrack.h. Referenced by getVertex. |