ATLAS Offline Software
Loading...
Searching...
No Matches
RpcRDOAnalysis.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef RPC_RDO_ANALYSIS_H
5#define RPC_RDO_ANALYSIS_H
6
10
15
16
17
18#include "TH1.h"
19
20namespace MuonVal{
22 public:
24 ~RpcRDOAnalysis() = default;
25
26
27 virtual StatusCode initialize() override final;
28 virtual StatusCode execute() override final;
29
30 private:
31 SG::ReadHandleKey<RpcPadContainer> m_inputKeyPad{this, "InputPadKey", "RPCPAD"};
33 SG::ReadCondHandleKey<Muon::RpcCablingMap> m_cablingKey{this, "CablingKey", "MuonNRPC_CablingMap",
34 "Key of MuonNRPC_CablingMap"};
35
36
37
40 "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
41
42 Gaudi::Property<std::string> m_path{this, "HistPath", "RpcRDOAnalysis"};
43
44
47
53 const std::string& basePath,
54 const ChIdx_t chIndex);
55
56 ChIdx_t chIdx{ChIdx_t::ChUnknown};
57
58 TH1* h_status{nullptr};
59 TH1* h_err{nullptr};
60 TH1* h_onlineID{nullptr};
61 TH1* h_lvl1ID{nullptr};
62 TH1* h_bcID{nullptr};
63 TH1* h_sector{nullptr};
64
65 TH1* h_coinRpcID{nullptr};
66 TH1* h_coinOnID{nullptr};
67 TH1* h_coinCrc{nullptr};
68 TH1* h_coinFel1ID{nullptr};
69 TH1* h_coinFebcID{nullptr};
70
71 TH1* h_firedBcID{nullptr};
72 TH1* h_firedTime{nullptr};
73 TH1* h_firedIjk{nullptr};
74 TH1* h_firedChan{nullptr};
75 TH1* h_firedOvl{nullptr};
76 TH1* h_firedThr{nullptr};
77 };
78
79 struct RdoHistoSet {
85 const std::string& basePath,
86 const ChIdx_t chIndex);
87
88 ChIdx_t chIdx{ChIdx_t::ChUnknown};
90 TH1* h_bcid{nullptr};
92 TH1* h_time{nullptr};
94 TH1* h_tOverThr{nullptr};
96 TH1* h_subDet{nullptr};
98 TH1* h_boardSec{nullptr};
100 TH1* h_board{nullptr};
102 TH1* h_channelId{nullptr};
103 };
104
105 std::vector<PadHistoSet> m_padHistos{};
106 std::vector<RdoHistoSet> m_rdoHistos{};
107 };
108}
109
110#endif // RPC_RDO_ANALYSIS_H
Property holding a SG store/key/clid from which a ReadHandle is made.
const ServiceHandle< ITHistSvc > & histSvc() const
The standard THistSvc (for writing histograms and TTrees and more to a root file) Returns (kind of) a...
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
virtual StatusCode initialize() override final
std::vector< RdoHistoSet > m_rdoHistos
SG::ReadHandleKey< xAOD::NRPCRDOContainer > m_inputKeyRdo
SG::ReadHandleKey< RpcPadContainer > m_inputKeyPad
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Service handle of the IdHelperSvc.
Gaudi::Property< std::string > m_path
SG::ReadCondHandleKey< Muon::RpcCablingMap > m_cablingKey
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
std::vector< PadHistoSet > m_padHistos
Muon::MuonStationIndex::ChIndex ChIdx_t
virtual StatusCode execute() override final
Use IdentifiableContainer with RpcPad.
Property holding a SG store/key/clid from which a ReadHandle is made.
Class to store array like branches into the n-tuples.
Definition HitValAlg.cxx:19
ChIndex chIndex(const std::string &index)
convert ChIndex name string to enum
ChIndex
enum to classify the different chamber layers in the muon spectrometer
Forward declaration.
PadHistoSet(const ServiceHandle< ITHistSvc > &histSvc, const std::string &basePath, const ChIdx_t chIndex)
Constructor instantiating the monitoring histograms.
RdoHistoSet(const ServiceHandle< ITHistSvc > &histSvc, const std::string &basePath, const ChIdx_t chIndex)
Constructor instantiating the monitoring histograms.
TH1 * h_tOverThr
Time over threshold.
#define private