5#ifndef AFP_G4_SD_AFP_HITCOLLECTIONBUILDERS_H
6#define AFP_G4_SD_AFP_HITCOLLECTIONBUILDERS_H
18 using AFP_TDSimHitCollection::AFP_TDSimHitCollection;
20 bool HasReachedLimit(
const int stationID,
const int quarticID,
const int detectorID)
const
27 void CountHit(
const int stationID,
const int quarticID,
const int detectorID)
43 if (stationID == 0 && quarticID == 0)
return 0;
44 if (stationID == 0 && quarticID == 1)
return 1;
45 if (stationID == 3 && quarticID == 0)
return 2;
46 if (stationID == 3 && quarticID == 1)
return 3;
59 using AFP_SIDSimHitCollection::AFP_SIDSimHitCollection;
63 return stationID >= 0 && stationID < static_cast<int>(
m_hitsPerStation.size()) &&
70 if (stationID >= 0 && stationID <
static_cast<int>(
m_hitsPerStation.size())) {
AtlasHitsVector< AFP_SIDSimHit > AFP_SIDSimHitCollection
AtlasHitsVector< AFP_TDSimHit > AFP_TDSimHitCollection
void CountHit(const int stationID)
bool HasReachedLimit(const int stationID) const
std::array< int, 4 > m_hitsPerStation
static constexpr int SiDMaxCnt
std::array< std::array< int, 32 >, 4 > m_hitsPerBar
static constexpr int TDMaxCnt
bool HasReachedLimit(const int stationID, const int quarticID, const int detectorID) const
void CountHit(const int stationID, const int quarticID, const int detectorID)
static int CounterIndex(const int stationID, const int quarticID)