46 return StatusCode::FAILURE;
48 return StatusCode::SUCCESS;
57 for (
unsigned ireg = 0; ireg <
m_tools.size(); ireg++) {
65 std::vector<std::vector<std::shared_ptr<const FPGATrackSimHit>>> sliceHits(
m_tools.size());
71 for (
auto & iHit:hits)
73 std::shared_ptr<FPGATrackSimHit> hitCopy = std::make_shared<FPGATrackSimHit>(*iHit);
75 if ((subrmap->isInRegion(tool->getSubRegion(), *hitCopy)) ||
m_noHitFilter) {
78 sliceHits[toolNum].push_back(hitCopy);
86 std::vector<std::shared_ptr<const FPGATrackSimRoad>>
r;
88 roads.insert(roads.end(), std::make_move_iterator(
r.begin()), std::make_move_iterator(
r.end()));
92 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
: FPGATrackSim-specific class to represent an hit in the detector.
Maps physical layers to logical layers.
Maps ITK module indices to FPGATrackSim regions.
This file declares a class that stores the module IDs of the sectors.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
void map(FPGATrackSimHit &hit) const