#include <CalibContainer.h>
Definition at line 19 of file CalibContainer.h.
◆ CalibContainer()
MCP::CalibContainer::CalibContainer |
( |
const std::string & |
fileName, |
|
|
const std::string & |
histName |
|
) |
| |
Definition at line 18 of file CalibContainer.cxx.
21 if (
inFileName.empty())
throw std::invalid_argument(
"fileName arguments must be non empty");
22 if (
histName.empty())
throw std::invalid_argument(
"histName arguments must be non empty");
26 std::unique_ptr<TFile> fmc{TFile::Open(
fileName.c_str(),
"READ")};
27 if (!fmc || !fmc->IsOpen())
29 throw std::invalid_argument(
"Cannot open file " +
fileName);
36 throw std::invalid_argument(
"Cannot find hist ("+
histName+
") in file " +
fileName);
38 hist->SetDirectory(
nullptr);
◆ getCalibConstant()
◆ m_calibConstantHist
std::unique_ptr<const TH1> MCP::CalibContainer::m_calibConstantHist |
|
protected |
◆ m_maxX
double MCP::CalibContainer::m_maxX {-1} |
|
protected |
◆ m_maxY
double MCP::CalibContainer::m_maxY {-1} |
|
protected |
◆ m_minX
double MCP::CalibContainer::m_minX {-1} |
|
protected |
◆ m_minY
double MCP::CalibContainer::m_minY {-1} |
|
protected |
The documentation for this class was generated from the following files: