ATLAS Offline Software
L1CaloL1TopoMonitorAlgorithm.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_L1CALOL1TOPOMONITORALGORITHM_H
5 #define TRIGT1CALOMONITORING_L1CALOL1TOPOMONITORALGORITHM_H
6 
10 
14 #include "TrigT1Result/CTP_RDO.h"
17 #include "L1TopoRDO/Header.h"
18 #include "L1TopoRDO/L1TopoTOB.h"
22 
30 public:L1CaloL1TopoMonitorAlgorithm( const std::string& name, ISvcLocator* pSvcLocator );
31  virtual ~L1CaloL1TopoMonitorAlgorithm()=default;
32  virtual StatusCode initialize() override;
33  virtual StatusCode fillHistograms( const EventContext& ctx ) const override;
34 
35 private:
36  void jem2Coord(const int crate, const int jem,
37  const int frame, const int location,
38  int &x, int &y, double &eta, double &phi) const;
39  void cpm2Coord(const int crate, const int cpm,
40  const int chip, const int location,
41  int &x, int &y, double &eta, double &phi) const;
42 
43  StringProperty m_packageName{this,"PackageName","L1CaloL1TopoMonitor",
44  "group name for histograming"};
45 
46  enum class SummaryErrors : int {
49  };
51  static const int MAXTOBS=30;
52 
53  // container keys including steering parameter and description
54  SG::ReadHandleKey<CTP_RDO> m_ctpRdoKey {this, "CTPRDOLocation",
55  LVL1CTP::DEFAULT_RDOOutputLocation,"Key of the CTP RDO object"};
57  "CMXCPTobLocation", LVL1::TrigT1CaloDefs::CMXCPTobLocation,
58  "CMXCPTob container"};
60  "CMXJetTobLocation", LVL1::TrigT1CaloDefs::CMXJetTobLocation,
61  "CMXJetTob container"};
63  "L1TopoRawData", "L1TopoRawData",
64  "Key of the L1Topo DAQ object"};
65 };
66 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
L1CaloL1TopoMonitorAlgorithm::SummaryErrors::DAQ_CONV
@ DAQ_CONV
L1CaloL1TopoMonitorAlgorithm::JETS_TOB
@ JETS_TOB
Definition: L1CaloL1TopoMonitorAlgorithm.h:50
L1CaloL1TopoMonitorAlgorithm::m_ctpRdoKey
SG::ReadHandleKey< CTP_RDO > m_ctpRdoKey
Definition: L1CaloL1TopoMonitorAlgorithm.h:54
L1CaloL1TopoMonitorAlgorithm::~L1CaloL1TopoMonitorAlgorithm
virtual ~L1CaloL1TopoMonitorAlgorithm()=default
CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
RoIBResult.h
L1CaloL1TopoMonitorAlgorithm::initialize
virtual StatusCode initialize() override
initialize
Definition: L1CaloL1TopoMonitorAlgorithm.cxx:32
LVL1::TrigT1CaloDefs::CMXJetTobLocation
static const std::string CMXJetTobLocation
Definition: TrigT1CaloDefs.h:55
LVL1::TrigT1CaloDefs::CMXCPTobLocation
static const std::string CMXCPTobLocation
Definition: TrigT1CaloDefs.h:58
L1CaloL1TopoMonitorAlgorithm::JETL_TOB
@ JETL_TOB
Definition: L1CaloL1TopoMonitorAlgorithm.h:50
SG::ReadHandleKey< CTP_RDO >
L1CaloL1TopoMonitorAlgorithm::cpm2Coord
void cpm2Coord(const int crate, const int cpm, const int chip, const int location, int &x, int &y, double &eta, double &phi) const
Definition: L1CaloL1TopoMonitorAlgorithm.cxx:512
x
#define x
CMXCPTobContainer.h
L1CaloL1TopoMonitorAlgorithm::MU_TOB
@ MU_TOB
Definition: L1CaloL1TopoMonitorAlgorithm.h:50
L1CaloL1TopoMonitorAlgorithm::SummaryErrors::NO_DAQ
@ NO_DAQ
TrigT1StoreGateKeys.h
L1CaloL1TopoMonitorAlgorithm::TOB_TYPE
TOB_TYPE
Definition: L1CaloL1TopoMonitorAlgorithm.h:50
AthMonitorAlgorithm
Base class for Athena Monitoring Algorithms.
Definition: AthMonitorAlgorithm.h:36
L1CaloL1TopoMonitorAlgorithm::EM_TOB
@ EM_TOB
Definition: L1CaloL1TopoMonitorAlgorithm.h:50
FrontPanelCTP.h
L1TopoRawDataContainer.h
Header.h
L1CaloL1TopoMonitorAlgorithm::MAXTOBS
static const int MAXTOBS
Definition: L1CaloL1TopoMonitorAlgorithm.h:51
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
L1CaloL1TopoMonitorAlgorithm::SummaryErrors::NO_CMX
@ NO_CMX
AthMonitorAlgorithm.h
L1CaloL1TopoMonitorAlgorithm::m_packageName
StringProperty m_packageName
Definition: L1CaloL1TopoMonitorAlgorithm.h:43
L1CaloL1TopoMonitorAlgorithm::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition: L1CaloL1TopoMonitorAlgorithm.cxx:46
L1TopoRDOCollection.h
L1CaloL1TopoMonitorAlgorithm::jem2Coord
void jem2Coord(const int crate, const int jem, const int frame, const int location, int &x, int &y, double &eta, double &phi) const
Definition: L1CaloL1TopoMonitorAlgorithm.cxx:498
L1CaloL1TopoMonitorAlgorithm::m_l1TopoKey
SG::ReadHandleKey< xAOD::L1TopoRawDataContainer > m_l1TopoKey
Definition: L1CaloL1TopoMonitorAlgorithm.h:62
L1CaloL1TopoMonitorAlgorithm
Definition: L1CaloL1TopoMonitorAlgorithm.py:1
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
L1CaloL1TopoMonitorAlgorithm::m_cmxJetTobLocation
SG::ReadHandleKey< xAOD::CMXJetTobContainer > m_cmxJetTobLocation
Definition: L1CaloL1TopoMonitorAlgorithm.h:59
CMXJetTobContainer.h
L1CaloL1TopoMonitorAlgorithm::SummaryErrors::PAYL_CRC
@ PAYL_CRC
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
TrigT1CaloDefs.h
L1CaloL1TopoMonitorAlgorithm::SummaryErrors::CMX_MATCH
@ CMX_MATCH
CTP_RDO.h
y
#define y
L1CaloL1TopoMonitorAlgorithm::SummaryErrors::NUMBEROFBITS
@ NUMBEROFBITS
L1CaloL1TopoMonitorAlgorithm::SummaryErrors::ROI_CONV
@ ROI_CONV
L1CaloL1TopoMonitorAlgorithm::SummaryErrors
SummaryErrors
Definition: L1CaloL1TopoMonitorAlgorithm.h:46
L1TopoTOB.h
L1CaloL1TopoMonitorAlgorithm::L1CaloL1TopoMonitorAlgorithm
L1CaloL1TopoMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Definition: L1CaloL1TopoMonitorAlgorithm.cxx:26
L1CaloL1TopoMonitorAlgorithm::TAU_TOB
@ TAU_TOB
Definition: L1CaloL1TopoMonitorAlgorithm.h:50
L1CaloL1TopoMonitorAlgorithm::SummaryErrors::F_CRC
@ F_CRC
L1CaloL1TopoMonitorAlgorithm::TOB_TYPES
@ TOB_TYPES
Definition: L1CaloL1TopoMonitorAlgorithm.h:50
L1CaloL1TopoMonitorAlgorithm::m_cmxCpTobLocation
SG::ReadHandleKey< xAOD::CMXCPTobContainer > m_cmxCpTobLocation
Definition: L1CaloL1TopoMonitorAlgorithm.h:56
L1CaloL1TopoMonitorAlgorithm::SummaryErrors::CALO_CONV
@ CALO_CONV