ATLAS Offline Software
Loading...
Searching...
No Matches
TgcRDOAnalysis.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5
6#ifndef TGC_RDO_ANALYSIS_H
7#define TGC_RDO_ANALYSIS_H
8
12
14
15#include "TH1.h"
16
17
18namespace MuonVal{
20
21 public:
23 virtual ~TgcRDOAnalysis()= default;
24 virtual StatusCode initialize() override final;
25 virtual StatusCode execute() override final;
26
27 private:
28 SG::ReadHandleKey<TgcRdoContainer> m_inputKey{this, "InputKey", "TGCRDO"};
29
32 "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
33
34 Gaudi::Property<std::string> m_path{this, "HistPath", "RpcRDOAnalysis"};
35
36 struct HistoSet {
37
42 HistoSet(const TgcIdHelper& idHelper,
44 const std::string& basePath,
45 const int stName);
46
47
48 int stationName{-1};
49 TH1* h_tgcID{nullptr};
50 TH1* h_tgcSubDetID{nullptr};
51 TH1* h_tgcRodID{nullptr};
52 TH1* h_tgcTrigType{nullptr};
53 TH1* h_tgcBcID{nullptr};
54 TH1* h_tgcL1ID{nullptr};
55 TH1* h_bcTag{nullptr};
56 TH1* h_subDetID{nullptr};
57 TH1* h_rodID{nullptr};
58 TH1* h_sswID{nullptr};
59 TH1* h_slbID{nullptr};
60 TH1* h_bcID{nullptr};
61 TH1* h_l1ID{nullptr};
62 TH1* h_type{nullptr};
63 TH1* h_slbType{nullptr};
64 TH1* h_bitPos{nullptr};
65 TH1* h_track{nullptr};
66 TH1* h_adj{nullptr};
67 };
68 std::vector<HistoSet> m_histos{};
69
70
71};
72}
73#endif // TGC_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:
Gaudi::Property< std::string > m_path
virtual StatusCode initialize() override final
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Service handle of the IdHelperSvc.
virtual ~TgcRDOAnalysis()=default
virtual StatusCode execute() override final
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
SG::ReadHandleKey< TgcRdoContainer > m_inputKey
std::vector< HistoSet > m_histos
Class to store array like branches into the n-tuples.
Definition HitValAlg.cxx:19
const std::string & stName(StIndex index)
convert StIndex into a string
Forward declaration.
HistoSet(const TgcIdHelper &idHelper, const ServiceHandle< ITHistSvc > &histSvc, const std::string &basePath, const int stName)
Constructor instantiating the monitoring histograms.
#define private