![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MUONCALIB_MUONSEGMENTTOCALIBSEGMENT_H
6 #define MUONCALIB_MUONSEGMENTTOCALIBSEGMENT_H
9 #include "GaudiKernel/ServiceHandle.h"
10 #include "GaudiKernel/ToolHandle.h"
11 #include "MdtCalibSvc/MdtCalibrationTool.h"
22 class MuonPatternCombination;
46 template <
class container_type>
48 const container_type*& container_ptr)
const;
53 StatusCode savePatterns(
const EventContext& ctx, std::unique_ptr<MuonCalibPatternCollection> newPatterns)
const;
81 "Key of input MuonDetectorManager condition data"};
86 ToolHandle<MdtCalibrationTool>
m_calibrationTool{
this,
"CalibrationTool",
"MdtCalibrationTool"};
89 ToolHandle<Muon::IMuonPatternSegmentAssociationTool>
m_assocTool{
90 this,
"PatternSegmentAssociationTool",
"Muon::MuonPatternSegmentAssociationTool/MuonPatternSegmentAssociationTool"};
91 ToolHandle<IIdToFixedIdTool>
m_idToFixedIdTool{
this,
"IdToFixedIdTool",
"MuonCalib::IdToFixedIdTool/MuonCalib_IdToFixedIdTool"};
98 Gaudi::Property<bool>
m_doTof{
this,
"DoTOF",
true};
ToolHandle< MdtCalibrationTool > m_calibrationTool
pointer to MdtCalibSvc
MuonSegmentToCalibSegment(const std::string &name, ISvcLocator *pSvcLocator)
Algorithm constructor.
Gaudi::Property< bool > m_newImpactParameter
Gaudi::Property< bool > m_doTof
ToolHandle< IIdToFixedIdTool > m_idToFixedIdTool
Gaudi::Property< std::vector< int > > m_segment_authors
virtual ~MuonSegmentToCalibSegment()=default
Property holding a SG store/key/clid from which a ReadHandle is made.
This class provides conversion from CSC RDO data to CSC Digits.
SG::WriteHandleKey< MuonCalibPatternCollection > m_patternKey
pattern location
StatusCode execute()
Algorithm execute, called once per event.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
unsigned int getQuality(const Muon::MuonSegment &seg) const
Identifier getChId(const Muon::MuonSegment &seg) const
StatusCode retrieveContainer(const EventContext &ctx, const SG::ReadHandleKey< container_type > &key, const container_type *&container_ptr) const
::StatusCode StatusCode
StatusCode definition for legacy code.
Eigen::Affine3d Transform3D
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Amg::Transform3D getGlobalToStation(const Identifier &id, const MuonGM::MuonDetectorManager *MuonDetMgr) const
StatusCode savePatterns(const EventContext &ctx, std::unique_ptr< MuonCalibPatternCollection > newPatterns) const
save global patterns to storegate
Gaudi::Property< bool > m_cosmics_tof
Gaudi::Property< int > m_maxStoredSegs
maximum number of segments each algorithm can store in ntuple
SG::ReadHandleKey< MuonSegmentCombinationCollection > m_CscSegKey
Gaudi::Property< int > m_updateForT0Shift
-1: Take infirmation from error-strategy 0: fitted t0 is not applied to drift times 1: fitted t0 is a...
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_DetectorManagerKey
MuonDetectorManager from the conditions store.
Gaudi::Property< bool > m_useCscSegments
StatusCode initialize()
Algorithm initialize.
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
Gaudi::Property< bool > m_readSegments
segment location
MuonCalibPattern * createMuonCalibPattern(const Muon::MuonPatternCombination *pat) const
SG::ReadHandleKeyArray< Trk::SegmentCollection > m_TrkSegKey
The MuonPatternCombination class provides the means to store the output of the initial global pattern...
SG::ReadHandleKey< MuonSegmentCombinationCollection > m_CombSegKey
StatusCode convertPatterns(const EventContext &ctx)
MuonCalibSegment * createMuonCalibSegment(const Muon::MuonSegment &seg, const MuonGM::MuonDetectorManager *MuonDetMgr) const
ToolHandle< Muon::IMuonPatternSegmentAssociationTool > m_assocTool
IdentifierTool initialization.