#include <XANATrack.h>
Inheritance diagram for XANATrack:
Public Methods | |
XANATrack () | |
XANATrack (Short_t charge, Float_t chi2OverDof, Short_t numberOfHits, Short_t numberOfLostHits, Float_t impactParameter, Float_t longImpactParameter, Float_t transImpactParameter, HepVector3D momentumAtVertex, HepPoint3D positionAtFirstPoint, HepVector3D momentumAtFirstPoint, HepPoint3D positionAtLastPoint, HepVector3D momentumAtLastPoint, std::string algoName) | |
construct with data. More... | |
virtual | ~XANATrack () |
Short_t | getCharge () const |
Float_t | getChi2OverDof () const |
Short_t | getNumberOfHits () const |
Short_t | getNumberOfLostHits () const |
Float_t | getLongImpactParameter () const |
Float_t | getTransImpactParameter () const |
Float_t | getImpactParameter () const |
HepVector3D | getMomentumAtVertex () const |
HepVector3D | getMomentumAtFirstPoint () const |
HepPoint3D | getPositionAtFirstPoint () const |
HepVector3D | getMomentumAtLastPoint () const |
HepPoint3D | getPositionAtLastPoint () const |
std::string | getAlgoName () const |
char * | getCharAlgoName () const |
TRefArray * | getTrackHits () const |
void | setCharge (Short_t charge) |
void | setChi2OverDof (Float_t chi2OverDof) |
void | setNumberOfHits (Short_t numberOfHits) |
void | setNumberOfLostHits (Short_t numberOfLostHits) |
void | setLongImpactParameter (Float_t longImpactParameter) |
void | setTransImpactParameter (Float_t transImpactParameter) |
void | setImpactParameter (Float_t impactParameter) |
void | setMomentumAtVertex (HepVector3D momentumAtVertex) |
void | setPositionAtFirstPoint (HepPoint3D positionAtFirstPoint) |
void | setMomentumAtFirstPoint (HepVector3D momentumAtFirstPoint) |
void | setPositionAtLastPoint (HepPoint3D positionAtLastPoint) |
void | setMomentumAtLastPoint (HepVector3D momentumAtLastPoint) |
void | setAlgoName (std::string algoName) |
XANAVertex * | getVertex () const |
void | setVertex (XANAVertex *vtx) |
void | addHit (XANATrackHit *thit) |
void | clear () |
Bool_t | IsUsed () const |
tells if this object is linked as constituent of higher level object. More... | |
Bool_t | operator== (const XANATrack &) const |
Bool_t | operator< (const XANATrack &) const |
XANATrack (const XANATrack &right) | |
Protected Attributes | |
Short_t | charge_ |
the track charge from curvature. More... | |
Float_t | chi2OverDof_ |
chi2 divided by number of degrees of freedom from track reconstruction. More... | |
Short_t | numberOfHits_ |
number of track hits (from TTrack interface should be the number of valid track hits, for some tracks it differs from the number of valid hits; in any case it is the cardinality of the trackHits_ TRefAAray). More... | |
Short_t | numberOfLostHits_ |
number of lost track hits. More... | |
Float_t | impactParameter_ |
track closest distance to vertex or (0,0,0). More... | |
Float_t | longImpactParameter_ |
track extrapolation to Oz. More... | |
Float_t | transImpactParameter_ |
track extrapolation to Oxy plane. More... | |
HepVector3D | momentumAtVertex_ |
track 4-momentum at vertex. More... | |
HepPoint3D | positionAtFirstPoint_ |
track position at first hit (differs from first hit position). More... | |
HepVector3D | momentumAtFirstPoint_ |
track 4-momentum at first.hit. More... | |
HepPoint3D | positionAtLastPoint_ |
track position at last hit (differs from last hit position). More... | |
HepVector3D | momentumAtLastPoint_ |
track 4-momentum at last hit. More... | |
TRef | vertex_ |
relation to vertices. More... | |
Int_t | algoLen_ |
identifies which algo was used. More... | |
char * | algoName_ |
TRefArray * | trackHits_ |
array of constituant hits (optional). More... | |
Private Methods | |
void | lock () |
void | unlock () |
Private Attributes | |
Bool_t | locked_ |
Static Private Attributes | |
const Int_t | strLen_ |
|
|
|
construct with data.
|
|
|
|
|
|
Referenced by TrackObserver::upDate. |
|
|
|
Definition at line 54 of file XANATrack.h. References algoName_. Referenced by main.
00054 {return std::string(algoName_);} |
|
Definition at line 55 of file XANATrack.h. References algoName_.
00055 {return algoName_;} |
|
Definition at line 42 of file XANATrack.h. References charge_. Referenced by main, and XANAEsdBuilder::setElectrons.
00042 {return charge_;} |
|
Definition at line 43 of file XANATrack.h. References chi2OverDof_. Referenced by main.
00043 {return chi2OverDof_;} |
|
Definition at line 48 of file XANATrack.h. References impactParameter_. Referenced by main.
00048 {return impactParameter_;} |
|
Definition at line 46 of file XANATrack.h. References longImpactParameter_. Referenced by main.
00046 {return longImpactParameter_;} |
|
Definition at line 50 of file XANATrack.h. References momentumAtFirstPoint_. Referenced by main, and XANAEsdBuilder::setElectrons.
00050 {return momentumAtFirstPoint_;} |
|
Definition at line 52 of file XANATrack.h. References momentumAtLastPoint_. Referenced by main.
00052 {return momentumAtLastPoint_;} |
|
Definition at line 49 of file XANATrack.h. References momentumAtVertex_. Referenced by main.
00049 {return momentumAtVertex_;} |
|
Definition at line 44 of file XANATrack.h. References numberOfHits_. Referenced by main.
00044 {return numberOfHits_;} |
|
Definition at line 45 of file XANATrack.h. References numberOfLostHits_. Referenced by main.
00045 {return numberOfLostHits_;} |
|
Definition at line 51 of file XANATrack.h. References positionAtFirstPoint_. Referenced by main, and XANAEsdBuilder::setElectrons.
00051 {return positionAtFirstPoint_;} |
|
Definition at line 53 of file XANATrack.h. References positionAtLastPoint_. Referenced by main.
00053 {return positionAtLastPoint_;} |
|
Definition at line 56 of file XANATrack.h. References trackHits_.
00056 { return trackHits_; } |
|
Definition at line 47 of file XANATrack.h. References transImpactParameter_. Referenced by main.
00047 {return transImpactParameter_;} |
|
Definition at line 74 of file XANATrack.h. References vertex_. Referenced by main.
00074 {return (XANAVertex *)(vertex_.GetObject());} |
|
tells if this object is linked as constituent of higher level object.
Reimplemented in XANAElectronGSFTrack. Definition at line 80 of file XANATrack.h. References locked_.
00080 {return locked_;} |
|
Reimplemented in XANAElectronTrack. Definition at line 129 of file XANATrack.h. References locked_.
00129 {locked_ = true;} |
|
|
|
|
|
Definition at line 71 of file XANATrack.h. References algoName_. Referenced by XANAEsdBuilder::setElectronTracks, VertexObserver::upDate, TrackObserver::upDate, and MuonObserver::upDate.
00071 {sprintf(algoName_,algoName.c_str());} |
|
Definition at line 59 of file XANATrack.h. References charge_. Referenced by XANAEsdBuilder::setElectronTracks, VertexObserver::upDate, TrackObserver::upDate, and MuonObserver::upDate.
00059 {charge_=charge;} |
|
Definition at line 60 of file XANATrack.h. References chi2OverDof_. Referenced by XANAEsdBuilder::setElectronTracks, VertexObserver::upDate, TrackObserver::upDate, and MuonObserver::upDate.
00060 {chi2OverDof_=chi2OverDof;} |
|
Definition at line 65 of file XANATrack.h. References impactParameter_. Referenced by XANAEsdBuilder::setElectronTracks, VertexObserver::upDate, TrackObserver::upDate, and MuonObserver::upDate.
00065 {impactParameter_=impactParameter;} |
|
Definition at line 63 of file XANATrack.h. References longImpactParameter_. Referenced by XANAEsdBuilder::setElectronTracks, VertexObserver::upDate, TrackObserver::upDate, and MuonObserver::upDate.
00063 {longImpactParameter_=longImpactParameter;} |
|
Definition at line 68 of file XANATrack.h. References momentumAtFirstPoint_. Referenced by XANAEsdBuilder::setElectronTracks, VertexObserver::upDate, TrackObserver::upDate, and MuonObserver::upDate.
00068 {momentumAtFirstPoint_=momentumAtFirstPoint;} |
|
Definition at line 70 of file XANATrack.h. References momentumAtLastPoint_. Referenced by XANAEsdBuilder::setElectronTracks, VertexObserver::upDate, TrackObserver::upDate, and MuonObserver::upDate.
00070 {momentumAtLastPoint_=momentumAtLastPoint;} |
|
Definition at line 66 of file XANATrack.h. References momentumAtVertex_. Referenced by XANAEsdBuilder::setElectronTracks, VertexObserver::upDate, TrackObserver::upDate, and MuonObserver::upDate.
00066 {momentumAtVertex_=momentumAtVertex;} |
|
Definition at line 61 of file XANATrack.h. References numberOfHits_. Referenced by XANAEsdBuilder::setElectronTracks, VertexObserver::upDate, TrackObserver::upDate, and MuonObserver::upDate.
00061 {numberOfHits_=numberOfHits;} |
|
Definition at line 62 of file XANATrack.h. References numberOfLostHits_. Referenced by XANAEsdBuilder::setElectronTracks, VertexObserver::upDate, TrackObserver::upDate, and MuonObserver::upDate.
00062 {numberOfLostHits_=numberOfLostHits;} |
|
Definition at line 67 of file XANATrack.h. References positionAtFirstPoint_. Referenced by XANAEsdBuilder::setElectrons, XANAEsdBuilder::setElectronTracks, VertexObserver::upDate, TrackObserver::upDate, and MuonObserver::upDate.
00067 {positionAtFirstPoint_=positionAtFirstPoint;} |
|
Definition at line 69 of file XANATrack.h. References positionAtLastPoint_. Referenced by XANAEsdBuilder::setElectrons, XANAEsdBuilder::setElectronTracks, VertexObserver::upDate, TrackObserver::upDate, and MuonObserver::upDate.
00069 {positionAtLastPoint_=positionAtLastPoint;} |
|
Definition at line 64 of file XANATrack.h. References transImpactParameter_. Referenced by XANAEsdBuilder::setElectronTracks, VertexObserver::upDate, TrackObserver::upDate, and MuonObserver::upDate.
00064 {transImpactParameter_=transImpactParameter;} |
|
|
|
Reimplemented in XANAElectronTrack. Definition at line 130 of file XANATrack.h. References locked_.
00130 { locked_ = false;} |
|
identifies which algo was used.
Definition at line 120 of file XANATrack.h. |
|
Definition at line 121 of file XANATrack.h. Referenced by getAlgoName, getCharAlgoName, and setAlgoName. |
|
the track charge from curvature.
Definition at line 91 of file XANATrack.h. |
|
chi2 divided by number of degrees of freedom from track reconstruction.
Definition at line 93 of file XANATrack.h. Referenced by getChi2OverDof, and setChi2OverDof. |
|
track closest distance to vertex or (0,0,0).
Definition at line 102 of file XANATrack.h. Referenced by getImpactParameter, and setImpactParameter. |
|
Reimplemented in XANAElectronTrack. Definition at line 128 of file XANATrack.h. |
|
track extrapolation to Oz.
Definition at line 104 of file XANATrack.h. Referenced by getLongImpactParameter, and setLongImpactParameter. |
|
track 4-momentum at first.hit.
Definition at line 112 of file XANATrack.h. Referenced by getMomentumAtFirstPoint, and setMomentumAtFirstPoint. |
|
track 4-momentum at last hit.
Definition at line 116 of file XANATrack.h. Referenced by getMomentumAtLastPoint, and setMomentumAtLastPoint. |
|
track 4-momentum at vertex.
Definition at line 108 of file XANATrack.h. Referenced by getMomentumAtVertex, and setMomentumAtVertex. |
|
number of track hits (from TTrack interface should be the number of valid track hits, for some tracks it differs from the number of valid hits; in any case it is the cardinality of the trackHits_ TRefAAray).
Definition at line 98 of file XANATrack.h. Referenced by getNumberOfHits, and setNumberOfHits. |
|
number of lost track hits.
Definition at line 100 of file XANATrack.h. Referenced by getNumberOfLostHits, and setNumberOfLostHits. |
|
track position at first hit (differs from first hit position).
Definition at line 110 of file XANATrack.h. Referenced by getPositionAtFirstPoint, and setPositionAtFirstPoint. |
|
track position at last hit (differs from last hit position).
Definition at line 114 of file XANATrack.h. Referenced by getPositionAtLastPoint, and setPositionAtLastPoint. |
|
Definition at line 127 of file XANATrack.h. |
|
array of constituant hits (optional).
Definition at line 123 of file XANATrack.h. Referenced by getTrackHits. |
|
track extrapolation to Oxy plane.
Definition at line 106 of file XANATrack.h. Referenced by getTransImpactParameter, and setTransImpactParameter. |
|
relation to vertices.
Definition at line 118 of file XANATrack.h. Referenced by getVertex. |