ATLAS Offline Software
Loading...
Searching...
No Matches
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
17#include "L1TopoRDO/Header.h"
18#include "L1TopoRDO/L1TopoTOB.h"
22
28
30public:L1CaloL1TopoMonitorAlgorithm( const std::string& name, ISvcLocator* pSvcLocator );
32 virtual StatusCode initialize() override;
33 virtual StatusCode fillHistograms( const EventContext& ctx ) const override;
34
35private:
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
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"};
63 "L1TopoRawData", "L1TopoRawData",
64 "Key of the L1Topo DAQ object"};
65};
66#endif
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
Header file to be included by clients of the Monitored infrastructure.
Property holding a SG store/key/clid from which a ReadHandle is made.
#define y
#define x
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
SG::ReadHandleKey< CTP_RDO > m_ctpRdoKey
virtual ~L1CaloL1TopoMonitorAlgorithm()=default
void cpm2Coord(const int crate, const int cpm, const int chip, const int location, int &x, int &y, double &eta, double &phi) const
SG::ReadHandleKey< xAOD::L1TopoRawDataContainer > m_l1TopoKey
void jem2Coord(const int crate, const int jem, const int frame, const int location, int &x, int &y, double &eta, double &phi) const
SG::ReadHandleKey< xAOD::CMXJetTobContainer > m_cmxJetTobLocation
SG::ReadHandleKey< xAOD::CMXCPTobContainer > m_cmxCpTobLocation
static const std::string CMXJetTobLocation
static const std::string CMXCPTobLocation
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
void initialize()