|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef RPCRAWDATAMONITORING_RPCTRACKANAALG_H
6 #define RPCRAWDATAMONITORING_RPCTRACKANAALG_H
46 typedef std::map<Identifier, std::shared_ptr<RpcPanel>>
RpcPanelMap;
47 typedef std::pair<ExResult, const std::shared_ptr<GasGapData>>
GasGapResult;
71 const std::vector<TagDef>&)
const;
75 std::vector<GasGapResult>&
results,
79 const std::shared_ptr<GasGapData>&
gap)
const;
83 std::vector<GasGapResult>&
results,
87 const std::shared_ptr<GasGapData>&
gap)
const;
90 std::vector<GasGapResult>&
results,
93 const int panel_index,
int LB,
int phiSector,
95 bool IsNearbyHit(
const std::vector<const Muon::RpcPrepData*>& cluster_hits,
100 this,
"plotMuonEff",
false,
101 "switch to plot histograms for Muon Efficiency"};
103 this,
"plotPRD",
false,
104 "switch to plot histograms for Prepare Data objects"};
109 "Thrshold of luminosity block deruation"};
111 "group name for histograming"};
114 "Elements xml file"};
117 this,
"TagTrigList",
"HLT_mu_ivarmedium;HLT_mu50",
118 "list of triggers to be used for trigger matching"};
120 "Window size in R for trigger matching"};
122 "switch to perform tag-and-probe method"};
124 this,
"TagAndProbeZmumu",
false,
125 "switch to perform tag-and-probe method Z->mumu"};
128 FloatProperty
m_minPt{
this,
"minPt", 25.0e3,
"minmum pT of muon"};
130 "max eta absolute value of muon"};
138 "muon invariant mass in MeV"};
140 this,
"zMass_lowLimit", 50000.,
141 "2 muon invariant mass low limit in Zmumu event"};
143 this,
"zMass_upLimit", 150000.,
144 "2 muon invariant mass up limit in Zmumu event"};
147 this,
"IsolationWindow", 0.1,
148 "Window size in R for isolation with other muons"};
150 this,
"L1TrigMatchingWindow", 0.3,
151 "Window size in R for L1 trigger matching"};
156 this,
"minDRTrackToGasGap", 0.02,
157 "minimum of DR between track and gasgap"};
160 this,
"boundsToleranceReadoutElement", 100.0,
161 "boundsToleranceReadoutElement"};
163 this,
"boundsToleranceReadoutElementTight", 20.0,
164 "boundsToleranceReadoutElementTight"};
167 this,
"diffHitTrackPostion", 30.0,
168 "the largest distance between hit and tracks local postion"};
169 FloatProperty
m_outtime{
this,
"outtime", 12.5,
"the out-time time"};
173 this,
"MuonIdHelperSvc",
"Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
178 this,
"TrackExtrapolator",
"Trk::Extrapolator/AtlasExtrapolator",
179 "Track extrapolator"};
181 this,
"MuonRoIContainerName",
"LVL1MuonRoIs",
"Key for L1 ROIs"};
183 this,
"MuonContainerKey",
"Muons",
184 "Key for Offline muon track Containers"};
186 this,
"RpcPrepDataContainer",
"RPC_Measurements",
"RPC PRDs"};
188 this,
"PrimaryVertexContainerName",
"PrimaryVertices",
189 "Primary Vertex Container"};
193 this,
"beamPosSigmaX",
"EventInfo.beamPosSigmaX",
194 "Beam spot position sigma in X"};
196 this,
"beamPosSigmaY",
"EventInfo.beamPosSigmaY",
197 "Beam spot position sigma in Y"};
201 this,
"beamPosSigmaXY",
"EventInfo.beamPosSigmaXY",
202 "Beam spot covariance in XY"};
208 std::map<std::pair<int, int>, std::vector<std::shared_ptr<GasGapData>>>
Property holding a SG store/key/clid from which a ReadHandle is made.
FloatProperty m_barrelMinPt
std::unique_ptr< Trk::TrackParameters > computeTrackIntersectionWithGasGap(ExResult &result, const xAOD::TrackParticle *track_particle, const std::shared_ptr< GasGapData > &gap) const
RpcTrackAnaAlg(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadHandleKey< xAOD::MuonContainer > m_MuonContainerKey
std::map< std::string, int > m_TriggerThrGroup
BooleanProperty m_plotPRD
StatusCode triggerMatching(const xAOD::Muon *, const std::vector< TagDef > &) const
SG::ReadDecorHandleKey< xAOD::EventInfo > m_beamSigmaXY
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
bool IsNearbyHit(const std::vector< const Muon::RpcPrepData * > &cluster_hits, const Muon::RpcPrepData *hit) const
FloatProperty m_barrelMaxEta
FloatProperty m_trigMatchWindow
BooleanProperty m_plotMuonEff
SG::ReadDecorHandleKey< xAOD::EventInfo > m_beamSigmaX
FloatProperty m_minDRTrackToGasGap
SG::ReadHandleKey< Muon::RpcPrepDataContainer > m_rpcPrdKey
BooleanProperty m_useAODParticle
FloatProperty m_barrelMinEta
StringProperty m_packageName
std::map< std::string, int > m_SectorGroup
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
FloatProperty m_diffHitTrackPostion
Property holding a SG store/key/clid from which a ReadHandle is made.
FloatProperty m_isolationWindow
std::map< BarrelDL, std::vector< int > > m_StationNames
def gap(flags, cells_name, *args, **kw)
StatusCode fillHistPRD(const EventContext &ctx) const
virtual ~RpcTrackAnaAlg()
std::map< std::string, int > m_elementIndex
Base class for Athena Monitoring Algorithms.
ToolHandle< Trk::IExtrapolator > m_extrapolator
StatusCode fillMuonExtrapolateEff(const EventContext &ctx) const
FloatProperty m_l1trigMatchWindow
StatusCode extrapolate2RPC(const xAOD::TrackParticle *track, const Trk::PropDirection direction, std::vector< GasGapResult > &results, BarrelDL barrelDL) const
SG::ReadHandleKey< xAOD::VertexContainer > m_PrimaryVertexContainerKey
Class to represent RPC measurements.
FloatProperty m_zMass_lowLimit
StatusCode initRpcPanel()
::StatusCode StatusCode
StatusCode definition for legacy code.
FloatProperty m_boundsToleranceReadoutElementTight
FloatProperty m_zMass_upLimit
StatusCode initArrayHistosMap()
StatusCode fillClusterSize(std::vector< const Muon::RpcPrepData * > &view_hits, const int panel_index, int LB, int phiSector, int isPhi) const
BooleanProperty m_TagAndProbe
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
StatusCode readHitsPerGasgap(const EventContext &ctx, std::vector< GasGapResult > &results, MuonSource muon_source) const
StringProperty m_elementsFileName
StatusCode setPanelIndex(std::shared_ptr< RpcPanel > panel)
SG::ReadHandleKey< xAOD::MuonRoIContainer > m_MuonRoIContainerKey
SG::ReadDecorHandleKey< xAOD::EventInfo > m_beamSigmaY
FloatProperty m_lbDuraThr
FloatProperty m_boundsToleranceReadoutElement
const RpcIdHelper * m_rpcIdHelper
StatusCode readElIndexFromXML()
std::map< std::pair< int, int >, std::vector< std::shared_ptr< GasGapData > > > m_gasGapData
virtual StatusCode initialize() override
initialize
std::map< Identifier, std::shared_ptr< RpcPanel > > RpcPanelMap
BooleanProperty m_TagAndProbeZmumu
Class describing a TrackParticle.
std::pair< ExResult, const std::shared_ptr< GasGapData > > GasGapResult
StringProperty m_trigTagList
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
std::vector< TagDef > m_trigTagDefs
RpcPanelMap m_rpcPanelMap