ATLAS Offline Software
MdtCalibEventLoop.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 // MdtCalibEventLoop.h
6 // Header file for class MdtCalibEventLoop
7 #ifndef MUONCALIB_MDTCALIBEVENTLOOP_H
8 #define MUONCALIB_MDTCALIBEVENTLOOP_H
9 
10 #include <iostream>
11 #include <string>
12 #include <vector>
13 
15 
16 namespace MuonCalib {
24  class IMdtCalibrationOutput;
25  class MuonCalibSegment;
26 
28  public:
31  using MuonSegCit = MuonSegVec::const_iterator;
32 
33  public:
35  MdtCalibEventLoop(const std::string& regionKey);
36 
39 
41  bool handleSegment(const MuonCalibSegment* seg);
42 
44  void performAnalysis();
45 
47  void setCalibImp(IMdtCalibration* calibImp);
48 
51 
53  void setMaxIterations(unsigned int max);
54 
57 
58  private:
61 
63 
66 
68  std::string m_regionKey;
69  };
70 
72 
73 } // namespace MuonCalib
74 
75 #endif
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
MuonCalib::MdtCalibEventLoop::MuonSegIt
MuonSegVec::iterator MuonSegIt
Definition: MdtCalibEventLoop.h:30
MuonCalib::IMdtCalibration::MdtCalibOutputPtr
std::shared_ptr< IMdtCalibrationOutput > MdtCalibOutputPtr
Definition: IMdtCalibration.h:30
max
constexpr double max()
Definition: ap_fixedTest.cxx:33
MuonCalib::MdtCalibEventLoop
Definition: MdtCalibEventLoop.h:27
MuonCalib::IMdtCalibration
Definition: IMdtCalibration.h:25
MuonCalib::MuonCalibSegment
Definition: MuonCalibSegment.h:39
MuonCalib::MdtCalibEventLoop::MdtCalibEventLoop
MdtCalibEventLoop(const std::string &regionKey)
constructor
Definition: MdtCalibEventLoop.cxx:17
MuonCalib::MdtCalibEventLoop::performAnalysis
void performAnalysis()
analyse segments using IRtCalibration
Definition: MdtCalibEventLoop.cxx:24
MuonCalib::MdtCalibEventLoop::setPrintLevel
void setPrintLevel(int level)
set print level
Definition: MdtCalibEventLoop.h:56
python.iconfTool.models.loaders.level
level
Definition: loaders.py:20
MuonCalib::MdtCalibEventLoop::m_calibrationImp
IMdtCalibration * m_calibrationImp
pointer to calibration implementation
Definition: MdtCalibEventLoop.h:59
MuonCalib::MdtCalibEventLoop::setCalibImp
void setCalibImp(IMdtCalibration *calibImp)
set pointer to RtCalibration
Definition: MdtCalibEventLoop.cxx:60
MuonCalib::MdtCalibEventLoop::MuonSegCit
MuonSegVec::const_iterator MuonSegCit
Definition: MdtCalibEventLoop.h:31
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition: CscCalcPed.cxx:22
MuonCalib::MdtCalibEventLoop::calibrationResults
IMdtCalibration::MdtCalibOutputPtr calibrationResults() const
return results rt calibration
Definition: MdtCalibEventLoop.h:71
IMdtCalibration.h
MuonCalib::MdtCalibEventLoop::m_regionKey
std::string m_regionKey
region key
Definition: MdtCalibEventLoop.h:68
MuonCalib::MdtCalibEventLoop::m_segments
MuonSegVec m_segments
segment collection
Definition: MdtCalibEventLoop.h:60
MuonCalib::MdtCalibEventLoop::handleSegment
bool handleSegment(const MuonCalibSegment *seg)
handle segment (for now store)
Definition: MdtCalibEventLoop.cxx:39
MuonCalib::IMdtCalibration::MuonSegVec
std::vector< std::shared_ptr< MuonCalibSegment > > MuonSegVec
Definition: IMdtCalibration.h:27
MuonCalib::MdtCalibEventLoop::m_calibrationResult
IMdtCalibration::MdtCalibOutputPtr m_calibrationResult
results calibration
Definition: MdtCalibEventLoop.h:62
MuonCalib::MdtCalibEventLoop::MuonSegVec
IMdtCalibration::MuonSegVec MuonSegVec
Definition: MdtCalibEventLoop.h:29
MuonCalib::MdtCalibEventLoop::~MdtCalibEventLoop
~MdtCalibEventLoop()
destructor
MuonCalib::MdtCalibEventLoop::setMaxIterations
void setMaxIterations(unsigned int max)
set maximum number of iteration (default = 10)
MuonCalib::MdtCalibEventLoop::m_printLevel
int m_printLevel
print level
Definition: MdtCalibEventLoop.h:65