![]() |
Belle II Software
release-08-02-04
|
Reconstructed track at TOP. More...
#include <TOPTrack.h>

Classes | |
| struct | AssumedEmission |
| assumed photon emission point in local frame More... | |
| struct | SelectedHit |
| selected photon hit from TOPDigits More... | |
| struct | TrackAngles |
| Sine and cosine of track polar and azimuthal angles at assumed photon emission. More... | |
Public Member Functions | |
| TOPTrack () | |
| Default constructor. | |
| TOPTrack (const Track &track, const std::string &digitsName="", const Const::ChargedStable &chargedStable=Const::pion) | |
| Constructor from mdst track - isValid() must be checked before using the object. More... | |
| TOPTrack (const ExtHit *extHit, const std::string &digitsName="") | |
| Constructor from extrapolated track hit - isValid() must be checked before using the object. More... | |
| bool | overrideTransformation (const ROOT::Math::Transform3D &transform) |
| Overrides transformation from local to nominal frame, which is by default obtained from DB. More... | |
| bool | isValid () const |
| Checks if track is successfully constructed. More... | |
| int | getModuleID () const |
| Returns slot ID. More... | |
| double | getMomentumMag () const |
| Returns momentum magnitude (extrapolated to TOP) More... | |
| double | getTransverseMomentum () const |
| Returns transverse momentum (at POCA) More... | |
| double | getCharge () const |
| Returns charge. More... | |
| double | getTrackLength () const |
| Returns track length from IP to the average position of photon emission within quartz. More... | |
| double | getLengthInQuartz () const |
| Returns track length within quartz. More... | |
| double | getBeta (const Const::ChargedStable &particle, double overrideMass=0) const |
| Returns particle beta. More... | |
| const TOPTrack::AssumedEmission & | getEmissionPoint (double dL=0) const |
| Returns assumed photon emission position and track direction. More... | |
| double | getTOF (const Const::ChargedStable &particle, double dL=0, double overrideMass=0) const |
| Returns time-of-flight from IP to photon emission position. More... | |
| const TOP::HelixSwimmer & | getHelix () const |
| Returns helix Helix is given in nominal slot frame and with reference position at average photon emission. More... | |
| const Track * | getTrack () const |
| Returns mdst track. More... | |
| const ExtHit * | getExtHit () const |
| Returns extrapolated hit (track entrance to the bar) More... | |
| const MCParticle * | getMCParticle () const |
| Returns MC particle assigned to this track (if any) More... | |
| int | getPDGCode () const |
| Returns PDG code of associated MCParticle (returns 0 if none) More... | |
| const TOPBarHit * | getBarHit () const |
| Returns bar hit of MC particle assigned to this track (if any) More... | |
| const std::vector< SelectedHit > & | getSelectedHits () const |
| Returns selected photon hits from TOPDigits belonging to the slot ID. More... | |
| double | getBkgRate () const |
| Returns estimated background hit rate. More... | |
| bool | isScanRequired (unsigned col, double time, double wid) const |
| Checks if scan method of YScanner is needed to construct PDF for a given pixel column. More... | |
Private Member Functions | |
| void | set (const Track &track, const std::string &digitsName, const Const::ChargedStable &chargedStable) |
| Sets the object (called by constructors) More... | |
| bool | setHelix (const ROOT::Math::Transform3D &transform) |
| Sets helix (helix is given in nominal frame) More... | |
| bool | xsecPrism (std::vector< double > &lengths, std::vector< ROOT::Math::XYZPoint > &positions, const RaytracerBase::Prism &prism, const ROOT::Math::Transform3D &transform) |
| Calculates intersection of trajectory with prism. More... | |
Private Attributes | |
| int | m_moduleID = 0 |
| slot ID | |
| double | m_momentum = 0 |
| track momentum magnitude at TOP | |
| double | m_pT = 0 |
| transverse momentum at POCA | |
| double | m_charge = 0 |
| track charge in units of elementary charge | |
| double | m_TOFLength = 0 |
| trajectory length corresponding to TOF of extrapolated hit | |
| double | m_trackLength = 0 |
| trajectory length from IP to average photon emission point | |
| double | m_length = 0 |
| trajectory length within quartz | |
| TOP::HelixSwimmer | m_helix |
| trajectory helix in nominal slot frame | |
| DBObjPtr< TOPCalModuleAlignment > | m_alignment |
| module alignment constants | |
| DBObjPtr< TOPFrontEndSetting > | m_feSetting |
| front-end settings | |
| const Track * | m_track = 0 |
| mdst track | |
| const ExtHit * | m_extHit = 0 |
| extrapolated hit | |
| const MCParticle * | m_mcParticle = 0 |
| MC particle. | |
| const TOPBarHit * | m_barHit = 0 |
| bar hit | |
| bool | m_valid = false |
| true for properly defined track | |
| std::vector< SelectedHit > | m_selectedHits |
| selected photon hits from TOPDigits belonging to this slot ID | |
| double | m_bkgRate = 0 |
| estimated background hit rate | |
| std::unordered_multimap< unsigned, const SelectedHit * > | m_columnHits |
| selected hits mapped to pixel columns | |
| std::map< double, TOPTrack::AssumedEmission > | m_emissionPoints |
| assumed emission points in module local frame | |
Reconstructed track at TOP.
Definition at line 39 of file TOPTrack.h.
|
explicit |
Constructor from mdst track - isValid() must be checked before using the object.
| track | mdst track |
| digitsName | name of TOPDigits collection |
| chargedStable | hypothesis used in mdst track extrapolation |
Definition at line 40 of file TOPTrack.cc.
Constructor from extrapolated track hit - isValid() must be checked before using the object.
| extHit | extrapolated track hit |
| digitsName | name of TOPDigits collection |
Definition at line 68 of file TOPTrack.cc.
|
inline |
Returns bar hit of MC particle assigned to this track (if any)
Definition at line 238 of file TOPTrack.h.
|
inline |
Returns particle beta.
| particle | particle mass hypothesis |
| overrideMass | alternative mass value to be used to calculate beta. Ignored if <= 0. |
Definition at line 316 of file TOPTrack.h.
|
inline |
Returns estimated background hit rate.
Definition at line 250 of file TOPTrack.h.
|
inline |
Returns charge.
Definition at line 161 of file TOPTrack.h.
| const TOPTrack::AssumedEmission & getEmissionPoint | ( | double | dL = 0 | ) | const |
Returns assumed photon emission position and track direction.
| dL | length difference to the average emission position |
Definition at line 357 of file TOPTrack.cc.
|
inline |
Returns extrapolated hit (track entrance to the bar)
Definition at line 216 of file TOPTrack.h.
|
inline |
Returns helix Helix is given in nominal slot frame and with reference position at average photon emission.
Definition at line 204 of file TOPTrack.h.
|
inline |
Returns track length within quartz.
Definition at line 173 of file TOPTrack.h.
|
inline |
Returns MC particle assigned to this track (if any)
Definition at line 222 of file TOPTrack.h.
|
inline |
|
inline |
Returns momentum magnitude (extrapolated to TOP)
Definition at line 149 of file TOPTrack.h.
|
inline |
Returns PDG code of associated MCParticle (returns 0 if none)
Definition at line 228 of file TOPTrack.h.
|
inline |
Returns selected photon hits from TOPDigits belonging to the slot ID.
Definition at line 244 of file TOPTrack.h.
|
inline |
Returns time-of-flight from IP to photon emission position.
| particle | particle mass hypothesis |
| dL | length difference to the average emission position |
| overrideMass | alternative mass value to be used to calculate beta. Ignored if <= 0. |
Definition at line 324 of file TOPTrack.h.
|
inline |
|
inline |
Returns track length from IP to the average position of photon emission within quartz.
Definition at line 167 of file TOPTrack.h.
|
inline |
Returns transverse momentum (at POCA)
Definition at line 155 of file TOPTrack.h.
| bool isScanRequired | ( | unsigned | col, |
| double | time, | ||
| double | wid | ||
| ) | const |
Checks if scan method of YScanner is needed to construct PDF for a given pixel column.
| col | pixel column (0-based) |
| time | PDF peak time |
| wid | PDF peak width squared |
Definition at line 370 of file TOPTrack.cc.
|
inline |
Checks if track is successfully constructed.
Definition at line 137 of file TOPTrack.h.
|
inline |
Overrides transformation from local to nominal frame, which is by default obtained from DB.
Needed for module alignment.
| transform | transformation from local to nominal frame |
Definition at line 127 of file TOPTrack.h.
|
private |
Sets the object (called by constructors)
| track | mdst track |
| digitsName | name of TOPDigits collection |
| chargedStable | hypothesis used in mdst track extrapolation |
Definition at line 91 of file TOPTrack.cc.
|
private |
Sets helix (helix is given in nominal frame)
| transform | transformation from local to nominal frame |
Definition at line 170 of file TOPTrack.cc.
|
private |
Calculates intersection of trajectory with prism.
| lengths | trajectory lengths relative to extHit position of intersection points [in/out] |
| positions | positions of intersection points in module local frame [in/out] |
| prism | prism geometry data |
| transform | transformation from local to nominal frame |
Definition at line 273 of file TOPTrack.cc.