29 SetName(
"MisalignmentParameters");
30 SetTitle(
"ITS3 MisalignmentParameters");
35 std::unique_ptr<TFile> fOut(TFile::Open(
file.c_str(),
"RECREATE"));
36 if (fOut ==
nullptr || fOut->IsZombie()) {
37 LOGP(info,
"Unable to save misalignment parameters");
40 fOut->WriteObjectAny(
this,
"o2::its3::align::MisalignmentParameters",
"ccdb_object");
46 std::unique_ptr<TFile> fIn(TFile::Open(
file.c_str(),
"READ"));
49 LOGP(fatal,
"Unable to load parameters from file!");
56 LOGP(info,
"Parameters for ID={}:", detID);
61 LOGP(info,
" - Legendre Pol X:");
63 LOGP(info,
" - Legendre Pol Y:");
65 LOGP(info,
" - Legendre Pol Z:");
72 LOGP(info,
" - Legendre Pol X:");
74 LOGP(info,
" - Legendre Pol Y:");
76 LOGP(info,
" - Legendre Pol Z:");
ClassImp(o2::its3::align::MisalignmentParameters)
Definition of the MisalignmentParameters class.
void printLegendreParams(unsigned int sensorID) const
double getGloTransZ(unsigned int detID) const
double getGloRotZ(unsigned int detID) const
const TMatrixD & getLegendreCoeffZ(unsigned int sensorID) const
double getGloRotX(unsigned int detID) const
static MisalignmentParameters * load(const std::string &file)
double getGloTransX(unsigned int detID) const
Global getters.
double getGloRotY(unsigned int detID) const
bool store(const std::string &file) const
const TMatrixD & getLegendreCoeffX(unsigned int sensorID) const
Legendre Coeff. getters.
const TMatrixD & getLegendreCoeffY(unsigned int sensorID) const
void printParams(unsigned int detID) const
double getGloTransY(unsigned int detID) const