ATLAS Offline Software
Loading...
Searching...
No Matches
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
16namespace MuonCalib {
23
25 class MuonCalibSegment;
26
28 public:
30 using MuonSegIt = MuonSegVec::iterator;
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
56 void setPrintLevel(int level) { m_printLevel = level; }
57
58 private:
61
63
66
68 std::string m_regionKey;
69 };
70
72
73} // namespace MuonCalib
74
75#endif
#define max(a, b)
Definition cfImp.cxx:41
Interface to pass calibration output during calibration.
Interface to Mdt calibration algortihms.
std::shared_ptr< IMdtCalibrationOutput > MdtCalibOutputPtr
std::vector< std::shared_ptr< MuonCalibSegment > > MuonSegVec
std::string m_regionKey
region key
MuonSegVec::const_iterator MuonSegCit
MuonSegVec::iterator MuonSegIt
void setPrintLevel(int level)
set print level
IMdtCalibration::MdtCalibOutputPtr calibrationResults() const
return results rt calibration
IMdtCalibration::MdtCalibOutputPtr m_calibrationResult
results calibration
IMdtCalibration * m_calibrationImp
pointer to calibration implementation
void setMaxIterations(unsigned int max)
set maximum number of iteration (default = 10)
MuonSegVec m_segments
segment collection
void performAnalysis()
analyse segments using IRtCalibration
IMdtCalibration::MuonSegVec MuonSegVec
void setCalibImp(IMdtCalibration *calibImp)
set pointer to RtCalibration
MdtCalibEventLoop(const std::string &regionKey)
constructor
bool handleSegment(const MuonCalibSegment *seg)
handle segment (for now store)
A MuonCalibSegment is a reconstructed three dimensional track segment in the MuonSpectrometer.
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.