#include <XANATrack.h>
Inheritance diagram for XANATrack:
Public Member Functions | |
| XANATrack () | |
| XANATrack (Short_t charge, Float_t chi2OverDof, Short_t numberOfHits, Short_t numberOfLostHits, Float_t impactParameter, Float_t longImpactParameter, Float_t transImpactParameter, Float_t impactParameterError, Float_t longImpactParameterError, Float_t transImpactParameterError, HepVector3D momentumAtVertex, HepPoint3D positionAtFirstPoint, HepVector3D momentumAtFirstPoint, HepPoint3D positionAtLastPoint, HepVector3D momentumAtLastPoint, std::string algoName) | |
| construct with data | |
| 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 |
| Float_t | getLongImpactParameterError () const |
| Float_t | getTransImpactParameterError () const |
| Float_t | getImpactParameterError () 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 | setLongImpactParameterError (Float_t longImpactParameterError) |
| void | setTransImpactParameterError (Float_t transImpactParameterError) |
| void | setImpactParameterError (Float_t impactParameterError) |
| 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 | |
| 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 | |
| Float_t | chi2OverDof_ |
| chi2 divided by number of degrees of freedom from track reconstruction | |
| 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) | |
| Short_t | numberOfLostHits_ |
| number of lost track hits | |
| Float_t | impactParameter_ |
| track closest distance to vertex or (0,0,0) | |
| Float_t | longImpactParameter_ |
| track extrapolation to Oz | |
| Float_t | transImpactParameter_ |
| track extrapolation to Oxy plane | |
| Float_t | impactParameterError_ |
| track closest distance to vertex or (0,0,0) error | |
| Float_t | longImpactParameterError_ |
| track extrapolation to Oz error | |
| Float_t | transImpactParameterError_ |
| track extrapolation to Oxy plane error | |
| HepVector3D | momentumAtVertex_ |
| track 4-momentum at vertex. | |
| HepPoint3D | positionAtFirstPoint_ |
| track position at first hit (differs from first hit position) | |
| HepVector3D | momentumAtFirstPoint_ |
| track 4-momentum at first.hit | |
| HepPoint3D | positionAtLastPoint_ |
| track position at last hit (differs from last hit position) | |
| HepVector3D | momentumAtLastPoint_ |
| track 4-momentum at last hit. | |
| TRef | vertex_ |
| relation to vertices | |
| Int_t | algoLen_ |
| identifies which algo was used | |
| char * | algoName_ |
| TRefArray * | trackHits_ |
| array of constituant hits (optional) | |
Private Member Functions | |
| 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 58 of file XANATrack.h. References algoName_. Referenced by main().
00058 {return std::string(algoName_);}
|
|
|
Definition at line 59 of file XANATrack.h. References algoName_.
00059 {return algoName_;}
|
|
|
Definition at line 43 of file XANATrack.h. References charge_. Referenced by main(), and XANAEsdBuilder::setElectrons().
00043 {return charge_;}
|
|
|
Definition at line 44 of file XANATrack.h. References chi2OverDof_. Referenced by main().
00044 {return chi2OverDof_;}
|
|
|
Definition at line 49 of file XANATrack.h. References impactParameter_. Referenced by main().
00049 {return impactParameter_;}
|
|
|
Definition at line 52 of file XANATrack.h. References impactParameterError_. Referenced by main().
00052 {return impactParameterError_;}
|
|
|
Definition at line 47 of file XANATrack.h. References longImpactParameter_. Referenced by main().
00047 {return longImpactParameter_;}
|
|
|
Definition at line 50 of file XANATrack.h. References longImpactParameterError_. Referenced by main().
00050 {return longImpactParameterError_;}
|
|
|
Definition at line 54 of file XANATrack.h. References momentumAtFirstPoint_. Referenced by main(), and XANAEsdBuilder::setElectrons().
00054 {return momentumAtFirstPoint_;}
|
|
|
Definition at line 56 of file XANATrack.h. References momentumAtLastPoint_. Referenced by main().
00056 {return momentumAtLastPoint_;}
|
|
|
Definition at line 53 of file XANATrack.h. References momentumAtVertex_. Referenced by main().
00053 {return momentumAtVertex_;}
|
|
|
Definition at line 45 of file XANATrack.h. References numberOfHits_. Referenced by main().
00045 {return numberOfHits_;}
|
|
|
Definition at line 46 of file XANATrack.h. References numberOfLostHits_. Referenced by main().
00046 {return numberOfLostHits_;}
|
|
|
Definition at line 55 of file XANATrack.h. References positionAtFirstPoint_. Referenced by main(), and XANAEsdBuilder::setElectrons().
00055 {return positionAtFirstPoint_;}
|
|
|
Definition at line 57 of file XANATrack.h. References positionAtLastPoint_. Referenced by main().
00057 {return positionAtLastPoint_;}
|
|
|
Definition at line 60 of file XANATrack.h. References trackHits_.
00060 { return trackHits_; }
|
|
|
Definition at line 48 of file XANATrack.h. References transImpactParameter_. Referenced by main().
00048 {return transImpactParameter_;}
|
|
|
Definition at line 51 of file XANATrack.h. References transImpactParameterError_. Referenced by main().
00051 {return transImpactParameterError_;}
|
|
|
Definition at line 81 of file XANATrack.h. References vertex_. Referenced by main().
00081 {return (XANAVertex *)(vertex_.GetObject());}
|
|
|
tells if this object is linked as constituent of higher level object
Reimplemented in XANAElectronGSFTrack, and XANAElectronTrack. Definition at line 87 of file XANATrack.h. References locked_.
00087 {return locked_;}
|
|
|
Reimplemented in XANAElectronTrack, and XANAMuonTrack. Definition at line 142 of file XANATrack.h. References locked_.
00142 {locked_ = true;}
|
|
|
|
|
|
|
|
|
Definition at line 78 of file XANATrack.h. References algoName_. Referenced by XANAEsdBuilder::setElectronTracks(), VertexObserver::upDate(), TrackObserver::upDate(), and MuonObserver::upDate().
00078 {sprintf(algoName_,algoName.c_str());}
|
|
|
Definition at line 63 of file XANATrack.h. References charge_. Referenced by XANAEsdBuilder::setElectronTracks(), VertexObserver::upDate(), TrackObserver::upDate(), and MuonObserver::upDate().
00063 {charge_=charge;}
|
|
|
Definition at line 64 of file XANATrack.h. References chi2OverDof_. Referenced by XANAEsdBuilder::setElectronTracks(), VertexObserver::upDate(), TrackObserver::upDate(), and MuonObserver::upDate().
00064 {chi2OverDof_=chi2OverDof;}
|
|
|
Definition at line 69 of file XANATrack.h. References impactParameter_. Referenced by XANAEsdBuilder::setElectronTracks(), VertexObserver::upDate(), TrackObserver::upDate(), and MuonObserver::upDate().
00069 {impactParameter_=impactParameter;}
|
|
|
Definition at line 72 of file XANATrack.h. References impactParameterError_.
00072 {impactParameterError_=impactParameterError;}
|
|
|
Definition at line 67 of file XANATrack.h. References longImpactParameter_. Referenced by XANAEsdBuilder::setElectronTracks(), VertexObserver::upDate(), TrackObserver::upDate(), and MuonObserver::upDate().
00067 {longImpactParameter_=longImpactParameter;}
|
|
|
Definition at line 70 of file XANATrack.h. References longImpactParameterError_.
00070 {longImpactParameterError_=longImpactParameterError;}
|
|
|
Definition at line 75 of file XANATrack.h. References momentumAtFirstPoint_. Referenced by XANAEsdBuilder::setElectronTracks(), VertexObserver::upDate(), TrackObserver::upDate(), and MuonObserver::upDate().
00075 {momentumAtFirstPoint_=momentumAtFirstPoint;}
|
|
|
Definition at line 77 of file XANATrack.h. References momentumAtLastPoint_. Referenced by XANAEsdBuilder::setElectronTracks(), VertexObserver::upDate(), TrackObserver::upDate(), and MuonObserver::upDate().
00077 {momentumAtLastPoint_=momentumAtLastPoint;}
|
|
|
Definition at line 73 of file XANATrack.h. References momentumAtVertex_. Referenced by XANAEsdBuilder::setElectronTracks(), VertexObserver::upDate(), TrackObserver::upDate(), and MuonObserver::upDate().
00073 {momentumAtVertex_=momentumAtVertex;}
|
|
|
Definition at line 65 of file XANATrack.h. References numberOfHits_. Referenced by XANAEsdBuilder::setElectronTracks(), VertexObserver::upDate(), TrackObserver::upDate(), and MuonObserver::upDate().
00065 {numberOfHits_=numberOfHits;}
|
|
|
Definition at line 66 of file XANATrack.h. References numberOfLostHits_. Referenced by XANAEsdBuilder::setElectronTracks(), VertexObserver::upDate(), TrackObserver::upDate(), and MuonObserver::upDate().
00066 {numberOfLostHits_=numberOfLostHits;}
|
|
|
Definition at line 74 of file XANATrack.h. References positionAtFirstPoint_. Referenced by XANAEsdBuilder::setElectrons(), XANAEsdBuilder::setElectronTracks(), VertexObserver::upDate(), TrackObserver::upDate(), and MuonObserver::upDate().
00074 {positionAtFirstPoint_=positionAtFirstPoint;}
|
|
|
Definition at line 76 of file XANATrack.h. References positionAtLastPoint_. Referenced by XANAEsdBuilder::setElectrons(), XANAEsdBuilder::setElectronTracks(), VertexObserver::upDate(), TrackObserver::upDate(), and MuonObserver::upDate().
00076 {positionAtLastPoint_=positionAtLastPoint;}
|
|
|
Definition at line 68 of file XANATrack.h. References transImpactParameter_. Referenced by XANAEsdBuilder::setElectronTracks(), VertexObserver::upDate(), TrackObserver::upDate(), and MuonObserver::upDate().
00068 {transImpactParameter_=transImpactParameter;}
|
|
|
Definition at line 71 of file XANATrack.h. References transImpactParameterError_.
00071 {transImpactParameterError_=transImpactParameterError;}
|
|
|
|
|
|
Reimplemented in XANAElectronTrack, and XANAMuonTrack. Definition at line 143 of file XANATrack.h. References locked_.
00143 { locked_ = false;}
|
|
|
identifies which algo was used
Definition at line 133 of file XANATrack.h. |
|
|
Definition at line 134 of file XANATrack.h. Referenced by getAlgoName(), getCharAlgoName(), and setAlgoName(). |
|
|
the track charge from curvature
Definition at line 98 of file XANATrack.h. Referenced by getCharge(), and setCharge(). |
|
|
chi2 divided by number of degrees of freedom from track reconstruction
Definition at line 100 of file XANATrack.h. Referenced by getChi2OverDof(), and setChi2OverDof(). |
|
|
track closest distance to vertex or (0,0,0)
Definition at line 109 of file XANATrack.h. Referenced by getImpactParameter(), and setImpactParameter(). |
|
|
track closest distance to vertex or (0,0,0) error
Definition at line 115 of file XANATrack.h. Referenced by getImpactParameterError(), and setImpactParameterError(). |
|
|
Reimplemented in XANAElectronTrack, and XANAMuonTrack. Definition at line 141 of file XANATrack.h. |
|
|
track extrapolation to Oz
Definition at line 111 of file XANATrack.h. Referenced by getLongImpactParameter(), and setLongImpactParameter(). |
|
|
track extrapolation to Oz error
Definition at line 117 of file XANATrack.h. Referenced by getLongImpactParameterError(), and setLongImpactParameterError(). |
|
|
track 4-momentum at first.hit
Definition at line 125 of file XANATrack.h. Referenced by getMomentumAtFirstPoint(), and setMomentumAtFirstPoint(). |
|
|
track 4-momentum at last hit.
Definition at line 129 of file XANATrack.h. Referenced by getMomentumAtLastPoint(), and setMomentumAtLastPoint(). |
|
|
track 4-momentum at vertex.
Definition at line 121 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 105 of file XANATrack.h. Referenced by getNumberOfHits(), and setNumberOfHits(). |
|
|
number of lost track hits
Definition at line 107 of file XANATrack.h. Referenced by getNumberOfLostHits(), and setNumberOfLostHits(). |
|
|
track position at first hit (differs from first hit position)
Definition at line 123 of file XANATrack.h. Referenced by getPositionAtFirstPoint(), and setPositionAtFirstPoint(). |
|
|
track position at last hit (differs from last hit position)
Definition at line 127 of file XANATrack.h. Referenced by getPositionAtLastPoint(), and setPositionAtLastPoint(). |
|
|
Definition at line 140 of file XANATrack.h. |
|
|
array of constituant hits (optional)
Definition at line 136 of file XANATrack.h. Referenced by getTrackHits(). |
|
|
track extrapolation to Oxy plane
Definition at line 113 of file XANATrack.h. Referenced by getTransImpactParameter(), and setTransImpactParameter(). |
|
|
track extrapolation to Oxy plane error
Definition at line 119 of file XANATrack.h. Referenced by getTransImpactParameterError(), and setTransImpactParameterError(). |
|
|
relation to vertices
Definition at line 131 of file XANATrack.h. Referenced by getVertex(). |
1.3.5