 |
Belle II Software
release-05-02-19
|
12 #include <tracking/dataobjects/FullSecID.h>
30 template<
class StaticSectorType,
class HitType>
53 explicit ActiveSector(
const StaticSectorType* staticSector):
96 inline const std::vector<HitType*>&
getHits()
const {
return m_hits; }
122 inline void addHit(HitType* newHit) {
m_hits.push_back(newHit); }
126 inline void addHits(std::vector<HitType*>& newHits)
128 for (HitType* aHit : newHits) {
addHit(aHit); }
bool operator>(const ActiveSector &b) const
overloaded '>'-operator for sorting algorithms
std::string getName() const
returns longer debugging name of this sector
const StaticSectorType * m_staticSector
************************* DATA MEMBERS *************************
const std::vector< HitType * > & getHits() const
returns all indices of attached Hits
const std::int32_t m_identifier
unique identifier
const StaticSectorType * getAttachedStaticSector() const
returns pointer to associated static Sector in StoreArray
FullSecID getFullSecID() const
returns VxdID of sensor carrying current sector
const std::vector< FullSecID > & getInner3spSecIDs() const
returns all IDs for inner sectors of three-sector-combinations stored in the static SectorMap
bool operator==(const ActiveSector &b) const
************************* OPERATORS *************************
bool operator<(const ActiveSector &b) const
overloaded '<'-operator for sorting algorithms
Class to identify a sector inside of the VXD.
Abstract base class for different kinds of events.
std::vector< HitType * > m_hits
stores indices of all associated Hits
void addHits(std::vector< HitType * > &newHits)
adds new several new hits to vector of hits
std::int32_t getID() const
************************* PUBLIC MEMBER FUNCTIONS *************************
const std::vector< FullSecID > & getInner2spSecIDs() const
returns all IDs for inner sectors of two-sector-combinations stored in the static SectorMap
void addHit(HitType *newHit)
setters:
const std::vector< FullSecID > & getInner4spSecIDs() const
returns all IDs for inner sectors of four-sector-combinations stored in the static SectorMap
ActiveSector()
************************* CONSTRUCTORS *************************