5#ifndef MUON_MUONSEEDEDSEGMENTFINDER_H
6#define MUON_MUONSEEDEDSEGMENTFINDER_H
43 const std::set<Identifier>& chIds)
const;
47 const std::set<IdentifierHash>& chIdHs)
const;
51 const std::vector<const MdtPrepData*>& mdtPrds)
const;
54 void extractMdtPrdCols(
const EventContext& ctx,
const std::set<IdentifierHash>& chIdHs,
55 std::vector<const MdtPrepDataCollection*>& target)
const;
58 void extractRpcPrdCols(
const EventContext& ctx,
const std::set<IdentifierHash>& chIdHs,
59 std::vector<const RpcPrepDataCollection*>& target)
const;
62 void extractTgcPrdCols(
const EventContext& ctx,
const std::set<IdentifierHash>& chIdHs,
63 std::vector<const TgcPrepDataCollection*>& target)
const;
66 void extractCscPrdCols(
const std::set<IdentifierHash>& chIdHs, std::vector<const CscPrepDataCollection*>& target)
const;
71 void extractsTgcPrdCols(
const EventContext& ctx,
const std::set<IdentifierHash>& chIdHs,
72 std::vector<const sTgcPrepDataCollection*>& target)
const;
75 void extractMMPrdCols(
const std::set<IdentifierHash>& chIdHs, std::vector<const MMPrepDataCollection*>& target)
const;
79 std::vector<const MdtPrepData*>
extractPrds(
const EventContext& ctx,
const std::set<Identifier>& chIds)
const;
82 std::vector<const MdtPrepData*>
extractPrds(
const EventContext& ctx,
const std::set<IdentifierHash>& chIdHs)
const;
86 const std::vector<const MdtPrepData*>& mdtPrdCols, std::vector<const MdtDriftCircleOnTrack*>& mdtROTs,
87 bool& doHoleSearch)
const;
91 bool& doHoleSearch)
const;
94 "Key of input MuonDetectorManager condition data"};
97 this,
"SegmentMaker",
"Muon::DCMathSegmentMaker/DCMathSegmentMaker"};
99 this,
"SegmentMakerNoHoles",
"Muon::DCMathSegmentMaker/DCMathSegmentMaker"};
101 "Trk::RungeKuttaPropagator/AtlasRungeKuttaPropagator"};
103 this,
"MdtRotCreator",
"Muon::MdtDriftCircleOnTrackCreator/MdtDriftCircleOnTrackCreator"};
106 PublicToolHandle<Muon::MuonEDMPrinterTool>
m_printer{
this,
"Printer",
107 "Muon::MuonEDMPrinterTool/MuonEDMPrinterTool"};
116 Gaudi::Property<double>
m_adcCut{
this,
"AdcCut", 50};
117 Gaudi::Property<double>
m_maxSigma{
this,
"MdtSigmaFromTrack", 3};
This class represents the corrected MDT measurements, where the corrections include the effects of wi...
Class to represent measurements from the Monitored Drift Tubes.
void extractRpcPrdCols(const EventContext &ctx, const std::set< IdentifierHash > &chIdHs, std::vector< const RpcPrepDataCollection * > &target) const
retrieve RPC PRD collections for the given hashes
ToolHandle< Muon::IMdtDriftCircleOnTrackCreator > m_mdtRotCreator
IMdtDriftCircleOnTrackCreator.
SG::ReadHandleKey< Muon::MMPrepDataContainer > m_key_mm
void extractMMPrdCols(const std::set< IdentifierHash > &chIdHs, std::vector< const MMPrepDataCollection * > &target) const
retrieve MM PRD collections for the given hashes
~MuonSeededSegmentFinder()=default
destructor
void extractCscPrdCols(const std::set< IdentifierHash > &chIdHs, std::vector< const CscPrepDataCollection * > &target) const
retrieve CSC PRD collections for the given hashes
void extractsTgcPrdCols(const EventContext &ctx, const std::set< IdentifierHash > &chIdHs, std::vector< const sTgcPrepDataCollection * > &target) const
retrieve STGC PRD collections for the given hashes
Trk::MagneticFieldProperties m_magFieldProperties
magnetic field properties
SG::ReadHandleKey< Muon::MdtPrepDataContainer > m_key_mdt
SG::ReadHandleKey< Muon::CscPrepDataContainer > m_key_csc
SG::ReadHandleKey< Muon::sTgcPrepDataContainer > m_key_stgc
void extractTgcPrdCols(const EventContext &ctx, const std::set< IdentifierHash > &chIdHs, std::vector< const TgcPrepDataCollection * > &target) const
retrieve TGC PRD collections for the given hashes
MuonSeededSegmentFinder(const std::string &, const std::string &, const IInterface *)
constructor
ToolHandle< Muon::IMuonSegmentMaker > m_segMakerNoHoles
actual segment maker no hole search
PublicToolHandle< Muon::MuonEDMPrinterTool > m_printer
EDM printer tool.
std::unique_ptr< Trk::SegmentCollection > find(const EventContext &ctx, const Trk::TrackParameters &pars, const std::set< Identifier > &chIds) const
find segments in a set of chambers starting from seeding TrackParameters
void extractMdtPrdCols(const EventContext &ctx, const std::set< IdentifierHash > &chIdHs, std::vector< const MdtPrepDataCollection * > &target) const
retrieve MDT PRD collections for the given hashes
void selectAndCalibrate(const EventContext &ctx, const Trk::TrackParameters &pars, const std::vector< const MdtPrepData * > &mdtPrdCols, std::vector< const MdtDriftCircleOnTrack * > &mdtROTs, bool &doHoleSearch) const
select a set of Mdt hits and calibrate them
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
std::vector< const MdtPrepData * > extractPrds(const EventContext &ctx, const std::set< Identifier > &chIds) const
retrieve the MdtPrepDataCollections for the give Identifiers
Gaudi::Property< double > m_maxSigma
ToolHandle< Trk::IPropagator > m_propagator
propagator
ToolHandle< Muon::IMuonSegmentMaker > m_segMaker
actual segment maker with hole search
Gaudi::Property< double > m_adcCut
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_DetectorManagerKey
SG::ReadHandleKey< Muon::RpcPrepDataContainer > m_key_rpc
const MdtDriftCircleOnTrack * handleMdtPrd(const EventContext &ctx, const Trk::TrackParameters &pars, const MdtPrepData &mdtPrd, bool &doHoleSearch) const
select and calibrate a single MdtPrepData
StatusCode initialize()
AlgTool initilize.
SG::ReadHandleKey< Muon::TgcPrepDataContainer > m_key_tgc
Property holding a SG store/key/clid from which a ReadHandle is made.
magnetic field properties to steer the behavior of the extrapolation
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
ParametersBase< TrackParametersDim, Charged > TrackParameters