ATLAS Offline Software
CscClusterUtilTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // CscClusterUtilTool.h
6 
7 #ifndef CscClusterUtilTool_H
8 #define CscClusterUtilTool_H
9 
10 // Woochun Park
11 // April 2009
12 //
13 // Strip fitter using the parabolic fit fron the CSC calibration tool.
14 
15 #include <vector>
16 
19 #include "GaudiKernel/ToolHandle.h"
20 class CscIdHelper;
21 namespace Muon {
22  class CscClusterOnTrack;
23  class CscPrepData;
24  class CscStripPrepData;
25 } // namespace Muon
26 namespace Trk {
27  class RIO_OnTrack;
28 }
29 
30 class CscClusterUtilTool : virtual public ICscClusterUtilTool, public AthAlgTool {
31 public: // Ctors and dtor.
32  // Constructor.
33  CscClusterUtilTool(const std::string&, const std::string&, const IInterface*);
34 
35  // Destructor.
36  ~CscClusterUtilTool() = default;
37 
39 
40  ICscClusterFitter::Results getRefitCluster(const Muon::CscPrepData* MClus, double tantheta) const;
41 
42  void getStripFits(const Trk::RIO_OnTrack* rot, ICscClusterFitter::StripFitList& sfits) const;
45 
46  std::vector<const Muon::CscStripPrepData*> getStrips(const Muon::CscPrepData* MClus) const;
47 
48 private:
50 
51  // Strip fitter.
52  ToolHandle<ICscStripFitter> m_stripFitter{
53  this,
54  "strip_fitter",
55  "CalibCscStripFitter/CalibCscStripFitter",
56  };
57  ToolHandle<ICscClusterFitter> m_precClusterFitter{
58  this,
59  "precision_fitter",
60  "QratCscClusterFitter/QratCscClusterFitter",
61  };
62 
64 };
65 
66 #endif
ICscClusterFitter::Results
std::vector< Result > Results
Definition: ICscClusterFitter.h:101
Trk::PrepRawDataType::CscStripPrepData
@ CscStripPrepData
Trk::RIO_OnTrack
Definition: RIO_OnTrack.h:70
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition: TrackSystemController.h:45
CscClusterUtilTool::CscClusterUtilTool
CscClusterUtilTool(const std::string &, const std::string &, const IInterface *)
Definition: CscClusterUtilTool.cxx:24
CscClusterUtilTool::m_stripFitter
ToolHandle< ICscStripFitter > m_stripFitter
Definition: CscClusterUtilTool.h:52
Trk::PrepRawDataType::CscPrepData
@ CscPrepData
ICscClusterUtilTool
Definition: ICscClusterUtilTool.h:33
CscClusterUtilTool::getRefitCluster
ICscClusterFitter::Results getRefitCluster(const Muon::CscPrepData *MClus, double tantheta) const
Definition: CscClusterUtilTool.cxx:101
Muon::CscPrepData
Class representing clusters from the CSC.
Definition: CscPrepData.h:39
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
CscClusterUtilTool::initialize
StatusCode initialize()
Definition: CscClusterUtilTool.cxx:32
CscClusterUtilTool::m_cscStripLocation
SG::ReadHandleKey< Muon::CscStripPrepDataContainer > m_cscStripLocation
Definition: CscClusterUtilTool.h:63
CscClusterUtilTool::m_precClusterFitter
ToolHandle< ICscClusterFitter > m_precClusterFitter
Definition: CscClusterUtilTool.h:57
CscClusterUtilTool::getStripFits
void getStripFits(const Trk::RIO_OnTrack *rot, ICscClusterFitter::StripFitList &sfits) const
Definition: CscClusterUtilTool.cxx:55
CscClusterUtilTool::m_phelper
const CscIdHelper * m_phelper
Definition: CscClusterUtilTool.h:49
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::MeasurementBaseType::RIO_OnTrack
@ RIO_OnTrack
Definition: MeasurementBase.h:49
ICscClusterUtilTool.h
CscClusterUtilTool::getStrips
std::vector< const Muon::CscStripPrepData * > getStrips(const Muon::CscPrepData *MClus) const
Definition: CscClusterUtilTool.cxx:118
Muon::CscClusterOnTrack
Class to represent the calibrated clusters created from CSC strips.
Definition: CscClusterOnTrack.h:47
CscIdHelper
Definition: CscIdHelper.h:52
CscClusterUtilTool
Definition: CscClusterUtilTool.h:30
ICscClusterFitter::StripFitList
std::vector< StripFit > StripFitList
Definition: ICscClusterFitter.h:40
AthAlgTool
Definition: AthAlgTool.h:26
CscClusterUtilTool::~CscClusterUtilTool
~CscClusterUtilTool()=default