ATLAS Offline Software
Loading...
Searching...
No Matches
MuonStationNtupleHelperTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONMUONSTATIONNTUPLEHELPERTOOL_H
6#define MUONMUONSTATIONNTUPLEHELPERTOOL_H
7
10#include "GaudiKernel/ServiceHandle.h"
12
13namespace Muon
14{
15
26
28 {
29 public:
30 MuonStationNtupleHelperTool(const std::string&,const std::string&,const IInterface*);
31
34
36 virtual StatusCode initialize();
38 virtual StatusCode finalize ();
39
41 virtual StatusCode fillMeasurementData (
44 const int& detectorType,
45 const bool& isOutlier );
46
48 virtual StatusCode fillHoleData (
50 const int&);
51
52
55 virtual StatusCode addNtupleItems (
56 TTree* tree,
57 const int& detectorType );
58
60 virtual StatusCode resetVariables (
61 const int& detectorType );
62
63 private:
64
65 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
66
67 std::vector<int>* m_mdtSectorIx;
68 std::vector<int>* m_mdtStationIx;
69 std::vector<int>* m_rpcSectorIx;
70 std::vector<int>* m_rpcStationIx;
71 std::vector<int>* m_rpcMeasuresPhi;
72 std::vector<int>* m_tgcStationIx;
73 std::vector<int>* m_tgcMeasuresPhi;
74 };
75} // end of namespace
76
77#endif
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
virtual StatusCode fillMeasurementData(const Trk::MeasurementBase *, const Trk::TrackParameters *, const int &detectorType, const bool &isOutlier)
fill hit position data
virtual StatusCode addNtupleItems(TTree *tree, const int &detectorType)
add items to the ntuple and configure the helper tool: should be called once (per detector type) by t...
virtual StatusCode finalize()
standard Athena-Algorithm method
std::vector< int > * m_rpcMeasuresPhi
describe
virtual StatusCode resetVariables(const int &detectorType)
reset ntuple variables
virtual ~MuonStationNtupleHelperTool()=default
default destructor
std::vector< int > * m_mdtSectorIx
sector number 1-16, odd=large, even=small
std::vector< int > * m_tgcMeasuresPhi
describe
MuonStationNtupleHelperTool(const std::string &, const std::string &, const IInterface *)
virtual StatusCode fillHoleData(const Trk::TrackStateOnSurface &, const int &)
fill special data about holes on track (here: do nothing)
std::vector< int > * m_rpcSectorIx
sector number 1-16, odd=large, even=small
std::vector< int > * m_mdtStationIx
describe
std::vector< int > * m_tgcStationIx
describe
std::vector< int > * m_rpcStationIx
describe
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
virtual StatusCode initialize()
standard Athena-Algorithm method
provides the interface for validation helper tools which write special information about generated tr...
This class is the pure abstract base class for all fittable tracking measurements.
represents the track state (measurement, material, fit parameters and quality) at a surface.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
ParametersBase< TrackParametersDim, Charged > TrackParameters
TChain * tree