ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonCalib
MdtCalib
MdtCalibEventLoop
MdtCalibEventLoop
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
14
#include "
MdtCalibInterfaces/IMdtCalibration.h
"
15
16
namespace
MuonCalib
{
23
24
class
IMdtCalibrationOutput
;
25
class
MuonCalibSegment
;
26
27
class
MdtCalibEventLoop
{
28
public
:
29
using
MuonSegVec
=
IMdtCalibration::MuonSegVec
;
30
using
MuonSegIt
= MuonSegVec::iterator;
31
using
MuonSegCit
= MuonSegVec::const_iterator;
32
33
public
:
35
MdtCalibEventLoop
(
const
std::string& regionKey);
36
38
~MdtCalibEventLoop
();
39
41
bool
handleSegment
(
const
MuonCalibSegment
* seg);
42
44
void
performAnalysis
();
45
47
void
setCalibImp
(
IMdtCalibration
* calibImp);
48
50
IMdtCalibration::MdtCalibOutputPtr
calibrationResults
()
const
;
51
53
void
setMaxIterations
(
unsigned
int
max
);
54
56
void
setPrintLevel
(
int
level) {
m_printLevel
= level; }
57
58
private
:
59
IMdtCalibration
*
m_calibrationImp
;
60
MuonSegVec
m_segments
;
61
62
IMdtCalibration::MdtCalibOutputPtr
m_calibrationResult
;
63
65
int
m_printLevel
;
66
68
std::string
m_regionKey
;
69
};
70
71
inline
IMdtCalibration::MdtCalibOutputPtr
MdtCalibEventLoop::calibrationResults
()
const
{
return
m_calibrationResult
; }
72
73
}
// namespace MuonCalib
74
75
#endif
IMdtCalibration.h
max
#define max(a, b)
Definition
cfImp.cxx:41
MuonCalib::IMdtCalibrationOutput
Interface to pass calibration output during calibration.
Definition
IMdtCalibrationOutput.h:28
MuonCalib::IMdtCalibration
Interface to Mdt calibration algortihms.
Definition
IMdtCalibration.h:25
MuonCalib::IMdtCalibration::MdtCalibOutputPtr
std::shared_ptr< IMdtCalibrationOutput > MdtCalibOutputPtr
Definition
IMdtCalibration.h:30
MuonCalib::IMdtCalibration::MuonSegVec
std::vector< std::shared_ptr< MuonCalibSegment > > MuonSegVec
Definition
IMdtCalibration.h:27
MuonCalib::MdtCalibEventLoop::m_regionKey
std::string m_regionKey
region key
Definition
MdtCalibEventLoop.h:68
MuonCalib::MdtCalibEventLoop::MuonSegCit
MuonSegVec::const_iterator MuonSegCit
Definition
MdtCalibEventLoop.h:31
MuonCalib::MdtCalibEventLoop::MuonSegIt
MuonSegVec::iterator MuonSegIt
Definition
MdtCalibEventLoop.h:30
MuonCalib::MdtCalibEventLoop::~MdtCalibEventLoop
~MdtCalibEventLoop()
destructor
MuonCalib::MdtCalibEventLoop::setPrintLevel
void setPrintLevel(int level)
set print level
Definition
MdtCalibEventLoop.h:56
MuonCalib::MdtCalibEventLoop::calibrationResults
IMdtCalibration::MdtCalibOutputPtr calibrationResults() const
return results rt calibration
Definition
MdtCalibEventLoop.h:71
MuonCalib::MdtCalibEventLoop::m_calibrationResult
IMdtCalibration::MdtCalibOutputPtr m_calibrationResult
results calibration
Definition
MdtCalibEventLoop.h:62
MuonCalib::MdtCalibEventLoop::m_calibrationImp
IMdtCalibration * m_calibrationImp
pointer to calibration implementation
Definition
MdtCalibEventLoop.h:59
MuonCalib::MdtCalibEventLoop::setMaxIterations
void setMaxIterations(unsigned int max)
set maximum number of iteration (default = 10)
MuonCalib::MdtCalibEventLoop::m_segments
MuonSegVec m_segments
segment collection
Definition
MdtCalibEventLoop.h:60
MuonCalib::MdtCalibEventLoop::performAnalysis
void performAnalysis()
analyse segments using IRtCalibration
Definition
MdtCalibEventLoop.cxx:24
MuonCalib::MdtCalibEventLoop::MuonSegVec
IMdtCalibration::MuonSegVec MuonSegVec
Definition
MdtCalibEventLoop.h:29
MuonCalib::MdtCalibEventLoop::setCalibImp
void setCalibImp(IMdtCalibration *calibImp)
set pointer to RtCalibration
Definition
MdtCalibEventLoop.cxx:60
MuonCalib::MdtCalibEventLoop::MdtCalibEventLoop
MdtCalibEventLoop(const std::string ®ionKey)
constructor
Definition
MdtCalibEventLoop.cxx:17
MuonCalib::MdtCalibEventLoop::handleSegment
bool handleSegment(const MuonCalibSegment *seg)
handle segment (for now store)
Definition
MdtCalibEventLoop.cxx:39
MuonCalib::MdtCalibEventLoop::m_printLevel
int m_printLevel
print level
Definition
MdtCalibEventLoop.h:65
MuonCalib::MuonCalibSegment
A MuonCalibSegment is a reconstructed three dimensional track segment in the MuonSpectrometer.
Definition
MuonCalibSegment.h:39
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition
CscCalcPed.cxx:21
Generated on
for ATLAS Offline Software by
1.17.0