6#ifndef TRIGT1CALOMONITORING_MISTIMEDSTREAMMONITORALGORITHM
7#define TRIGT1CALOMONITORING_MISTIMEDSTREAMMONITORALGORITHM
61 virtual StatusCode
fillHistograms(
const EventContext& ctx )
const override;
89 StringProperty
m_packageName{
this,
"PackageName",
"MistimedStreamMonitor",
"group name for histogramming"};
91 bool pulseQuality(
const std::vector<uint16_t>& ttPulse,
int peakSlice)
const;
95 PublicToolHandle< Trig::TrigDecisionTool >
m_trigDec{
this,
"TriggerDecisionTool",
"Trig::TrigDecisionTool/TrigDecisionTool",
""};
121 ToolHandle<LVL1::IL1TriggerTowerToolRun3>
m_ttTool{
this,
"L1TriggerTowerToolRun3",
"LVL1::L1TriggerTowerToolRun3/L1TriggerTowerToolRun3",
"L1TriggerTowerToolRun3"};
124 Gaudi::Property<double>
m_phiScaleTT{
this,
"phiScaleTT", 32./
M_PI,
"Scale factor to convert trigger tower phi to integer binning"};
125 Gaudi::Property<bool>
m_uselegacy{
this,
"UseLegacy",
false,
"Use legacy system" };
126 Gaudi::Property<bool>
m_usephaseI{
this,
"UsePhase1",
false,
"Use phaseI system" };
127 Gaudi::Property<bool>
m_isIons{
this,
"IsIons",
false,
"Is ions data" };
128 Gaudi::Property<std::vector<std::string>>
m_efexItems{
this,
"EfexTriggers", {
"L1_eEM26M"},
"eFex trigger items in BC0"};
129 Gaudi::Property<std::vector<std::string>>
m_jfexItems{
this,
"JfexTriggers", {
"L1_jJ160",
"L1_jJ500"},
"jFex trigger items in BC0"};
130 Gaudi::Property<std::vector<std::string>>
m_gfexItems{
this,
"GfexTriggers", {
"L1_gJ400p0ETA25",
"L1_gLJ140p0ETA25"},
"gFex trigger items in BC0"};
138 std::vector<MonitorTT> &vecMonTT)
const;
141 StatusCode fillPPMEtaPhi( MonitorTT &monTT,
142 const std::string& groupName,
143 const std::string& weightName,
144 double weight)
const;
147 std::vector<MonitorCPM> &vecMonCPM)
const;
150 std::vector<MonitorJE> &vecMonJE)
const;
Header file to be included by clients of the Monitored infrastructure.
Property holding a SG store/key/clid from which a ReadHandle is made.
Handle class for reading from StoreGate.
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
static const std::string JetElementLocation
static const std::string xAODTriggerTowerLocation
static const std::string CPMTowerLocation
Gaudi::Property< double > m_phiScaleTT
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Gaudi::Property< bool > m_uselegacy
Gaudi::Property< std::vector< std::string > > m_gfexItems
SG::ReadHandleKey< xAOD::CPMTowerContainer > m_cpmTowerLocation
ToolHandle< LVL1::IL1TriggerTowerToolRun3 > m_ttTool
std::atomic< int > m_eventCounter
Gaudi::Property< bool > m_isIons
SG::ReadHandleKey< xAOD::eFexEMRoIContainer > m_eFexEMOutContainerKey
Gaudi::Property< bool > m_usephaseI
SG::ReadHandleKey< xAOD::eFexTauRoIContainer > m_eFexTauContainerKey
SG::ReadHandleKey< xAOD::jFexTowerContainer > m_EmulTowerKey
SG::ReadCondHandleKey< L1CaloReadoutConfigContainerJSON > m_readoutConfigContainerJSON
Gaudi::Property< int > m_maxEvents
SG::ReadHandleKey< CTP_RDO > m_ctpRdoReadKey
PublicToolHandle< Trig::TrigDecisionTool > m_trigDec
SG::ReadHandleKey< xAOD::jFexTowerContainer > m_jFexDataTowerKey
Gaudi::Property< std::vector< std::string > > m_jfexItems
Gaudi::Property< std::vector< std::string > > m_efexItems
StringProperty m_packageName
SG::ReadCondHandleKey< L1CaloRunParametersContainer > m_runParametersContainer
SG::ReadHandleKey< xAOD::eFexEMRoIContainer > m_eFexEMContainerKey
SG::ReadHandleKey< xAOD::jFexTauRoIContainer > m_jFexTauContainerKey
SG::ReadHandleKeyArray< xAOD::gFexJetRoIContainer > m_gFexJetTobKeyList
SG::ReadHandleKey< xAOD::JetElementContainer > m_jetElementLocation
SG::ReadHandleKey< xAOD::TriggerTowerContainer > m_xAODTriggerTowerContainerName
container keys including steering parameter and description
SG::ReadHandleKey< xAOD::jFexSRJetRoIContainer > m_jFexSRJetContainerKey
virtual ~MistimedStreamMonitorAlgorithm()=default
std::map< uint32_t, int > m_event_counter ATLAS_THREAD_SAFE
SG::ReadHandleKey< xAOD::jFexLRJetRoIContainer > m_jFexLRJetContainerKey
Property holding a SG store/key/clid from which a ReadHandle is made.
static const std::string DEFAULT_RDOOutputLocation
location of CTP RDO output in StoreGate
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray
JetElement_v2 JetElement
Define the latest version of the JetElement class.
CPMTower_v2 CPMTower
Define the latest version of the CPMTower class.
TriggerTower_v2 TriggerTower
Define the latest version of the TriggerTower class.
Struct to contain CPM tower info.
double phi1d
phi for 2d maps with integer bins (taking into account granularity in eta)
std::vector< double > phiScaled
const xAOD::CPMTower * tower
Struct to contain JE info.
const xAOD::JetElement * element
std::vector< double > phiScaled
std::vector< double > etaScaled
Struct to contain PPM trigger tower info.
double phi1d
phi for 2d maps with integer bins (taking into account granularity in eta)
const xAOD::TriggerTower * tower