ATLAS Offline Software
Loading...
Searching...
No Matches
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
17
18namespace MCP {
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 bool mapExist() const { return m_calibConstantHist ? true : false; };
27
28 protected:
29 std::unique_ptr<const TH1> m_calibConstantHist;
30 double m_maxX{-1};
31 double m_minX{-1};
32 double m_maxY{-1};
33 double m_minY{-1};
34
35 };
36
37}
38
39#endif
double getCalibConstant(const TrackCalibObj &trk) const
bool mapExist() const
std::unique_ptr< const TH1 > m_calibConstantHist
CalibContainer(const std::string &fileName, const std::string &histName)
Basic object to cache all relevant information from the track.
Definition MuonObj.h:74