38 return StatusCode::SUCCESS;
46 std::unique_ptr<jTowerContainer> local_jTowerContainerRaw = std::make_unique<jTowerContainer>();
62 std::ofstream sc_tower_map;
63 sc_tower_map.open(
"./new_jfex_SCID.txt");
64 sc_tower_map <<
"# Simulation ID, 12 Scells (EMB or EMEC or FCAL1 layer) + 1 Scell (HEC or FCAL2/3 layer)" <<
"\n";
66 for(
const LVL1::jTower* jtower : *local_jTowerContainerRaw) {
67 sc_tower_map << jtower->OfflineID() <<
" ";
69 std::vector<Identifier> vEM = jtower->getEMSCIDs();
70 for(
const auto& SCellID : vEM) {
71 sc_tower_map << SCellID <<
" ";
73 for(
unsigned int i=0;
i<(12-vEM.size());
i++) {
74 sc_tower_map <<
"0xffffffffffffffff" <<
" ";
77 std::vector<Identifier> vHAD = jtower->getHADSCIDs();
78 for(
const auto& SCellID : vHAD) {
79 sc_tower_map << SCellID <<
" ";
82 sc_tower_map <<
"0xffffffffffffffff" <<
" ";
92 ATH_CHECK(jTowerContainerSG.
record(std::move( local_jTowerContainerRaw ) ) );
98 return StatusCode::SUCCESS;