#include <MillePedeFileReader.h>
Public Member Functions | |
const int | binariesAmount () const |
const mpPCLresults | getResults () const |
const AlignPCLThresholds::threshold_map | getThresholdMap () const |
const std::array< double, 6 > & | getTXobs () const |
const std::array< double, 6 > & | getTXobsErr () const |
const std::array< double, 6 > & | getTYobs () const |
const std::array< double, 6 > & | getTYobsErr () const |
const std::array< double, 6 > & | getTZobs () const |
const std::array< double, 6 > & | getTZobsErr () const |
const std::array< double, 6 > & | getXobs () const |
const std::array< double, 6 > & | getXobsErr () const |
const std::array< double, 6 > & | getYobs () const |
const std::array< double, 6 > & | getYobsErr () const |
const std::array< double, 6 > & | getZobs () const |
const std::array< double, 6 > & | getZobsErr () const |
MillePedeFileReader (const edm::ParameterSet &, const std::shared_ptr< const PedeLabelerBase > &, const std::shared_ptr< const AlignPCLThresholds > &) | |
void | read () |
bool | storeAlignments () |
virtual | ~MillePedeFileReader ()=default |
Private Types | |
enum | PclHLS : int { PclHLS::NotInPCL = -1, PclHLS::TPBHalfBarrelXplus = 2, PclHLS::TPBHalfBarrelXminus = 3, PclHLS::TPEHalfCylinderXplusZplus = 4, PclHLS::TPEHalfCylinderXminusZplus = 5, PclHLS::TPEHalfCylinderXplusZminus = 0, PclHLS::TPEHalfCylinderXminusZminus = 1 } |
Private Member Functions | |
PclHLS | getHLS (const Alignable *) |
std::string | getStringFromHLS (PclHLS HLS) |
void | readMillePedeEndFile () |
void | readMillePedeLogFile () |
void | readMillePedeResultFile () |
Private Attributes | |
int | binariesAmount_ {0} |
int | exitCode_ {-1} |
std::string | exitMessage_ {""} |
const std::string | millePedeEndFile_ |
const std::string | millePedeLogFile_ |
const std::string | millePedeResFile_ |
int | Nrec_ {0} |
const std::shared_ptr< const PedeLabelerBase > | pedeLabeler_ |
const std::shared_ptr< const AlignPCLThresholds > | theThresholds_ |
std::array< double, 6 > | tXobs_ = {{0., 0., 0., 0., 0., 0.}} |
std::array< double, 6 > | tXobsErr_ = {{0., 0., 0., 0., 0., 0.}} |
std::array< double, 6 > | tYobs_ = {{0., 0., 0., 0., 0., 0.}} |
std::array< double, 6 > | tYobsErr_ = {{0., 0., 0., 0., 0., 0.}} |
std::array< double, 6 > | tZobs_ = {{0., 0., 0., 0., 0., 0.}} |
std::array< double, 6 > | tZobsErr_ = {{0., 0., 0., 0., 0., 0.}} |
std::bitset< 4 > | updateBits_ |
bool | updateDB_ {false} |
bool | vetoUpdateDB_ {false} |
std::array< double, 6 > | Xobs_ = {{0., 0., 0., 0., 0., 0.}} |
std::array< double, 6 > | XobsErr_ = {{0., 0., 0., 0., 0., 0.}} |
std::array< double, 6 > | Yobs_ = {{0., 0., 0., 0., 0., 0.}} |
std::array< double, 6 > | YobsErr_ = {{0., 0., 0., 0., 0., 0.}} |
std::array< double, 6 > | Zobs_ = {{0., 0., 0., 0., 0., 0.}} |
std::array< double, 6 > | ZobsErr_ = {{0., 0., 0., 0., 0., 0.}} |
Static Private Attributes | |
static constexpr std::array < double, 6 > | multiplier_ |
Definition at line 57 of file MillePedeFileReader.h.
|
strongprivate |
Enumerator | |
---|---|
NotInPCL | |
TPBHalfBarrelXplus | |
TPBHalfBarrelXminus | |
TPEHalfCylinderXplusZplus | |
TPEHalfCylinderXminusZplus | |
TPEHalfCylinderXplusZminus | |
TPEHalfCylinderXminusZminus |
Definition at line 96 of file MillePedeFileReader.h.
|
explicit |
Definition at line 15 of file MillePedeFileReader.cc.
|
virtualdefault |
|
inline |
|
private |
Definition at line 235 of file MillePedeFileReader.cc.
References Alignable::alignableObjectId(), Exception, Alignable::id(), NotInPCL, pedeLabeler_, edm::tns(), align::TPBHalfBarrel, TPBHalfBarrelXminus, TPBHalfBarrelXplus, align::TPEHalfCylinder, TPEHalfCylinderXminusZminus, TPEHalfCylinderXminusZplus, TPEHalfCylinderXplusZminus, and TPEHalfCylinderXplusZplus.
Referenced by readMillePedeResultFile().
|
inline |
Definition at line 88 of file MillePedeFileReader.h.
References exitCode_, exitMessage_, Nrec_, updateBits_, updateDB_, and vetoUpdateDB_.
|
private |
Definition at line 287 of file MillePedeFileReader.cc.
References Exception, TPBHalfBarrelXminus, TPBHalfBarrelXplus, TPEHalfCylinderXminusZminus, TPEHalfCylinderXminusZplus, TPEHalfCylinderXplusZminus, and TPEHalfCylinderXplusZplus.
Referenced by readMillePedeResultFile().
|
inline |
Definition at line 84 of file MillePedeFileReader.h.
References theThresholds_.
|
inline |
|
inline |
Definition at line 72 of file MillePedeFileReader.h.
References tXobsErr_.
|
inline |
|
inline |
Definition at line 77 of file MillePedeFileReader.h.
References tYobsErr_.
|
inline |
|
inline |
Definition at line 82 of file MillePedeFileReader.h.
References tZobsErr_.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void MillePedeFileReader::read | ( | ) |
Definition at line 24 of file MillePedeFileReader.cc.
References readMillePedeEndFile(), readMillePedeLogFile(), and readMillePedeResultFile().
Referenced by edmIntegrityCheck.PublishToFileSystem::get(), and MillePedeAlignmentAlgorithm::storeAlignments().
|
private |
Definition at line 35 of file MillePedeFileReader.cc.
References exitCode_, exitMessage_, geometryCSVtoXML::line, millePedeEndFile_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by read().
|
private |
Definition at line 64 of file MillePedeFileReader.cc.
References binariesAmount_, geometryCSVtoXML::line, heppy_check::logFile, millePedeLogFile_, Nrec_, AlCaHLTBitMon_QueryRunRegistry::string, theThresholds_, and updateDB_.
Referenced by read().
|
private |
Definition at line 100 of file MillePedeFileReader.cc.
References funct::abs(), getHLS(), getStringFromHLS(), geometryCSVtoXML::line, millePedeResFile_, multiplier_, NotInPCL, Nrec_, pedeLabeler_, AlCaHLTBitMon_QueryRunRegistry::string, AlignPCLThresholds::theta_X, AlignPCLThresholds::theta_Y, AlignPCLThresholds::theta_Z, theThresholds_, unpackBuffers-CaloStage2::token, tXobs_, tXobsErr_, tYobs_, tYobsErr_, tZobs_, tZobsErr_, updateBits_, updateDB_, vetoUpdateDB_, AlignPCLThresholds::X, Xobs_, XobsErr_, AlignPCLThresholds::Y, Yobs_, YobsErr_, AlignPCLThresholds::Z, Zobs_, and ZobsErr_.
Referenced by read().
bool MillePedeFileReader::storeAlignments | ( | ) |
Definition at line 30 of file MillePedeFileReader.cc.
References updateDB_, and vetoUpdateDB_.
Referenced by MillePedeAlignmentAlgorithm::storeAlignments().
|
private |
Definition at line 148 of file MillePedeFileReader.h.
Referenced by binariesAmount(), and readMillePedeLogFile().
|
private |
Definition at line 151 of file MillePedeFileReader.h.
Referenced by getResults(), and readMillePedeEndFile().
|
private |
Definition at line 152 of file MillePedeFileReader.h.
Referenced by getResults(), and readMillePedeEndFile().
|
private |
Definition at line 125 of file MillePedeFileReader.h.
Referenced by readMillePedeEndFile().
|
private |
Definition at line 126 of file MillePedeFileReader.h.
Referenced by readMillePedeLogFile().
|
private |
Definition at line 127 of file MillePedeFileReader.h.
Referenced by readMillePedeResultFile().
|
staticprivate |
Definition at line 130 of file MillePedeFileReader.h.
Referenced by readMillePedeResultFile().
|
private |
Definition at line 150 of file MillePedeFileReader.h.
Referenced by getResults(), readMillePedeLogFile(), and readMillePedeResultFile().
|
private |
Definition at line 119 of file MillePedeFileReader.h.
Referenced by getHLS(), and readMillePedeResultFile().
|
private |
Definition at line 122 of file MillePedeFileReader.h.
Referenced by getThresholdMap(), readMillePedeLogFile(), and readMillePedeResultFile().
|
private |
Definition at line 156 of file MillePedeFileReader.h.
Referenced by getTXobs(), and readMillePedeResultFile().
|
private |
Definition at line 157 of file MillePedeFileReader.h.
Referenced by getTXobsErr(), and readMillePedeResultFile().
|
private |
Definition at line 161 of file MillePedeFileReader.h.
Referenced by getTYobs(), and readMillePedeResultFile().
|
private |
Definition at line 162 of file MillePedeFileReader.h.
Referenced by getTYobsErr(), and readMillePedeResultFile().
|
private |
Definition at line 166 of file MillePedeFileReader.h.
Referenced by getTZobs(), and readMillePedeResultFile().
|
private |
Definition at line 167 of file MillePedeFileReader.h.
Referenced by getTZobsErr(), and readMillePedeResultFile().
|
private |
Definition at line 145 of file MillePedeFileReader.h.
Referenced by getResults(), and readMillePedeResultFile().
|
private |
Definition at line 137 of file MillePedeFileReader.h.
Referenced by getResults(), readMillePedeLogFile(), readMillePedeResultFile(), and storeAlignments().
|
private |
Definition at line 138 of file MillePedeFileReader.h.
Referenced by getResults(), readMillePedeResultFile(), and storeAlignments().
|
private |
Definition at line 154 of file MillePedeFileReader.h.
Referenced by getXobs(), and readMillePedeResultFile().
|
private |
Definition at line 155 of file MillePedeFileReader.h.
Referenced by getXobsErr(), and readMillePedeResultFile().
|
private |
Definition at line 159 of file MillePedeFileReader.h.
Referenced by getYobs(), and readMillePedeResultFile().
|
private |
Definition at line 160 of file MillePedeFileReader.h.
Referenced by getYobsErr(), and readMillePedeResultFile().
|
private |
Definition at line 164 of file MillePedeFileReader.h.
Referenced by getZobs(), and readMillePedeResultFile().
|
private |
Definition at line 165 of file MillePedeFileReader.h.
Referenced by getZobsErr(), and readMillePedeResultFile().