ATLAS Offline Software
JepCmxMonitorAlgorithm.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef TRIGT1CALOMONITORING_JEPCMXMONITORALGORITHM_H
5 #define TRIGT1CALOMONITORING_JEPCMXMONITORALGORITHM_H
6 
10 
18 
20 public:JepCmxMonitorAlgorithm( const std::string& name, ISvcLocator* pSvcLocator );
21  virtual ~JepCmxMonitorAlgorithm()=default;
22  virtual StatusCode initialize() override;
23  virtual StatusCode fillHistograms( const EventContext& ctx ) const override;
24 
25 private:
26 
27  StringProperty m_packageName{this,"PackageName","JepCmxMonitor","group name for histograming"};
28 
29  Gaudi::Property<int> m_crates {this, "s_crates", 2, "Number of JEM crates"};
30  Gaudi::Property<int> m_modules {this, "s_modules", 16, "Number of modules per crate"};
31  Gaudi::Property<int> m_tobsPerJem {this, "s_tobsPerJem", 4, "Maximum number of TOBs per JEM sent to CMX"};
32  Gaudi::Property<int> m_maxTobsPerCmx{this, "s_maxTobsPerCmx", 64, "Maximum number of TOBs per CMX plotted"};
33 
35 
36  // container keys including steering parameter and description
41 
43  Monitored::Scalar<int> &hitVar,
44  int val, int nThresh,
45  int nBits, int offset = 0
46  ) const;
47 
49  Monitored::Scalar<int> &monVarY,
50  Monitored::Scalar<int> &hitVar,
51  int val, int y, int nThresh,
52  int nBits, int offset = 0
53  ) const;
54 };
55 
56 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
JepCmxMonitorAlgorithm::m_CMXJetHitsLocation
SG::ReadHandleKey< xAOD::CMXJetHitsContainer > m_CMXJetHitsLocation
Definition: JepCmxMonitorAlgorithm.h:38
JepCmxMonitorAlgorithm::m_modules
Gaudi::Property< int > m_modules
Definition: JepCmxMonitorAlgorithm.h:30
JepCmxMonitorAlgorithm::~JepCmxMonitorAlgorithm
virtual ~JepCmxMonitorAlgorithm()=default
JepCmxMonitorAlgorithm::EnergyStatus
@ EnergyStatus
Definition: JepCmxMonitorAlgorithm.h:34
JepCmxMonitorAlgorithm::EnergyParity
@ EnergyParity
Definition: JepCmxMonitorAlgorithm.h:34
JepCmxMonitorAlgorithm::m_CMXJetTobLocation
SG::ReadHandleKey< xAOD::CMXJetTobContainer > m_CMXJetTobLocation
Definition: JepCmxMonitorAlgorithm.h:37
LVL1::TrigT1CaloDefs::CMXJetTobLocation
static const std::string CMXJetTobLocation
Definition: TrigT1CaloDefs.h:55
LVL1::TrigT1CaloDefs::CMXJetHitsLocation
static const std::string CMXJetHitsLocation
Definition: TrigT1CaloDefs.h:56
LVL1::TrigT1CaloDefs::CMXRoILocation
static const std::string CMXRoILocation
Definition: TrigT1CaloDefs.h:60
JepCmxMonitorAlgorithm::NumberOfSummaryBins
@ NumberOfSummaryBins
Definition: JepCmxMonitorAlgorithm.h:34
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
JepCmxMonitorAlgorithm::JepCmxMonitorAlgorithm
JepCmxMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Definition: JepCmxMonitorAlgorithm.cxx:7
CMXRoIContainer.h
JepCmxMonitorAlgorithm::m_maxTobsPerCmx
Gaudi::Property< int > m_maxTobsPerCmx
Definition: JepCmxMonitorAlgorithm.h:32
CMXJetHitsContainer.h
JepCmxMonitorAlgorithm::JetParity
@ JetParity
Definition: JepCmxMonitorAlgorithm.h:34
CrateEnergy.h
AthMonitorAlgorithm
Base class for Athena Monitoring Algorithms.
Definition: AthMonitorAlgorithm.h:36
JepCmxMonitorAlgorithm::m_crates
Gaudi::Property< int > m_crates
Definition: JepCmxMonitorAlgorithm.h:29
JepCmxMonitorAlgorithm::m_CMXRoILocation
SG::ReadHandleKey< xAOD::CMXRoIContainer > m_CMXRoILocation
Definition: JepCmxMonitorAlgorithm.h:40
LVL1::TrigT1CaloDefs::CMXEtSumsLocation
static const std::string CMXEtSumsLocation
Definition: TrigT1CaloDefs.h:57
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthMonitorAlgorithm.h
CMXEtSumsContainer.h
JepCmxMonitorAlgorithm::m_CMXEtSumsLocation
SG::ReadHandleKey< xAOD::CMXEtSumsContainer > m_CMXEtSumsLocation
Definition: JepCmxMonitorAlgorithm.h:39
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
DataError.h
CMXJetTobContainer.h
JepCmxMonitorAlgorithm::fillThresholds
void fillThresholds(Monitored::Scalar< int > &monVar, Monitored::Scalar< int > &hitVar, int val, int nThresh, int nBits, int offset=0) const
Definition: JepCmxMonitorAlgorithm.cxx:684
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
JepCmxMonitorAlgorithm::JetStatus
@ JetStatus
Definition: JepCmxMonitorAlgorithm.h:34
JepCmxMonitorAlgorithm::SummaryErrors
SummaryErrors
Definition: JepCmxMonitorAlgorithm.h:34
JepCmxMonitorAlgorithm::initialize
virtual StatusCode initialize() override
initialize
Definition: JepCmxMonitorAlgorithm.cxx:12
JepCmxMonitorAlgorithm::fillThresholdsVsY
void fillThresholdsVsY(Monitored::Scalar< int > &monVarX, Monitored::Scalar< int > &monVarY, Monitored::Scalar< int > &hitVar, int val, int y, int nThresh, int nBits, int offset=0) const
Definition: JepCmxMonitorAlgorithm.cxx:699
TrigT1CaloDefs.h
JepCmxMonitorAlgorithm::m_tobsPerJem
Gaudi::Property< int > m_tobsPerJem
Definition: JepCmxMonitorAlgorithm.h:31
y
#define y
Pythia8_RapidityOrderMPI.val
val
Definition: Pythia8_RapidityOrderMPI.py:14
convertTimingResiduals.offset
offset
Definition: convertTimingResiduals.py:71
JepCmxMonitorAlgorithm
Definition: JepCmxMonitorAlgorithm.py:1
Monitored::Scalar
Declare a monitored scalar variable.
Definition: MonitoredScalar.h:34
JepCmxMonitorAlgorithm::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition: JepCmxMonitorAlgorithm.cxx:39
JepCmxMonitorAlgorithm::m_packageName
StringProperty m_packageName
Definition: JepCmxMonitorAlgorithm.h:27