ATLAS Offline Software
CscSplitClusterFitter.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef CscSplitClusterFitter_H
6 #define CscSplitClusterFitter_H
7 
8 // Woochun Park & David Adams
9 // March 2007
10 //
11 // Tool to fit a CSC cluster using adjacent charge ratios.
12 
15 #include "GaudiKernel/ServiceHandle.h"
16 #include "GaudiKernel/ToolHandle.h"
19 
20 namespace Muon {
21  class CscPrepData;
22 }
23 
24 class CscSplitClusterFitter : virtual public ICscClusterFitter, public AthAlgTool {
25 public:
26  CscSplitClusterFitter(const std::string&, const std::string&, const IInterface*);
27 
29 
31 
32  // Inherited methods.
33  Results fit(const StripFitList& sfits) const;
34  Results fit(const StripFitList& sfits, double dposdz) const;
35  double getCorrectedError(const Muon::CscPrepData* pclu, double slope) const;
36 
37 private:
38  // Properties
39  // Minimum distance between peaks and valley
41  // Maximum charge ratio between peak strip and valley strip
42  float m_max_qratio;
43 
45  this,
46  "MuonIdHelperSvc",
47  "Muon::MuonIdHelperSvc/MuonIdHelperSvc",
48  };
49 
50  // Cluster fitters.
51  ToolHandle<ICscClusterFitter> m_pfitter_def{
52  this,
53  "default_fitter",
54  "SimpleCscClusterFitter/SimpleCscClusterFitter",
55  };
56  ToolHandle<ICscClusterFitter> m_pfitter_prec{
57  this,
58  "precision_fitter",
59  "QratCscClusterFitter/QratCscClusterFitter",
60  };
61 };
62 
63 #endif
ICscClusterFitter::Results
std::vector< Result > Results
Definition: ICscClusterFitter.h:101
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:45
CscSplitClusterFitter::m_pfitter_def
ToolHandle< ICscClusterFitter > m_pfitter_def
Definition: CscSplitClusterFitter.h:51
CscSplitClusterFitter::initialize
StatusCode initialize()
Definition: CscSplitClusterFitter.cxx:40
Trk::PrepRawDataType::CscPrepData
@ CscPrepData
ICscClusterFitter.h
ICscClusterFitter
Definition: ICscClusterFitter.h:33
CscSplitClusterFitter::m_max_qratio
float m_max_qratio
Definition: CscSplitClusterFitter.h:42
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
CscClusterStatus.h
CscSplitClusterFitter::m_min_dist
int m_min_dist
Definition: CscSplitClusterFitter.h:40
CscSplitClusterFitter::CscSplitClusterFitter
CscSplitClusterFitter(const std::string &, const std::string &, const IInterface *)
Definition: CscSplitClusterFitter.cxx:31
CscSplitClusterFitter::m_pfitter_prec
ToolHandle< ICscClusterFitter > m_pfitter_prec
Definition: CscSplitClusterFitter.h:56
CscSplitClusterFitter::getCorrectedError
double getCorrectedError(const Muon::CscPrepData *pclu, double slope) const
Definition: CscSplitClusterFitter.cxx:322
ICscClusterFitter::StripFitList
std::vector< StripFit > StripFitList
Definition: ICscClusterFitter.h:40
AthAlgTool
Definition: AthAlgTool.h:26
CscSplitClusterFitter
Definition: CscSplitClusterFitter.h:24
IMuonIdHelperSvc.h
CscSplitClusterFitter::fit
Results fit(const StripFitList &sfits) const
Definition: CscSplitClusterFitter.cxx:65
CscSplitClusterFitter::~CscSplitClusterFitter
~CscSplitClusterFitter()=default
ServiceHandle< Muon::IMuonIdHelperSvc >
CscSplitClusterFitter::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: CscSplitClusterFitter.h:44