ATLAS Offline Software
Loading...
Searching...
No Matches
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
20namespace Muon {
21 class CscPrepData;
22}
23
24class CscSplitClusterFitter : virtual public ICscClusterFitter, public AthAlgTool {
25public:
26 CscSplitClusterFitter(const std::string&, const std::string&, const IInterface*);
27
29
30 StatusCode initialize();
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
37private:
38 // Properties
39 // Minimum distance between peaks and valley
41 // Maximum charge ratio between peak strip and valley strip
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
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
ToolHandle< ICscClusterFitter > m_pfitter_prec
Results fit(const StripFitList &sfits) const
~CscSplitClusterFitter()=default
double getCorrectedError(const Muon::CscPrepData *pclu, double slope) const
CscSplitClusterFitter(const std::string &, const std::string &, const IInterface *)
ToolHandle< ICscClusterFitter > m_pfitter_def
std::vector< Result > Results
std::vector< StripFit > StripFitList
Class representing clusters from the CSC.
Definition CscPrepData.h:39
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.