35 return StatusCode::SUCCESS;
42 std::unique_ptr<eTowerContainer> local_eTowerContainerRaw = std::make_unique<eTowerContainer>();
46 local_eTowerContainerRaw->clearContainerMap();
47 local_eTowerContainerRaw->fillContainerMap();
56 std::ofstream sc_tower_map;
57 sc_tower_map.open(
"./sc_tower_map.csv");
58 sc_tower_map <<
"#eTowerID,scID,slot,isSplit" <<
"\n";
60 for (
auto thistower : *local_eTowerContainerRaw){
63 std::vector<Identifier> scIDs = thistower->getLayerSCIDs(
layer);
64 std::vector<unsigned int> splits = thistower->getETSplits();
65 for (
auto scid : scIDs){
66 sc_tower_map << thistower->id() <<
"," << scid <<
"," << slotcount <<
"," << splits[slotcount] <<
"\n";
77 ATH_CHECK(eTowerContainerSG.
record(std::move(local_eTowerContainerRaw)));
83 return StatusCode::SUCCESS;