ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
L1CaloFEX
L1CaloFEXAlgos
src
eFexEventDumper.h
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
// eFexEventDumper - description:
7
// An algorithm for debugging eFex simulation/hw mismatches by dumping out events to ROOT files.
8
// Should be used for debugging individual events - this algorithm should not be used in standard transforms.
9
// Each event is dumped to an individual interactive canvas in the output file.
10
// Thread-safety has not been considered in its design - should be used in single-thread applications.
11
// -------------------
12
// begin : 24 04 2025
13
// email : will@cern.ch
14
//***************************************************************************/
15
16
#ifndef eFexEventDumper_H
17
#define eFexEventDumper_H
18
19
// STL
20
#include <string>
21
22
// Athena/Gaudi
23
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
24
#include "
xAODTrigL1Calo/eFexTowerContainer.h
"
25
#include "
xAODTrigger/eFexEMRoIContainer.h
"
26
#include "
xAODTrigger/eFexTauRoIContainer.h
"
27
#include "
AthenaPoolUtilities/CondAttrListCollection.h
"
28
#include "TFile.h"
29
30
31
namespace
LVL1
{
32
33
class
eFexEventDumper
:
public
AthReentrantAlgorithm
34
{
35
public
:
36
37
eFexEventDumper
(
const
std::string&
name
, ISvcLocator* pSvcLocator);
38
~eFexEventDumper
() =
default
;
39
40
virtual
StatusCode
initialize
();
41
virtual
StatusCode
execute
(
const
EventContext& ctx)
const
;
42
43
private
:
44
45
Gaudi::Property<std::string>
m_outputFileName
{
this
,
"OutputFile"
,
"eFexEvents.root"
,
"Name of the output file to dump to"
};
46
SG::ReadHandleKey<xAOD::eFexTowerContainer>
m_towerKey
{
this
,
"TowersKey"
,
""
,
"Name of the eFexTowers to dump, if any"
};
47
SG::ReadHandleKey<xAOD::eFexEMRoIContainer>
m_emTOBKey
{
this
,
"EMRoIKey"
,
""
,
"Name of the eFexEMRoIContainer to dump, if any"
};
48
SG::ReadHandleKey<xAOD::eFexTauRoIContainer>
m_tauTOBKey
{
this
,
"TauRoIKey"
,
""
,
"Name of the eFexTauRoIContainer to dump, if any"
};
49
SG::ReadCondHandleKey<CondAttrListCollection>
m_noiseCutsKey
{
this
,
"NoiseCutsKey"
,
"/TRIGGER/L1Calo/V1/Calibration/EfexNoiseCuts"
,
50
"Key to noise cuts (AttrListCollection)"
};
51
52
std::shared_ptr<TFile>
m_file
;
53
54
};
55
56
}
// end of LVL1 namespace
57
#endif
AthReentrantAlgorithm.h
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
LVL1::eFexEventDumper::m_towerKey
SG::ReadHandleKey< xAOD::eFexTowerContainer > m_towerKey
Definition
eFexEventDumper.h:46
LVL1::eFexEventDumper::execute
virtual StatusCode execute(const EventContext &ctx) const
Definition
eFexEventDumper.cxx:34
LVL1::eFexEventDumper::~eFexEventDumper
~eFexEventDumper()=default
LVL1::eFexEventDumper::initialize
virtual StatusCode initialize()
Definition
eFexEventDumper.cxx:25
LVL1::eFexEventDumper::m_emTOBKey
SG::ReadHandleKey< xAOD::eFexEMRoIContainer > m_emTOBKey
Definition
eFexEventDumper.h:47
LVL1::eFexEventDumper::m_noiseCutsKey
SG::ReadCondHandleKey< CondAttrListCollection > m_noiseCutsKey
Definition
eFexEventDumper.h:49
LVL1::eFexEventDumper::m_file
std::shared_ptr< TFile > m_file
Definition
eFexEventDumper.h:52
LVL1::eFexEventDumper::eFexEventDumper
eFexEventDumper(const std::string &name, ISvcLocator *pSvcLocator)
Definition
eFexEventDumper.cxx:19
LVL1::eFexEventDumper::m_tauTOBKey
SG::ReadHandleKey< xAOD::eFexTauRoIContainer > m_tauTOBKey
Definition
eFexEventDumper.h:48
LVL1::eFexEventDumper::m_outputFileName
Gaudi::Property< std::string > m_outputFileName
Definition
eFexEventDumper.h:45
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
eFexEMRoIContainer.h
eFexTauRoIContainer.h
eFexTowerContainer.h
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition
IZdcDataAccess.h:13
TrigConf::name
Definition
HLTChainList.h:35
Generated on
for ATLAS Offline Software by
1.17.0