6#ifndef HitAnalysis_xMuonSimHitAnalysis_H
7#define HitAnalysis_xMuonSimHitAnalysis_H
21 virtual StatusCode
initialize()
override final;
22 virtual StatusCode
execute()
override final;
29 "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
34 Gaudi::Property<std::string>
m_path{
this,
"HistPath",
"MuonSDOAnalysis"};
39 Gaudi::Property<int>
m_techIdx{
this,
"techIndex", -1};
50 const std::string& basePath,
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:
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Service handle of the IdHelperSvc.
SG::ReadHandleKey< ActsTrk::GeometryContext > m_geoCtxKey
std::vector< HistoSet > m_histos
Gaudi::Property< std::string > m_path
Gaudi::Property< int > m_techIdx
const MuonGMR4::MuonDetectorManager * m_detMgr
MuonSimHit.
SG::ReadHandleKey< xAOD::MuonSimHitContainer > m_inputKey
virtual StatusCode execute() override final
Muon::MuonStationIndex::TechnologyIndex TechIdx_t
Muon::MuonStationIndex::StIndex StIdx_t
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
virtual StatusCode initialize() override final
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
Property holding a SG store/key/clid from which a ReadHandle is made.
Lightweight algorithm to read xAOD MDT sim hits and (fast-digitised) drift circles from SG and fill a...
StIndex
enum to classify the different station layers in the muon spectrometer
TechnologyIndex
enum to classify the different layers in the muon spectrometer
TH1 * h_dirPhi
Local phi direction of the hit.
TH1 * h_deposit
Energy deposit of the hit.
TH1 * h_localHitPos
Local position of the hit (signed radius) / pos in x-y plane.
TH1 * h_stationEta
Station eta of the hit.
HistoSet(const Muon::IMuonIdHelperSvc *idHelperSvc, const ServiceHandle< ITHistSvc > &histSvc, const std::string &basePath, const TechIdx_t techIdx, const int stIdent)
Helper struct to define histograms spectrometer region.
TH1 * h_energy
Energy of the hit.
TH1 * h_stationPhi
Station phi of the hit.
TH1 * h_localHitZ
Local z-hit position.
TH1 * h_globHitXY
Global hit position (x-y) plane.
int identifier
Identifier (Either the stationIndex (Mdt/Rpc) or stationName (Tgc/Mm/sTgc))
TH1 * h_dirTheta
Local theta direction of the hit.
TH1 * h_pdgId
pdgId of the hit
TH1 * h_globHitRZ
Global hit position (r-z) plane.