ATLAS Offline Software
PhysicsAnalysis
MuonID
MuonIDAnalysis
MuonMomentumCorrections
MuonMomentumCorrections
CalibContainer.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef MCPCALIBCONTAINER_H
6
#define MCPCALIBCONTAINER_H
7
8
// STL //
9
#include <string>
10
#include <memory>
11
12
// ROOT //
13
#include "TH1.h"
14
#include "TH2.h"
15
16
#include "
MuonMomentumCorrections/MuonObj.h
"
17
18
namespace
MCP
{
19
class
CalibContainer
{
20
public
:
21
// Constructor //
22
CalibContainer
(
const
std::string&
fileName
,
const
std::string&
histName
);
23
24
// To retrieve the calib constant
25
double
getCalibConstant
(
const
TrackCalibObj
& trk)
const
;
26
27
protected
:
28
std::unique_ptr<const TH1>
m_calibConstantHist
;
29
double
m_maxX
{-1};
30
double
m_minX
{-1};
31
double
m_maxY
{-1};
32
double
m_minY
{-1};
33
34
};
35
36
}
37
38
#endif
MuonObj.h
AddEmptyComponent.histName
string histName
Definition:
AddEmptyComponent.py:64
MCP::CalibContainer::CalibContainer
CalibContainer(const std::string &fileName, const std::string &histName)
Definition:
CalibContainer.cxx:18
MCP::CalibContainer::m_minX
double m_minX
Definition:
CalibContainer.h:30
FortranAlgorithmOptions.fileName
fileName
Definition:
FortranAlgorithmOptions.py:13
MCP::CalibContainer::m_maxY
double m_maxY
Definition:
CalibContainer.h:31
MCP::CalibContainer
Definition:
CalibContainer.h:19
MCP::CalibContainer::m_minY
double m_minY
Definition:
CalibContainer.h:32
MCP::CalibContainer::m_maxX
double m_maxX
Definition:
CalibContainer.h:29
MCP
Definition:
CalibContainer.h:18
MCP::CalibContainer::getCalibConstant
double getCalibConstant(const TrackCalibObj &trk) const
Definition:
CalibContainer.cxx:50
MCP::TrackCalibObj
Basic object to cache all relevant information from the track.
Definition:
MuonObj.h:21
MCP::CalibContainer::m_calibConstantHist
std::unique_ptr< const TH1 > m_calibConstantHist
Definition:
CalibContainer.h:28
Generated on Thu Nov 7 2024 21:11:04 for ATLAS Offline Software by
1.8.18