Belle II Software  release-08-00-10
SecMapTrainerTC Class Reference

simple Hit class used for sectorMap-training. More...

#include <SecMapTrainerTC.h>

Collaboration diagram for SecMapTrainerTC:

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< SecMapTrainerHitm_hits
 contains hits attached to track.
 

Detailed Description

simple Hit class used for sectorMap-training.

Definition at line 22 of file SecMapTrainerTC.h.

Member Function Documentation

◆ addHit()

void addHit ( SecMapTrainerHit  hit)
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.

36 { m_hits.push_back(hit); }
std::vector< SecMapTrainerHit > m_hits
contains hits attached to track.

◆ outermostHit()

ConstIterator outermostHit ( ) const
inline

returns the iterator-position pointing to the outermost hit.

'++' moves the iterator inwards.

Definition at line 43 of file SecMapTrainerTC.h.


The documentation for this class was generated from the following file: