|
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef TRIGT1CALOMONITORING_CPMMONITORALGORITHM_H
5 #define TRIGT1CALOMONITORING_CPMMONITORALGORITHM_H
76 StringProperty
m_packageName{
this,
"PackageName",
"CpmMonitor",
"group name for histograming"};
78 Gaudi::Property<int>
m_crates{
this,
"s_crates", 4,
"Number of CPM crates"};
79 Gaudi::Property<int>
m_modules{
this,
"s_modules", 14,
"Number of modules per crate (modules numbered 1-14)"};
80 Gaudi::Property<int>
m_maxSlices{
this,
"s_maxSlices", 5,
"Maximum number of slices"};
81 Gaudi::Property<int>
m_tobsPerCPM{
this,
"s_tobsPerCPM", 5,
"Maximum number of TOBs per CPM sent to CMX"};
82 Gaudi::Property<int>
m_isolBits{
this,
"s_isolBits", 5,
"Number of bits for encoded isolation"};
83 Gaudi::Property<int>
m_threshBits{
this,
"s_threshBits", 3,
"Number of bits per threshold for hit sums"};
84 Gaudi::Property<int>
m_thresholds{
this,
"s_thresholds", 16,
"Number of EM/Tau threshold bits"};
85 Gaudi::Property<int>
m_maxTobsPerCmx{
this,
"MaxTOBsPerCMX", 70,
"Maximum number of TOBs per CMX plotted"};
107 std::vector<MonitorCpmTT> &monCpmTTs_em, std::vector<MonitorCpmTT> &monCpmTTs_had,
108 std::vector<int> &errorsCPM,
Property holding a SG store/key/clid from which a ReadHandle is made.
Gaudi::Property< int > m_thresholds
MonitorCmxCpTob()=default
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
StringProperty m_packageName
Gaudi::Property< int > m_crates
StatusCode fillCpmTowerVectors(SG::ReadHandle< xAOD::CPMTowerContainer > &cpmTower, std::vector< MonitorCpmTT > &monCpmTTs_em, std::vector< MonitorCpmTT > &monCpmTTs_had, std::vector< int > &errorsCPM, bool core, Monitored::Scalar< int > &cpmLoc, Monitored::Scalar< int > &GLinkParityError) const
Gaudi::Property< int > m_maxSlices
std::vector< bool > getIsolationBits(int val, int nThresh, int nBits) const
static const std::string CMXCPTobLocation
Description of CMXCPTob_v1.
SG::ReadHandleKey< xAOD::CMXCPHitsContainer > m_cmxCpHitsLocation
Property holding a SG store/key/clid from which a ReadHandle is made.
const xAOD::CMXCPTob_v1 * tob
SG::ReadHandleKey< xAOD::CPMTowerContainer > m_cpmTowerLocationOverlap
Base class for Athena Monitoring Algorithms.
Property holding a SG store/key/clid from which a WriteHandle is made.
const xAOD::CPMTobRoI_v1 * tobroi
virtual StatusCode initialize() override
initialize
::StatusCode StatusCode
StatusCode definition for legacy code.
const xAOD::CPMTower_v2 * ttower
Description of TriggerTower_v2.
Gaudi::Property< int > m_tobsPerCPM
const xAOD::CMXCPHits_v1 * hit
static const std::string CPMTowerLocation
Header file to be included by clients of the Monitored infrastructure.
Gaudi::Property< int > m_maxTobsPerCmx
const xAOD::TriggerTower_v2 * ttower
Property holding a SG store/key/clid from which a WriteHandle is made.
Gaudi::Property< int > m_isolBits
SG::ReadHandleKey< xAOD::CPMTobRoIContainer > m_cpmTobRoiLocation
SG::ReadHandleKey< xAOD::TriggerTowerContainer > m_xAODTriggerTowerContainerName
static const std::string xAODTriggerTowerLocation
Gaudi::Property< int > m_threshBits
SG::WriteHandleKey< std::vector< int > > m_errorLocation
static const std::string CPMTobRoILocation
SG::ReadHandleKey< xAOD::CMXCPTobContainer > m_cmxCpTobLocation
SG::ReadHandleKey< xAOD::CPMTowerContainer > m_cpmTowerLocation
Declare a monitored scalar variable.
Description of CMXCPHits_v1.
Gaudi::Property< int > m_modules
static const std::string CMXCPHitsLocation
virtual ~CpmMonitorAlgorithm()=default
Description of CPMTobRoI_v1.
Description of CPMTower_v2.
CpmMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)