ATLAS Offline Software
Loading...
Searching...
No Matches
MdtRDOAnalysis.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 MDT_RDO_ANALYSIS_H
5#define MDT_RDO_ANALYSIS_H
6
8
13
14#include "TH1.h"
15
16
17namespace MuonVal{
20
21 public:
23 virtual StatusCode initialize() override final;
24 virtual StatusCode execute() override final;
25 private:
29 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
30
31 Gaudi::Property<std::string> m_path{this, "HistPath", "MdtRDOAnalysis"};
32
33
36 struct HistoSet{
38 HistoSet() = default;
44 const std::string& basePath,
45 const StIdx_t stIdx);
46
47 StIdx_t stIdx{StIdx_t::StUnknown};
48 TH1* h_subID{nullptr};
49 TH1* h_mrodID{nullptr};
50 TH1* h_csmID{nullptr};
51 TH1* h_tdcID{nullptr};
52 TH1* h_chanID{nullptr};
53 TH1* h_coarse{nullptr};
54 TH1* h_fine{nullptr};
55 TH1* h_width{nullptr};
56 };
57 std::vector<HistoSet> m_histos{};
58 };
59}
60#endif // MDT_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:
Class dumping the basic distributions of the Mdt RDOs per station index.
std::vector< HistoSet > m_histos
Gaudi::Property< std::string > m_path
virtual StatusCode execute() override final
SG::ReadHandleKey< MdtCsmContainer > m_inputKey
Input read handle key.
virtual StatusCode initialize() override final
Muon::MuonStationIndex::StIndex StIdx_t
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Service handle of the IdHelperSvc.
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
StIndex
enum to classify the different station layers in the muon spectrometer
HistoSet()=default
Default constructor.