ATLAS Offline Software
Loading...
Searching...
No Matches
SimpleCscClusterFitter.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 SimpleCscClusterFitter_H
6#define SimpleCscClusterFitter_H
7
8// Woochun Park and David Adams
9// March 2007
10//
11// Tool to select muons for physics analysis.
12
16#include "GaudiKernel/ServiceHandle.h"
17#include "GaudiKernel/ToolHandle.h"
21
22namespace Muon {
23 class CscPrepData;
24}
25
26class SimpleCscClusterFitter : virtual public ICscClusterFitter, public AthAlgTool {
27public:
28 SimpleCscClusterFitter(const std::string&, const std::string&, const IInterface*);
29
31
32 StatusCode initialize();
33
34 // Inherited methods.
36 Results fit(const StripFitList& sfits) const;
37 Results fit(const StripFitList& sfits, double dposdz) const;
38 double getCorrectedError(const Muon::CscPrepData* pclu, double slope) const;
39
40private:
41 // Properties
42 std::string m_option; // Fitting option: MEAN, PEAK, ...
43 double m_intrinsic_cluster_width; // Intrinsic widh for error calculation
47
48 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
49
51 SG::ReadCondHandleKey<MuonGM::MuonDetectorManager> m_DetectorManagerKey{this, "DetectorManagerKey", "MuonDetectorManager",
52 "Key of input MuonDetectorManager condition data"};
53
54 ToolHandle<ICscAlignmentTool> m_alignmentTool{
55 this,
56 "CscAlignmentTool",
57 "CscAlignmentTool/CscAlignmentTool",
58 };
59};
60#endif
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
virtual Results fit(const StripFitList &sfits) const =0
std::vector< Result > Results
std::vector< StripFit > StripFitList
Class representing clusters from the CSC.
Definition CscPrepData.h:39
Results fit(const StripFitList &sfits) const
ToolHandle< ICscAlignmentTool > m_alignmentTool
~SimpleCscClusterFitter()=default
SimpleCscClusterFitter(const std::string &, const std::string &, const IInterface *)
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
double getCorrectedError(const Muon::CscPrepData *pclu, double slope) const
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_DetectorManagerKey
retrieve MuonDetectorManager from the conditions store
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.