Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef RECBACKGROUNDALGS_BEAMBACKGROUNDFILLER
6 #define RECBACKGROUNDALGS_BEAMBACKGROUNDFILLER
11 #include "AthLinks/ElementLinkVector.h"
13 #include "GaudiKernel/ServiceHandle.h"
22 #include "GaudiKernel/SystemOfUnits.h"
103 void FindFakeJets(
const EventContext& ctx, Cache& cache)
const;
111 this,
"SegmentKeys", {
"NCB_TrackMuonSegments", } ,
112 "Muon segment collections from the MS patterns"};
117 this,
"caloClusterContainerKey",
"CaloCalTopoClusters",
118 "ReadHandleKey for CaloClusterContainer"};
122 this,
"jetContainerKey",
"AntiKt4EMTopoJets",
123 "ReadHandleKey for JetContainer"};
127 this,
"BeamBackgroundKey",
"BeamBackgroundData",
128 "WriteHandleKey for BeamBackgroundData"};
154 Gaudi::Property<double>
m_cutDrdz{
this,
"cutDrdz", 0.15};
156 this,
"edmHelper",
"Muon::MuonEDMHelperSvc/MuonEDMHelperSvc",
157 "Handle to the service providing the IMuonEDMHelperSvc interface"};
159 this,
"MuonIdHelperSvc",
"Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
SG::ReadHandleKey< xAOD::JetContainer > m_jetContainerReadHandleKey
ReadHandleKey for JetContainer.
ElementLinkVector< Trk::SegmentCollection > m_indexSeg
void SegmentMethod(Cache &cache) const
This function looks at the segments found by the FillMatchMatrix function.
std::vector< int > m_resultClus
Gaudi::Property< double > m_cutDphiSegAC
Gaudi::Property< double > m_clusRadiusHigh
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_caloClusterContainerReadHandleKey
ReadHandleKey for CaloClusterContainer.
void FillBeamBackgroundData(SG::WriteHandle< BeamBackgroundData > &beamBackgroundDataWriteHandle, Cache &cache) const
This function stores all the results in BeamBackgroundData.
BeamBackgroundFiller(const std::string &name, ISvcLocator *pSvcLocator)
Gaudi::Property< double > m_cutDphiClusSeg
Gaudi::Property< double > m_cutDradClusSeg
ElementLinkVector implementation for standalone ROOT.
ElementLinkVector< xAOD::CaloClusterContainer > m_indexClus
Implementation of the Beam Background Identification Method.
An algorithm that can be simultaneously executed in multiple threads.
Gaudi::Property< double > m_cutDrdz
Gaudi::Property< double > m_thetaCutNCB
Inclanation cut between the segment position and its direction.
double GetSegmentTime(const Muon::MuonSegment &pMuonSegment) const
ServiceHandle< Muon::IMuonEDMHelperSvc > m_edmHelperSvc
Gaudi::Property< double > m_cutTimeDiffAC
ElementLinkVector< xAOD::JetContainer > m_indexJet
std::vector< int > m_resultJet
Gaudi::Property< double > m_cutMuonTime
virtual StatusCode execute(const EventContext &ctx) const override
std::vector< float > m_drdzClus
Gaudi::Property< double > m_clusRadiusLow
::StatusCode StatusCode
StatusCode definition for legacy code.
void FindFakeJets(const EventContext &ctx, Cache &cache) const
This function checks whether the matched clusters are contained in any jets.
void ClusterShapeMethod(Cache &cache) const
This function is the implementation of the "Cluster-Shape Method".
Gaudi::Property< double > m_cutClusTime
Gaudi::Property< double > m_clusEnergyCut
Minimum cut on the cluster energy to be considered.
virtual StatusCode initialize() override
std::vector< std::vector< int > > m_matchMatrix
virtual ~BeamBackgroundFiller()=default
SG::WriteHandleKey< BeamBackgroundData > m_beamBackgroundDataWriteHandleKey
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
ToolHandle< Muon::IMuonSegmentSelectionTool > m_segmentSelector
void FillMatchMatrix(const EventContext &ctx, Cache &cache) const
This function selects the muon segments with the direction parallel to the beam pipe and calorimeter ...
std::vector< int > m_resultSeg
void OneSidedMethod(Cache &cache) const
This function is the implementation of the "No-Time Method" and the "One-Sided Method".
SG::ReadHandleKeyArray< Trk::SegmentCollection > m_segmentKeys
ReadHandleKey for Trk::SegmentCollection from CSC.
void TwoSidedMethod(Cache &cache) const
This function is the implementation of the "Two-Sided No-Time Method" and the "Two-Sided Method" that...