![]() |
Belle II Software
release-08-00-10
|
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. More... | |
const std::vector< SecMapTrainerHit > & | getHits () const |
returns hits of track. | |
ConstIterator | outermostHit () const |
returns the iterator-position pointing to the outermost hit. More... | |
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 curren 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.
|
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 |
returns the iterator-position pointing to the outermost hit.
'++' moves the iterator inwards.
Definition at line 43 of file SecMapTrainerTC.h.