ATLAS Offline Software
Loading...
Searching...
No Matches
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"
20class CscIdHelper;
21namespace Muon {
23 class CscPrepData;
24 class CscStripPrepData;
25} // namespace Muon
26namespace Trk {
27 class RIO_OnTrack;
28}
29
30class CscClusterUtilTool : virtual public ICscClusterUtilTool, public AthAlgTool {
31public: // Ctors and dtor.
32 // Constructor.
33 CscClusterUtilTool(const std::string&, const std::string&, const IInterface*);
34
35 // Destructor.
37
38 StatusCode initialize();
39
40 ICscClusterFitter::Results getRefitCluster(const Muon::CscPrepData* MClus, double tantheta) const;
41
45
46 std::vector<const Muon::CscStripPrepData*> getStrips(const Muon::CscPrepData* MClus) const;
47
48private:
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
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
void getStripFits(const Trk::RIO_OnTrack *rot, ICscClusterFitter::StripFitList &sfits) const
CscClusterUtilTool(const std::string &, const std::string &, const IInterface *)
ICscClusterFitter::Results getRefitCluster(const Muon::CscPrepData *MClus, double tantheta) const
SG::ReadHandleKey< Muon::CscStripPrepDataContainer > m_cscStripLocation
ToolHandle< ICscStripFitter > m_stripFitter
~CscClusterUtilTool()=default
const CscIdHelper * m_phelper
std::vector< const Muon::CscStripPrepData * > getStrips(const Muon::CscPrepData *MClus) const
ToolHandle< ICscClusterFitter > m_precClusterFitter
std::vector< Result > Results
std::vector< StripFit > StripFitList
Class to represent the calibrated clusters created from CSC strips.
Class representing clusters from the CSC.
Definition CscPrepData.h:39
Class representing the raw data of one CSC strip (for clusters look at Muon::CscPrepData).
Property holding a SG store/key/clid from which a ReadHandle is made.
Class to handle RIO On Tracks ROT) for InDet and Muons, it inherits from the common MeasurementBase.
Definition RIO_OnTrack.h:70
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Ensure that the ATLAS eigen extensions are properly loaded.