simple Hit class used for sectorMap-training. More...
#include <SecMapTrainerTC.h>
Public Types | |
using | ConstIterator = typename std::vector<SecMapTrainerHit>::const_iterator |
typedef for more readable iterator-type | |
Public Member Functions | |
SecMapTrainerTC (int trackID, float pT, int pdg) | |
Constructor of class SecMapTrainerTC. | |
void | addHit (SecMapTrainerHit hit) |
adds hit to Track. | |
const std::vector< SecMapTrainerHit > & | getHits () const |
returns hits of track. | |
ConstIterator | outermostHit () const |
returns the iterator-position pointing to the outermost hit. | |
ConstIterator | innerEnd () const |
returns the iterator-position pointing after the innermost hit. | |
int | getTrackID () const |
returns indexNumber of current track. | |
int | getPDG () const |
returns pdgCode of current track. | |
unsigned | size () const |
returns number of hits attached to current track. | |
float | getPt () const |
get Pt of track. | |
Protected Attributes | |
int | m_index |
stores index number of track. | |
float | m_pT |
stores transverse momentum value for track classification. | |
int | m_pdg |
stores pdGCode of particle. | |
std::vector< SecMapTrainerHit > | m_hits |
contains hits attached to track. | |
simple Hit class used for sectorMap-training.
Definition at line 22 of file SecMapTrainerTC.h.
using ConstIterator = typename std::vector<SecMapTrainerHit>::const_iterator |
typedef for more readable iterator-type
Definition at line 32 of file SecMapTrainerTC.h.
|
inline |
Constructor of class SecMapTrainerTC.
Definition at line 26 of file SecMapTrainerTC.h.
|
inline |
adds hit to Track.
Always add from outer to inner hits, the TC-Class can not detect that by itself!
Definition at line 36 of file SecMapTrainerTC.h.
|
inline |
|
inline |
returns pdgCode of current track.
Definition at line 52 of file SecMapTrainerTC.h.
|
inline |
|
inline |
returns indexNumber of current track.
Definition at line 49 of file SecMapTrainerTC.h.
|
inline |
returns the iterator-position pointing after the innermost hit.
Definition at line 46 of file SecMapTrainerTC.h.
|
inline |
returns the iterator-position pointing to the outermost hit.
'++' moves the iterator inwards.
Definition at line 43 of file SecMapTrainerTC.h.
|
inline |
returns number of hits attached to current track.
Definition at line 55 of file SecMapTrainerTC.h.
|
protected |
contains hits attached to track.
Definition at line 64 of file SecMapTrainerTC.h.
|
protected |
stores index number of track.
Definition at line 61 of file SecMapTrainerTC.h.
|
protected |
stores pdGCode of particle.
Definition at line 63 of file SecMapTrainerTC.h.
|
protected |
stores transverse momentum value for track classification.
Definition at line 62 of file SecMapTrainerTC.h.