 |
ATLAS Offline Software
|
Go to the documentation of this file.
12 #include <nlohmann/json.hpp>
22 return StatusCode::SUCCESS;
30 std::set<unsigned> modules;
33 for (
const auto &binelem :
data) {
34 std::vector<unsigned>
bin;
35 binelem.at(
"bin").get_to(
bin);
36 auto& lyrmap = binelem[
"lyrmap"];
39 for (
auto &lyrelem : lyrmap) {
41 lyrelem.at(
"lyr").get_to(
layer);
42 lyrelem.at(
"mods").get_to(modules);
58 std::vector<std::shared_ptr<const FPGATrackSimHit>>& firstHits,
59 std::vector<std::shared_ptr<const FPGATrackSimHit>>& secondHits) {
78 for (
const std::shared_ptr<const FPGATrackSimHit>& hit :
hits) {
91 firstHits.push_back(hit);
95 secondHits.push_back(hit);
105 ATH_MSG_DEBUG(
"From " <<
hits.size() <<
" total input hits, sent " << firstHits.size() <<
" (" << secondHits.size() <<
") to first (second) stage in region");
char data[hepevt_bytes_allocation_ATLAS]
Maps ITK module indices to FPGATrackSim regions.
::StatusCode StatusCode
StatusCode definition for legacy code.
std::vector< uint32_t > getRegions(const FPGATrackSimHit &hit) const