ATLAS Offline Software
Loading...
Searching...
No Matches
jFexEmulatedTowers.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5//***************************************************************************
6// jFexEmulatedTowers - description
7// -------------------
8// This reentrant algorithm is meant build jFEX Towers from LAr and Tile
9// Information about SCellContainer objetcs are in:
10// - https://gitlab.cern.ch/atlas/athena/-/blob/22.0/Calorimeter/CaloEvent/CaloEvent/CaloCell.h
11//
12// begin : 01 11 2022
13// email : sergi.rodriguez@cern.ch
14//***************************************************************************/
15
16
17#include "jFexEmulatedTowers.h"
21
22#include <iostream>
23#include <fstream>
24#include <sstream>
25#include <algorithm>
26#include <string>
27
28namespace LVL1 {
29
30jFexEmulatedTowers::jFexEmulatedTowers(const std::string& name, ISvcLocator* svc) : AthReentrantAlgorithm(name, svc){}
31
33
34 ATH_MSG_INFO( "Initializing L1CaloFEXAlgos/jFexEmulatedTowers algorithm with name: "<< name());
35 ATH_MSG_INFO( "Writting into SG key: "<< m_jTowersWriteKey);
36 ATH_MSG_INFO( "SCell masking: "<< m_apply_masking);
37 ATH_MSG_INFO( "Thinnig towers: "<< m_doThinning);
38
39 ATH_CHECK( m_SCellKey.initialize() );
40 ATH_CHECK( m_triggerTowerKey.initialize() );
41 ATH_CHECK( m_jTowersWriteKey.initialize() );
42
43 //Reading from CVMFS Fiber mapping
45
46 //Reading from CVMFS Trigger Tower and their corresponding SCell ID
49
50 // offline energy decoration setup
51 // SCell to Cell mapping
52 if (!m_CaloCellKey.empty()) {
53 ATH_CHECK( m_scellIdTool.retrieve() );
54 ATH_CHECK( detStore()->retrieve (m_caloCellIdHelper, "CaloCell_ID") );
55 }
56
57 // Calo cell container
59
60 // read Tile Tower decoration
62
63 // Readout path cell sum Et decoration
65
66 // tower energy decorations
69
70
71 return StatusCode::SUCCESS;
72}
73
74StatusCode jFexEmulatedTowers::execute(const EventContext& ctx) const {
75
76 //Reading the Scell container
78 if(!ScellContainer.isValid()) {
79 ATH_MSG_ERROR("Could not retrieve collection " << ScellContainer.key() );
80 return StatusCode::FAILURE;
81 }
82
83 //Reading the TriggerTower container
85 if(!triggerTowerContainer.isValid()) {
86 ATH_MSG_ERROR("Could not retrieve collection " << triggerTowerContainer.key() );
87 return StatusCode::FAILURE;
88 }
89
90 // Reading the offline Calo cell container
91 const CaloCellContainer* caloCells = nullptr;
92 if (!m_CaloCellKey.empty()) {
94 if(!caloCellContainer.isValid()) {
95 ATH_MSG_ERROR("Could not retrieve collection " << caloCellContainer.key() );
96 return StatusCode::FAILURE;
97 }
98 caloCells = caloCellContainer.cptr();
99 }
100
101 //WriteHandle for jFEX EDMs
102 //---jTower EDM
104 ATH_CHECK(jTowersContainer.record(std::make_unique<xAOD::jFexTowerContainer>(), std::make_unique<xAOD::jFexTowerAuxContainer>()));
105 ATH_MSG_DEBUG("Recorded jFexEmulatedTower container with key " << jTowersContainer.key());
106
107 if(ScellContainer->empty() || triggerTowerContainer->empty() ){
108 ATH_MSG_WARNING("Cannot fill jTowers here, at least one container is empty. ScellContainer.size="<<ScellContainer->size() << " or triggerTowerContainer.size=" << triggerTowerContainer->size() );
109 return StatusCode::SUCCESS;
110 }
111
112 std::optional<SG::ReadDecorHandle<xAOD::TriggerTowerContainer, std::vector<float>>> cellEtByLayer_handle;
113 if (!m_CaloCellKey.empty()) {
114 cellEtByLayer_handle.emplace(m_readTileOfflineDecorKey, ctx);
115 }
116 std::optional<SG::WriteDecorHandle<xAOD::jFexTowerContainer, float>> jTowerCaloCellSumEt;
117 if (!m_caloCellSumETdecorKey.empty()) {
118 jTowerCaloCellSumEt.emplace(m_caloCellSumETdecorKey, ctx);
119 }
120 std::optional<SG::WriteDecorHandle<xAOD::jFexTowerContainer, int>> jTowerEtMeV;
121 if (!m_jtowerEtMeVdecorKey.empty()) {
122 jTowerEtMeV.emplace(m_jtowerEtMeVdecorKey , ctx);
123 }
124 std::optional<SG::WriteDecorHandle<xAOD::jFexTowerContainer, int>> jTowerEtTimingMeV;
125 if (!m_jtowerEtTimingMeVdecorKey.empty()) {
126 jTowerEtTimingMeV.emplace(m_jtowerEtTimingMeVdecorKey , ctx);
127 }
128
129 // building Scell ID pointers
130 std::unordered_map< uint64_t, const CaloCell*> map_ScellID2ptr;
131 map_ScellID2ptr.reserve(ScellContainer->size());
132
133 for(const CaloCell* scell : *ScellContainer){
134 const uint64_t ID = scell->ID().get_compact();
135 map_ScellID2ptr[ID] = scell;
136 }
137
138 // building Tile ID pointers
139 std::unordered_map< uint32_t, const xAOD::TriggerTower*> map_TileID2ptr;
140
141 for(const xAOD::TriggerTower* tower : *triggerTowerContainer){
142
143 // keeping just tile information
144 if(std::abs(tower->eta())>1.5 || tower->sampling()!=1) continue;
145
146 map_TileID2ptr[tower->coolId()]=tower;
147 }
148
149
150 for( const auto& [key, element] : m_Firm2Tower_map){
151
152 unsigned int jfex = (key >> 16) & 0xf;
153 unsigned int fpga = (key >> 12) & 0xf;
154 unsigned int channel = (key >> 4 ) & 0xff;
155 unsigned int tower = (key >> 0 ) & 0xf;
156
157 const auto [f_IDSimulation, eta, phi, f_source, f_iEta, f_iPhi] = element;
158
159 //elements that need to be casted
160 unsigned int IDSimulation = static_cast<int>(f_IDSimulation);
161 unsigned int source = static_cast<int>(f_source);
162 unsigned int iEta = static_cast<int>(f_iEta);
163 unsigned int iPhi = static_cast<int>(f_iPhi);
164
165 uint16_t Total_Et_encoded = 0;
166 uint16_t Total_Et_Timing_encoded = 0;
167 char jTower_sat = 0;
168
169 float caloCellSumET(0); // Readout Et for Tower
170 int Total_Et_decoded(0);
171 int Total_Et_Timing_decoded(0);
172 if( source != 1 ){
173
174 const std::unordered_map< uint32_t, std::vector<uint64_t> > * ptr_TTower2Cells;
175
176 //HAD layer for HEC, FCAL2 and FCAL3
177 if(source == 3 or source > 4){
178 ptr_TTower2Cells = &m_map_TTower2SCellsHAD;
179 }
180 else{
181 ptr_TTower2Cells = &m_map_TTower2SCellsEM;
182 }
183
184 //check that the jFEX Tower ID exists in the map
185 auto it_TTower2SCells = (*ptr_TTower2Cells).find(IDSimulation);
186 if(it_TTower2SCells == (*ptr_TTower2Cells).end()) {
187 ATH_MSG_ERROR("jFEX ID: "<<IDSimulation<< " not found on map m_map_TTower2SCellsEM/HAD");
188 return StatusCode::FAILURE;
189 }
190
191 int Total_Et = 0;
192 int Total_Timing_Et = 0;
193 float Total_Et_float = 0;
194 bool invalid = m_apply_masking&&m_isDATA; // the isDATA is because there is no concept of invalid supercell in MC (the provenance bit is actually used for BCID in MC), so can never have an invalid jTower.
195 bool masked = m_apply_masking;
196 for (auto const& SCellID : it_TTower2SCells->second ) {
197 //check that the SCell Identifier exists in the map
198 auto it_ScellID2ptr = map_ScellID2ptr.find(SCellID);
199 if(it_ScellID2ptr == map_ScellID2ptr.end()) {
200 if(m_isDATA) ATH_MSG_DEBUG("Scell ID: 0x"<<std::hex<< (SCellID >> 32) <<std::dec<< " not found in the CaloCell Container, skipping");
201 // this is equivalent to treat the scell as a masked input, since masking takes precedence over invalidity
202 continue;
203 }
204
205 const CaloCell* myCell = it_ScellID2ptr->second;
206 int val = std::round(myCell->energy()/(12.5*std::cosh(myCell->eta()))); // 12.5 is b.c. energy is in units of 12.5MeV per count
207 bool isMasked = m_apply_masking ? (myCell->provenance()&0x80) : false;
208 bool isInvalid = (m_apply_masking&&m_isDATA) ? (myCell->provenance()&0x40) : false;
209 bool isSaturated = (m_isDATA) ? myCell->quality() : false; // saturation algorithm not implemented in MC yet
210 bool passTiming = ( myCell->provenance() & 0x200 );
211
212 invalid &= isInvalid;
213 masked &= isMasked;
214 if (!isMasked) {
215 jTower_sat |= isSaturated;
216 }
217
218 if( isMasked ) {
219 //if masked then Et = 0
220 val = 0;
221 //countMasked++;
222 } else if( isInvalid ) {
223 val = 0;
224 }
225
226 Total_Et += val;
227 if(val!=0) Total_Et_float += myCell->et();
228
229 // tau timing cut
230 Total_Timing_Et += (passTiming) ? val : 0;
231
232 // Readout path energy sum
233 if ( !m_CaloCellKey.empty() ) {
234 const std::vector<Identifier> caloCellIds = m_scellIdTool->superCellToOfflineID(myCell->ID());
235 float caloCellEt(0.); // offline Et for the SCell
236 //use findCell function of CaloCellContainer, which takes an identifier hash
237 for(auto& caloCellId : caloCellIds) {
238 const CaloCell* caloCell = caloCells->findCell(m_caloCellIdHelper->calo_cell_hash(caloCellId));
239 if(!caloCell) { ATH_MSG_WARNING("Could not find cell"); continue; }
240 caloCellEt += caloCell->e()*caloCell->sinTh();
241 }
242 caloCellSumET += caloCellEt;
243 }
244
245 } // SCell loop
246
247 // now must convert Total_Et int value into fex value: multi-level encoding
248 if(masked) {
249 Total_Et_encoded = 0; // no data
250 Total_Et_Timing_encoded = 0;
251 } else if(invalid) {
252 Total_Et_encoded = 4095; // invalid
253 Total_Et_Timing_encoded = 4095;
254 } else {
255 Total_Et_encoded = jFEXCompression::Compress( Total_Et*12.5);
256 Total_Et_Timing_encoded = jFEXCompression::Compress( Total_Timing_Et*12.5);
257 }
258
259 // leaving this commented while outstanding questions above about treatment of supercells
260 // using floating point for MC until determine correct procedure for MC values re invalid/masking
261 if(!m_isDATA) Total_Et_encoded = jFEXCompression::Compress( Total_Et_float, masked );
262
263 Total_Et_decoded = jFEXCompression::Expand( Total_Et_encoded );
264 Total_Et_Timing_decoded = jFEXCompression::Expand( Total_Et_Timing_encoded );
265 }
266 else{
267
268 //check that the jFEX Tower ID exists in the map
269 auto it_TTower2Tile = m_map_TTower2Tile.find(IDSimulation);
270 if(it_TTower2Tile == m_map_TTower2Tile.end()) {
271 ATH_MSG_ERROR("ID: "<<IDSimulation<< " not found on map m_map_TTower2Tile");
272 return StatusCode::FAILURE;
273 }
274
275 uint32_t TileID = std::get<0>( it_TTower2Tile->second );
276
277 //check that the Tile Identifier exists in the map
278 auto it_TileID2ptr = map_TileID2ptr.find(TileID);
279 if(it_TileID2ptr == map_TileID2ptr.end()) {
280 if(m_isDATA) ATH_MSG_WARNING("Tile cool ID: "<<TileID<< " not found in the xAOD::TriggerTower, skipping");
281 continue;
282 }
283
284 Total_Et_encoded = (it_TileID2ptr->second)->cpET();
285
286 Total_Et_decoded = Total_Et_encoded * 500;
287 Total_Et_Timing_decoded = Total_Et_encoded * 500;
288
289 // get the offline reconstructed energy from xAODTriggerTower decoration
290 if ( !m_CaloCellKey.empty() ) {
291 if ( cellEtByLayer_handle->isAvailable() ) {
292 const std::vector<float>& cellEtByLayer = (*cellEtByLayer_handle)(*it_TileID2ptr->second);
293 // Stored in GeV, see TrigT1CaloCalibTools/src/L1CaloCells2TriggerTowers.cxx
294 caloCellSumET = 1000.0 * std::accumulate(cellEtByLayer.begin(), cellEtByLayer.end(), 0.0);
295 }
296 }
297 } // end of Tile
298 std::vector<uint16_t> vtower_ET;
299 vtower_ET.push_back(Total_Et_encoded);
300
301 std::vector<char> vtower_SAT;
302
303 //Needs to be updated with Saturation flag from LAr CaloCell container, not ready yet!
304 vtower_SAT.push_back(jTower_sat);
305
306 jTowersContainer->push_back( std::make_unique<xAOD::jFexTower>() );
307 jTowersContainer->back()->initialize(eta, phi, iEta, iPhi, IDSimulation, source, vtower_ET, jfex, fpga, channel, tower, vtower_SAT );
308
309 if( m_doThinning && !jTowersContainer->back()->isCore() ){
310 jTowersContainer->pop_back();
311 } else {
312 // decorate with offline energy
313 if (!m_caloCellSumETdecorKey.empty()) {
314 (*jTowerCaloCellSumEt) (*jTowersContainer->back()) = caloCellSumET;
315 }
316 // decorate tower energies in MeV without/with timing cut
317 if (!m_jtowerEtMeVdecorKey.empty()) {
318 (*jTowerEtMeV) (*jTowersContainer->back()) = Total_Et_decoded;
319 }
320 if (!m_jtowerEtTimingMeVdecorKey.empty()) {
321 (*jTowerEtTimingMeV) (*jTowersContainer->back()) = Total_Et_Timing_decoded;
322 }
323 }
324 } // firmware tower map
325
326 // Return gracefully
327 return StatusCode::SUCCESS;
328}
329
330
331StatusCode jFexEmulatedTowers::ReadFibersfromFile(const std::string & fileName){
332
333 //opening file with ifstream
334 std::ifstream file(fileName);
335
336 if ( !file.is_open() ){
337 ATH_MSG_ERROR("Could not open file:" << fileName);
338 return StatusCode::FAILURE;
339 }
340
341 std::string line;
342 //loading the mapping information
343 while ( std::getline (file, line) ) {
344
345 //removing the header of the file (it is just information!)
346 if(line[0] == '#') continue;
347
348 //Splitting line in different substrings
349 std::stringstream oneLine(line);
350
351 //reading elements
352 std::vector<float> elements;
353 elements.reserve(10);
354 std::string element;
355 while(std::getline(oneLine, element, ' '))
356 {
357 elements.push_back(std::stof(element));
358 }
359
360 // It should have 10 elements
361 // ordered as: jfex fpga channel towerNr source globalEtaIndex globalPhiIndex IDSimulation eta phi
362 if(elements.size() != 10){
363 ATH_MSG_ERROR("Unexpected number of elemennts (10 expected) in file: "<< fileName);
364 return StatusCode::FAILURE;
365 }
366 // building array of <IDSimulation, eta, phi, source, iEta, iPhi>
367 std::array<float,6> aux_arr{ {elements.at(7),elements.at(8),elements.at(9),elements.at(4),elements.at(5),elements.at(6)} };
368
369 //filling the map with the hash given by mapIndex()
370 m_Firm2Tower_map[ mapIndex(elements.at(0),elements.at(1),elements.at(2),elements.at(3)) ] = aux_arr;
371
372 }
373 file.close();
374
375 return StatusCode::SUCCESS;
376}
377
378
379constexpr unsigned int jFexEmulatedTowers::mapIndex(unsigned int jfex, unsigned int fpga, unsigned int channel, unsigned int tower) {
380 // values from hardware: jfex=[0,5] 4 bits, fpga=[0,3] 4 bits, channel=[0,59] 8 bits, tower=[0,15] 4 bits
381 return (jfex << 16) | (fpga << 12) | (channel << 4) | tower;
382}
383
384StatusCode jFexEmulatedTowers::ReadSCfromFile(const std::string& fileName){
385
386 //opening file with ifstream
387 std::ifstream file(fileName);
388
389 if ( !file.is_open() ){
390 ATH_MSG_ERROR("Could not open file:" << fileName);
391 return StatusCode::FAILURE;
392 }
393
394 std::string line;
395 //loading the mapping information into an unordered_map <Fex Tower ID, vector of SCell IDs>
396 while ( std::getline (file, line) ) {
397 //removing the header of the file (it is just information!)
398 if(line[0] == '#') continue;
399
400 std::vector<uint64_t> SCellvectorEM;
401 std::vector<uint64_t> SCellvectorHAD;
402
403 //Splitting line in different substrings
404 std::stringstream oneSCellID(line);
405
406 //reading elements
407 std::string substr = "";
408 int TTID = 0;
409 int elem = 0;
410
411 while(std::getline(oneSCellID, substr, ' '))
412 {
413 ++elem;
414 if(elem == 1){
415 TTID = std::stoi(substr);
416 }
417 else{
418 //Check if it looks like a SCell Identifier
419 if(isBadSCellID(substr)){
420 return StatusCode::FAILURE;
421 }
422
423 // converts hex number to unsigned long long int
424 uint64_t scid_uint64 = std::strtoull(substr.c_str(), nullptr, 0);
425
426 //empty slots are filled with 0xffffffffffffffff
427 if(scid_uint64 == 0xffffffffffffffff) continue;
428
429 //from element from 2 to 13 are EM SCells, element 14 is a HAD SCell
430 if(elem<14) SCellvectorEM.push_back(scid_uint64);
431 else SCellvectorHAD.push_back(scid_uint64);
432 }
433 }
434
435 m_map_TTower2SCellsEM[TTID] = std::move(SCellvectorEM);
436 m_map_TTower2SCellsHAD[TTID] = std::move(SCellvectorHAD);
437
438 }
439 file.close();
440
441 return StatusCode::SUCCESS;
442}
443
444bool jFexEmulatedTowers::isBadSCellID(const std::string& ID) const{
445
446 // does it start with "0x"?, if so then is a GOOD SCell ID!
447 if (ID.find("0x") == std::string::npos) {
448 ATH_MSG_ERROR("Invalid SuperCell ID " << ID << ". Expecting hexadecimal number on the mapping file");
449 return true;
450 }
451 return false;
452}
453
454
455
456
457StatusCode jFexEmulatedTowers::ReadTilefromFile(const std::string& fileName){
458
459 //opening file with ifstream
460 std::ifstream file(fileName);
461
462 if ( !file.is_open() ){
463 ATH_MSG_ERROR("Could not open file:" << fileName);
464 return StatusCode::FAILURE;
465 }
466
467 std::string line;
468 //loading the mapping information into an unordered_map <Fex Tower ID, vector of SCell IDs>
469 while ( std::getline (file, line) ) {
470
471 //removing the header of the file (it is just information!)
472 if(line[0] == '#') continue;
473
474 //Splitting line in different substrings
475 std::stringstream oneLine(line);
476
477 std::vector<std::string> elements;
478 std::string element = "";
479
480 while(std::getline(oneLine, element, ' ')){
481 elements.push_back(element);
482 }
483
484 if(elements.size() != 4){
485 ATH_MSG_ERROR("Invalid number of element in " << line << ". Expecting 4 elements {jFexID, TileID, eta, phi}");
486 return StatusCode::FAILURE;
487 }
488
489 uint32_t jFexID = std::stoi( elements.at(0) );
490 uint32_t TileID = std::stoi( elements.at(1) );
491 float eta = std::stof( elements.at(2) );
492 float phi = std::stof( elements.at(3) );
493
494 m_map_TTower2Tile[jFexID] = {TileID,eta,phi};
495
496 }
497 file.close();
498
499 return StatusCode::SUCCESS;
500}
501
502
503
504
505
506}
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_ERROR(x)
#define ATH_MSG_INFO(x)
#define ATH_MSG_WARNING(x)
#define ATH_MSG_DEBUG(x)
std::vector< Identifier > ID
Handle class for reading a decoration on an object.
Handle class for adding a decoration to an object.
const ServiceHandle< StoreGateSvc > & detStore() const
An algorithm that can be simultaneously executed in multiple threads.
Container class for CaloCell.
const CaloCell * findCell(const IdentifierHash theHash) const
fast find method given identifier hash.
Data object for each calorimeter readout cell.
Definition CaloCell.h:57
virtual double e() const override final
get energy (data member) (synonym to method energy()
Definition CaloCell.h:333
double energy() const
get energy (data member)
Definition CaloCell.h:327
uint16_t provenance() const
get provenance (data member)
Definition CaloCell.h:354
virtual double eta() const override final
get eta (through CaloDetDescrElement)
Definition CaloCell.h:382
virtual double sinTh() const override final
get sin(theta) (through CaloDetDescrElement)
Definition CaloCell.h:389
uint16_t quality() const
get quality (data member)
Definition CaloCell.h:348
virtual double et() const override final
get et
Definition CaloCell.h:423
Identifier ID() const
get ID (from cached data member) non-virtual and inline for fast access
Definition CaloCell.h:295
static int Expand(unsigned int code)
Uncompress data.
static unsigned int Compress(float floatEt, bool empty=false)
Compress data.
SG::ReadHandleKey< CaloCellContainer > m_SCellKey
Gaudi::Property< bool > m_isDATA
SG::WriteDecorHandleKey< xAOD::jFexTowerContainer > m_caloCellSumETdecorKey
SG::ReadHandleKey< CaloCellContainer > m_CaloCellKey
{map index, {IDsimulation,eta,phi,source,iEta,iPhi}}
jFexEmulatedTowers(const std::string &name, ISvcLocator *svc)
static constexpr unsigned int mapIndex(unsigned int jfex, unsigned int fpga, unsigned int channel, unsigned int tower)
SG::ReadHandleKey< xAOD::TriggerTowerContainer > m_triggerTowerKey
SG::ReadDecorHandleKey< xAOD::TriggerTowerContainer > m_readTileOfflineDecorKey
std::unordered_map< uint32_t, std::vector< uint64_t > > m_map_TTower2SCellsEM
std::unordered_map< unsigned int, std::array< float, 6 > > m_Firm2Tower_map
SG::WriteDecorHandleKey< xAOD::jFexTowerContainer > m_jtowerEtMeVdecorKey
const CaloCell_ID * m_caloCellIdHelper
Gaudi::Property< std::string > m_jFEX2Scellmapping
SG::WriteHandleKey< xAOD::jFexTowerContainer > m_jTowersWriteKey
std::unordered_map< uint32_t, std::vector< uint64_t > > m_map_TTower2SCellsHAD
StatusCode ReadSCfromFile(const std::string &)
virtual StatusCode execute(const EventContext &) const override
Function executing the algorithm.
Gaudi::Property< bool > m_apply_masking
virtual StatusCode initialize() override
Function initialising the algorithm.
StatusCode ReadFibersfromFile(const std::string &)
Gaudi::Property< std::string > m_FiberMapping
Gaudi::Property< std::string > m_jFEX2Tilemapping
SG::WriteDecorHandleKey< xAOD::jFexTowerContainer > m_jtowerEtTimingMeVdecorKey
ToolHandle< ICaloSuperCellIDTool > m_scellIdTool
bool isBadSCellID(const std::string &) const
Gaudi::Property< bool > m_doThinning
std::unordered_map< uint32_t, std::tuple< uint32_t, float, float > > m_map_TTower2Tile
StatusCode ReadTilefromFile(const std::string &)
virtual bool isValid() override final
Can the handle be successfully dereferenced?
const_pointer_type cptr()
Dereference the pointer.
virtual const std::string & key() const override final
Return the StoreGate ID for the referenced object.
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
Helper class for TileCal offline identifiers.
Definition TileID.h:67
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
TriggerTower_v2 TriggerTower
Define the latest version of the TriggerTower class.
TFile * file