Belle II Software  release-08-01-10
ActiveSector< StaticSectorType, HitType > Class Template Reference

The ActiveSector Class. More...

#include <ActiveSector.h>

Collaboration diagram for ActiveSector< StaticSectorType, HitType >:

Public Member Functions

 ActiveSector ()
 ************************* CONSTRUCTORS ************************* More...
 
 ActiveSector (const StaticSectorType *staticSector)
 Constructor. More...
 
bool operator== (const ActiveSector &b) const
 ************************* OPERATORS ************************* More...
 
bool operator< (const ActiveSector &b) const
 overloaded '<'-operator for sorting algorithms
 
bool operator> (const ActiveSector &b) const
 overloaded '>'-operator for sorting algorithms
 
std::int32_t getID () const
 ************************* PUBLIC MEMBER FUNCTIONS ************************* More...
 
std::string getName () const
 returns longer debugging name of this sector
 
const std::vector< HitType * > & getHits () const
 returns all indices of attached Hits
 
const std::vector< FullSecID > & getInner2spSecIDs () const
 returns all IDs for inner sectors of two-sector-combinations stored in the static SectorMap
 
const std::vector< FullSecID > & getInner3spSecIDs () const
 returns all IDs for inner sectors of three-sector-combinations stored in the static SectorMap
 
const std::vector< FullSecID > & getInner4spSecIDs () const
 returns all IDs for inner sectors of four-sector-combinations stored in the static SectorMap
 
const StaticSectorType * getAttachedStaticSector () const
 returns pointer to associated static Sector in StoreArray
 
FullSecID getFullSecID () const
 returns VxdID of sensor carrying current sector
 
void addHit (HitType *newHit)
 setters: More...
 
void addHits (const std::vector< HitType * > &newHits)
 adds new several new hits to vector of hits

 

Protected Attributes

const StaticSectorType * m_staticSector
 ************************* DATA MEMBERS ************************* More...
 
std::vector< HitType * > m_hits
 stores indices of all associated Hits
 
const std::int32_t m_identifier
 unique identifier
 

Detailed Description

template<class StaticSectorType, class HitType>
class Belle2::ActiveSector< StaticSectorType, HitType >

The ActiveSector Class.

associated with static sector to be able to access filter cutoffs. It contains a vector of hits associated with it and allows to determine the related inner sectors.

Definition at line 29 of file ActiveSector.h.

Constructor & Destructor Documentation

◆ ActiveSector() [1/2]

ActiveSector ( )
inline

************************* CONSTRUCTORS *************************

Default constructor for root compatibility

Definition at line 46 of file ActiveSector.h.

46 : m_staticSector(nullptr), m_identifier(-1) {}
const std::int32_t m_identifier
unique identifier
Definition: ActiveSector.h:40
const StaticSectorType * m_staticSector
************************* DATA MEMBERS *************************
Definition: ActiveSector.h:34

◆ ActiveSector() [2/2]

ActiveSector ( const StaticSectorType *  staticSector)
inlineexplicit

Constructor.

Parameters
staticSectorpointer to static sector associated with this one.

Definition at line 51 of file ActiveSector.h.

Member Function Documentation

◆ addHit()

void addHit ( HitType *  newHit)
inline

setters:

adds new Hit to vector of Hits

Definition at line 120 of file ActiveSector.h.

◆ getID()

std::int32_t getID ( ) const
inline

************************* PUBLIC MEMBER FUNCTIONS *************************

getters: return ID of this sector

Definition at line 82 of file ActiveSector.h.

◆ operator==()

bool operator== ( const ActiveSector< StaticSectorType, HitType > &  b) const
inline

************************* OPERATORS *************************

overloaded '=='-operator for sorting algorithms

Definition at line 59 of file ActiveSector.h.

Member Data Documentation

◆ m_staticSector

const StaticSectorType* m_staticSector
protected

************************* DATA MEMBERS *************************

Pointer to real sector after design of SectorMap

Definition at line 34 of file ActiveSector.h.


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