#include <MillePedeFileReader.h>
Public Types | |
enum | { SIZE_LG_STRUCTS = 6, SIZE_HG_STRUCTS = 820 } |
Public Member Functions | |
const int | binariesAmount () const |
const mpPCLresults | getResults () const |
const std::map< std::string, std::array< bool, 6 > > & | getResultsHG () const |
const AlignPCLThresholdsHG::threshold_map | getThresholdMap () const |
const std::array< double, SIZE_LG_STRUCTS > & | getTXobs () const |
const std::array< double, SIZE_HG_STRUCTS > & | getTXobs_HG () const |
const std::array< double, SIZE_LG_STRUCTS > & | getTXobsErr () const |
const std::array< double, SIZE_HG_STRUCTS > & | getTXobsErr_HG () const |
const std::array< double, SIZE_LG_STRUCTS > & | getTYobs () const |
const std::array< double, SIZE_HG_STRUCTS > & | getTYobs_HG () const |
const std::array< double, SIZE_LG_STRUCTS > & | getTYobsErr () const |
const std::array< double, SIZE_HG_STRUCTS > & | getTYobsErr_HG () const |
const std::array< double, SIZE_LG_STRUCTS > & | getTZobs () const |
const std::array< double, SIZE_HG_STRUCTS > & | getTZobs_HG () const |
const std::array< double, SIZE_LG_STRUCTS > & | getTZobsErr () const |
const std::array< double, SIZE_HG_STRUCTS > & | getTZobsErr_HG () const |
const std::array< double, SIZE_LG_STRUCTS > & | getXobs () const |
const std::array< double, SIZE_HG_STRUCTS > & | getXobs_HG () const |
const std::array< double, SIZE_LG_STRUCTS > & | getXobsErr () const |
const std::array< double, SIZE_HG_STRUCTS > & | getXobsErr_HG () const |
const std::array< double, SIZE_LG_STRUCTS > & | getYobs () const |
const std::array< double, SIZE_HG_STRUCTS > & | getYobs_HG () const |
const std::array< double, SIZE_LG_STRUCTS > & | getYobsErr () const |
const std::array< double, SIZE_HG_STRUCTS > & | getYobsErr_HG () const |
const std::array< double, SIZE_LG_STRUCTS > & | getZobs () const |
const std::array< double, SIZE_HG_STRUCTS > & | getZobs_HG () const |
const std::array< double, SIZE_LG_STRUCTS > & | getZobsErr () const |
const std::array< double, SIZE_HG_STRUCTS > & | getZobsErr_HG () const |
MillePedeFileReader (const edm::ParameterSet &, const std::shared_ptr< const PedeLabelerBase > &, const std::shared_ptr< const AlignPCLThresholdsHG > &, const std::shared_ptr< const PixelTopologyMap > &) | |
void | read () |
bool | storeAlignments () |
virtual | ~MillePedeFileReader ()=default |
Private Types | |
enum | PclHLS : int { PclHLS::NotInPCL = -1, PclHLS::TPEHalfCylinderXplusZminus = 0, PclHLS::TPEHalfCylinderXminusZminus = 1, PclHLS::TPBHalfBarrelXplus = 2, PclHLS::TPBHalfBarrelXminus = 3, PclHLS::TPEHalfCylinderXplusZplus = 4, PclHLS::TPEHalfCylinderXminusZplus = 5, PclHLS::TPBLadderLayer1 = 6, PclHLS::TPBLadderLayer2 = 7, PclHLS::TPBLadderLayer3 = 8, PclHLS::TPBLadderLayer4 = 9, PclHLS::TPEPanelDisk1 = 10, PclHLS::TPEPanelDisk2 = 11, PclHLS::TPEPanelDisk3 = 12, PclHLS::TPEPanelDiskM1 = 13, PclHLS::TPEPanelDiskM2 = 14, PclHLS::TPEPanelDiskM3 = 15 } |
Private Member Functions | |
PclHLS | getHLS (const Alignable *) |
int | getIndexForHG (align::ID id, PclHLS HLS) |
std::string | getStringFromHLS (PclHLS HLS) |
void | initializeIndexHelper () |
void | readMillePedeEndFile () |
void | readMillePedeLogFile () |
void | readMillePedeResultFile () |
Private Attributes | |
int | binariesAmount_ {0} |
std::string | dirName_ |
int | exitCode_ {-1} |
std::string | exitMessage_ {""} |
std::map< std::string, std::array< bool, 6 > > | fractionExceeded_ |
std::unordered_map< PclHLS, std::pair< int, int > > | indexHelper |
const bool | isHG_ |
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 PixelTopologyMap > | pixelTopologyMap_ |
const std::shared_ptr< const AlignPCLThresholdsHG > | theThresholds_ |
std::array< double, SIZE_LG_STRUCTS > | tXobs_ = std::array<double, SIZE_LG_STRUCTS>() |
std::array< double, SIZE_HG_STRUCTS > | tXobs_HG_ = std::array<double, SIZE_HG_STRUCTS>() |
std::array< double, SIZE_LG_STRUCTS > | tXobsErr_ = std::array<double, SIZE_LG_STRUCTS>() |
std::array< double, SIZE_HG_STRUCTS > | tXobsErr_HG_ = std::array<double, SIZE_HG_STRUCTS>() |
std::array< double, SIZE_LG_STRUCTS > | tYobs_ = std::array<double, SIZE_LG_STRUCTS>() |
std::array< double, SIZE_HG_STRUCTS > | tYobs_HG_ = std::array<double, SIZE_HG_STRUCTS>() |
std::array< double, SIZE_LG_STRUCTS > | tYobsErr_ = std::array<double, SIZE_LG_STRUCTS>() |
std::array< double, SIZE_HG_STRUCTS > | tYobsErr_HG_ = std::array<double, SIZE_HG_STRUCTS>() |
std::array< double, SIZE_LG_STRUCTS > | tZobs_ = std::array<double, SIZE_LG_STRUCTS>() |
std::array< double, SIZE_HG_STRUCTS > | tZobs_HG_ = std::array<double, SIZE_HG_STRUCTS>() |
std::array< double, SIZE_LG_STRUCTS > | tZobsErr_ = std::array<double, SIZE_LG_STRUCTS>() |
std::array< double, SIZE_HG_STRUCTS > | tZobsErr_HG_ = std::array<double, SIZE_HG_STRUCTS>() |
std::bitset< 4 > | updateBits_ |
bool | updateDB_ {false} |
bool | vetoUpdateDB_ {false} |
std::array< double, SIZE_LG_STRUCTS > | Xobs_ = std::array<double, SIZE_LG_STRUCTS>() |
std::array< double, SIZE_HG_STRUCTS > | Xobs_HG_ = std::array<double, SIZE_HG_STRUCTS>() |
std::array< double, SIZE_LG_STRUCTS > | XobsErr_ = std::array<double, SIZE_LG_STRUCTS>() |
std::array< double, SIZE_HG_STRUCTS > | XobsErr_HG_ = std::array<double, SIZE_HG_STRUCTS>() |
std::array< double, SIZE_LG_STRUCTS > | Yobs_ = std::array<double, SIZE_LG_STRUCTS>() |
std::array< double, SIZE_HG_STRUCTS > | Yobs_HG_ = std::array<double, SIZE_HG_STRUCTS>() |
std::array< double, SIZE_LG_STRUCTS > | YobsErr_ = std::array<double, SIZE_LG_STRUCTS>() |
std::array< double, SIZE_HG_STRUCTS > | YobsErr_HG_ = std::array<double, SIZE_HG_STRUCTS>() |
std::array< double, SIZE_LG_STRUCTS > | Zobs_ = std::array<double, SIZE_LG_STRUCTS>() |
std::array< double, SIZE_HG_STRUCTS > | Zobs_HG_ = std::array<double, SIZE_HG_STRUCTS>() |
std::array< double, SIZE_LG_STRUCTS > | ZobsErr_ = std::array<double, SIZE_LG_STRUCTS>() |
std::array< double, SIZE_HG_STRUCTS > | ZobsErr_HG_ = std::array<double, SIZE_HG_STRUCTS>() |
Static Private Attributes | |
static constexpr std::array< double, 6 > | multiplier_ |
Definition at line 58 of file MillePedeFileReader.h.
anonymous enum |
|
strongprivate |
Definition at line 117 of file MillePedeFileReader.h.
|
explicit |
Definition at line 16 of file MillePedeFileReader.cc.
References dirName_.
|
virtualdefault |
|
inline |
|
private |
Definition at line 344 of file MillePedeFileReader.cc.
References Alignable::alignableObjectId(), Exception, Alignable::id(), NotInPCL, pedeLabeler_, align::TPBHalfBarrel, TPBHalfBarrelXminus, TPBHalfBarrelXplus, align::TPBLadder, TPBLadderLayer1, TPBLadderLayer2, TPBLadderLayer3, TPBLadderLayer4, align::TPEHalfCylinder, TPEHalfCylinderXminusZminus, TPEHalfCylinderXminusZplus, TPEHalfCylinderXplusZminus, TPEHalfCylinderXplusZplus, align::TPEPanel, TPEPanelDisk1, TPEPanelDisk2, TPEPanelDisk3, TPEPanelDiskM1, TPEPanelDiskM2, and TPEPanelDiskM3.
Referenced by readMillePedeResultFile().
Definition at line 507 of file MillePedeFileReader.cc.
References indexHelper, pedeLabeler_, TPBLadderLayer1, TPBLadderLayer2, TPBLadderLayer3, TPBLadderLayer4, TPEPanelDisk1, TPEPanelDisk2, TPEPanelDisk3, TPEPanelDiskM1, TPEPanelDiskM2, and TPEPanelDiskM3.
Referenced by readMillePedeResultFile().
|
inline |
Definition at line 107 of file MillePedeFileReader.h.
References exitCode_, exitMessage_, Nrec_, updateBits_, updateDB_, and vetoUpdateDB_.
|
inline |
Definition at line 111 of file MillePedeFileReader.h.
References fractionExceeded_.
|
private |
Definition at line 434 of file MillePedeFileReader.cc.
References Exception, TPBHalfBarrelXminus, TPBHalfBarrelXplus, TPBLadderLayer1, TPBLadderLayer2, TPBLadderLayer3, TPBLadderLayer4, TPEHalfCylinderXminusZminus, TPEHalfCylinderXminusZplus, TPEHalfCylinderXplusZminus, TPEHalfCylinderXplusZplus, TPEPanelDisk1, TPEPanelDisk2, TPEPanelDisk3, TPEPanelDiskM1, TPEPanelDiskM2, and TPEPanelDiskM3.
Referenced by readMillePedeResultFile().
|
inline |
Definition at line 103 of file MillePedeFileReader.h.
References theThresholds_.
|
inline |
Definition at line 75 of file MillePedeFileReader.h.
References tXobs_.
|
inline |
Definition at line 90 of file MillePedeFileReader.h.
References tXobs_HG_.
|
inline |
Definition at line 76 of file MillePedeFileReader.h.
References tXobsErr_.
|
inline |
Definition at line 91 of file MillePedeFileReader.h.
References tXobsErr_HG_.
|
inline |
Definition at line 80 of file MillePedeFileReader.h.
References tYobs_.
|
inline |
Definition at line 95 of file MillePedeFileReader.h.
References tYobs_HG_.
|
inline |
Definition at line 81 of file MillePedeFileReader.h.
References tYobsErr_.
|
inline |
Definition at line 96 of file MillePedeFileReader.h.
References tYobsErr_HG_.
|
inline |
Definition at line 85 of file MillePedeFileReader.h.
References tZobs_.
|
inline |
Definition at line 100 of file MillePedeFileReader.h.
References tZobs_HG_.
|
inline |
Definition at line 86 of file MillePedeFileReader.h.
References tZobsErr_.
|
inline |
Definition at line 101 of file MillePedeFileReader.h.
References tZobsErr_HG_.
|
inline |
Definition at line 73 of file MillePedeFileReader.h.
References Xobs_.
|
inline |
Definition at line 88 of file MillePedeFileReader.h.
References Xobs_HG_.
|
inline |
Definition at line 74 of file MillePedeFileReader.h.
References XobsErr_.
|
inline |
Definition at line 89 of file MillePedeFileReader.h.
References XobsErr_HG_.
|
inline |
Definition at line 78 of file MillePedeFileReader.h.
References Yobs_.
|
inline |
Definition at line 93 of file MillePedeFileReader.h.
References Yobs_HG_.
|
inline |
Definition at line 79 of file MillePedeFileReader.h.
References YobsErr_.
|
inline |
Definition at line 94 of file MillePedeFileReader.h.
References YobsErr_HG_.
|
inline |
Definition at line 83 of file MillePedeFileReader.h.
References Zobs_.
|
inline |
Definition at line 98 of file MillePedeFileReader.h.
References Zobs_HG_.
|
inline |
Definition at line 84 of file MillePedeFileReader.h.
References ZobsErr_.
|
inline |
Definition at line 99 of file MillePedeFileReader.h.
References ZobsErr_HG_.
|
private |
Definition at line 476 of file MillePedeFileReader.cc.
References indexHelper, pixelTopologyMap_, TPBLadderLayer1, TPBLadderLayer2, TPBLadderLayer3, TPBLadderLayer4, TPEPanelDisk1, TPEPanelDisk2, TPEPanelDisk3, TPEPanelDiskM1, TPEPanelDiskM2, and TPEPanelDiskM3.
Referenced by read().
void MillePedeFileReader::read | ( | ) |
Definition at line 32 of file MillePedeFileReader.cc.
References initializeIndexHelper(), isHG_, readMillePedeEndFile(), readMillePedeLogFile(), and readMillePedeResultFile().
Referenced by edmIntegrityCheck.PublishToFileSystem::get(), and MillePedeAlignmentAlgorithm::storeAlignments().
|
private |
Definition at line 46 of file MillePedeFileReader.cc.
References dirName_, exitCode_, exitMessage_, mps_splice::line, millePedeEndFile_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by read().
|
private |
Definition at line 75 of file MillePedeFileReader.cc.
References binariesAmount_, dirName_, mps_splice::line, heppy_check::logFile, millePedeLogFile_, Nrec_, AlCaHLTBitMon_QueryRunRegistry::string, theThresholds_, and updateDB_.
Referenced by read().
|
private |
Definition at line 111 of file MillePedeFileReader.cc.
References funct::abs(), clustersummarymultiplicityprod_cfi::detLabel, dirName_, fractionExceeded_, AlignableObjectId::General, getHLS(), getIndexForHG(), getStringFromHLS(), mps_fire::i, triggerObjects_cff::id, isHG_, mps_splice::line, millePedeResFile_, multiplier_, NotInPCL, Nrec_, pedeLabeler_, contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), AlignPCLThresholds::theta_X, AlignPCLThresholds::theta_Y, AlignPCLThresholds::theta_Z, theThresholds_, unpackBuffers-CaloStage2::token, align::TPBLadder, align::TPEPanel, tXobs_, tXobs_HG_, tXobsErr_, tXobsErr_HG_, tYobs_, tYobs_HG_, tYobsErr_, tYobsErr_HG_, tZobs_, tZobs_HG_, tZobsErr_, tZobsErr_HG_, updateBits_, updateDB_, vetoUpdateDB_, AlignPCLThresholds::X, Xobs_, Xobs_HG_, XobsErr_, XobsErr_HG_, AlignPCLThresholds::Y, Yobs_, Yobs_HG_, YobsErr_, YobsErr_HG_, AlignPCLThresholds::Z, Zobs_, Zobs_HG_, ZobsErr_, and ZobsErr_HG_.
Referenced by read().
bool MillePedeFileReader::storeAlignments | ( | ) |
Definition at line 41 of file MillePedeFileReader.cc.
References updateDB_, and vetoUpdateDB_.
Referenced by MillePedeAlignmentAlgorithm::storeAlignments().
|
private |
Definition at line 188 of file MillePedeFileReader.h.
Referenced by binariesAmount(), and readMillePedeLogFile().
|
private |
Definition at line 161 of file MillePedeFileReader.h.
Referenced by MillePedeFileReader(), readMillePedeEndFile(), readMillePedeLogFile(), and readMillePedeResultFile().
|
private |
Definition at line 194 of file MillePedeFileReader.h.
Referenced by getResults(), and readMillePedeEndFile().
|
private |
Definition at line 195 of file MillePedeFileReader.h.
Referenced by getResults(), and readMillePedeEndFile().
|
private |
Definition at line 191 of file MillePedeFileReader.h.
Referenced by getResultsHG(), and readMillePedeResultFile().
|
private |
Definition at line 227 of file MillePedeFileReader.h.
Referenced by getIndexForHG(), and initializeIndexHelper().
|
private |
Definition at line 178 of file MillePedeFileReader.h.
Referenced by read(), and readMillePedeResultFile().
|
private |
Definition at line 164 of file MillePedeFileReader.h.
Referenced by readMillePedeEndFile().
|
private |
Definition at line 165 of file MillePedeFileReader.h.
Referenced by readMillePedeLogFile().
|
private |
Definition at line 166 of file MillePedeFileReader.h.
Referenced by readMillePedeResultFile().
|
staticprivate |
Definition at line 169 of file MillePedeFileReader.h.
Referenced by readMillePedeResultFile().
|
private |
Definition at line 193 of file MillePedeFileReader.h.
Referenced by getResults(), readMillePedeLogFile(), and readMillePedeResultFile().
|
private |
Definition at line 152 of file MillePedeFileReader.h.
Referenced by getHLS(), getIndexForHG(), and readMillePedeResultFile().
|
private |
Definition at line 158 of file MillePedeFileReader.h.
Referenced by initializeIndexHelper().
|
private |
Definition at line 155 of file MillePedeFileReader.h.
Referenced by getThresholdMap(), readMillePedeLogFile(), and readMillePedeResultFile().
|
private |
Definition at line 199 of file MillePedeFileReader.h.
Referenced by getTXobs(), and readMillePedeResultFile().
|
private |
Definition at line 214 of file MillePedeFileReader.h.
Referenced by getTXobs_HG(), and readMillePedeResultFile().
|
private |
Definition at line 200 of file MillePedeFileReader.h.
Referenced by getTXobsErr(), and readMillePedeResultFile().
|
private |
Definition at line 215 of file MillePedeFileReader.h.
Referenced by getTXobsErr_HG(), and readMillePedeResultFile().
|
private |
Definition at line 204 of file MillePedeFileReader.h.
Referenced by getTYobs(), and readMillePedeResultFile().
|
private |
Definition at line 219 of file MillePedeFileReader.h.
Referenced by getTYobs_HG(), and readMillePedeResultFile().
|
private |
Definition at line 205 of file MillePedeFileReader.h.
Referenced by getTYobsErr(), and readMillePedeResultFile().
|
private |
Definition at line 220 of file MillePedeFileReader.h.
Referenced by getTYobsErr_HG(), and readMillePedeResultFile().
|
private |
Definition at line 209 of file MillePedeFileReader.h.
Referenced by getTZobs(), and readMillePedeResultFile().
|
private |
Definition at line 224 of file MillePedeFileReader.h.
Referenced by getTZobs_HG(), and readMillePedeResultFile().
|
private |
Definition at line 210 of file MillePedeFileReader.h.
Referenced by getTZobsErr(), and readMillePedeResultFile().
|
private |
Definition at line 225 of file MillePedeFileReader.h.
Referenced by getTZobsErr_HG(), and readMillePedeResultFile().
|
private |
Definition at line 185 of file MillePedeFileReader.h.
Referenced by getResults(), and readMillePedeResultFile().
|
private |
Definition at line 176 of file MillePedeFileReader.h.
Referenced by getResults(), readMillePedeLogFile(), readMillePedeResultFile(), and storeAlignments().
|
private |
Definition at line 177 of file MillePedeFileReader.h.
Referenced by getResults(), readMillePedeResultFile(), and storeAlignments().
|
private |
Definition at line 197 of file MillePedeFileReader.h.
Referenced by getXobs(), and readMillePedeResultFile().
|
private |
Definition at line 212 of file MillePedeFileReader.h.
Referenced by getXobs_HG(), and readMillePedeResultFile().
|
private |
Definition at line 198 of file MillePedeFileReader.h.
Referenced by getXobsErr(), and readMillePedeResultFile().
|
private |
Definition at line 213 of file MillePedeFileReader.h.
Referenced by getXobsErr_HG(), and readMillePedeResultFile().
|
private |
Definition at line 202 of file MillePedeFileReader.h.
Referenced by getYobs(), and readMillePedeResultFile().
|
private |
Definition at line 217 of file MillePedeFileReader.h.
Referenced by getYobs_HG(), and readMillePedeResultFile().
|
private |
Definition at line 203 of file MillePedeFileReader.h.
Referenced by getYobsErr(), and readMillePedeResultFile().
|
private |
Definition at line 218 of file MillePedeFileReader.h.
Referenced by getYobsErr_HG(), and readMillePedeResultFile().
|
private |
Definition at line 207 of file MillePedeFileReader.h.
Referenced by getZobs(), and readMillePedeResultFile().
|
private |
Definition at line 222 of file MillePedeFileReader.h.
Referenced by getZobs_HG(), and readMillePedeResultFile().
|
private |
Definition at line 208 of file MillePedeFileReader.h.
Referenced by getZobsErr(), and readMillePedeResultFile().
|
private |
Definition at line 223 of file MillePedeFileReader.h.
Referenced by getZobsErr_HG(), and readMillePedeResultFile().