![]() |
![]() |
#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 > &, const std::shared_ptr< const SiPixelQuality > &) | |
void | read () |
bool | storeAlignments () |
virtual | ~MillePedeFileReader ()=default |
Static Public Member Functions | |
static void | fillPSetDescription (edm::ParameterSetDescription &desc) |
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 () |
bool | isAlignableActive (const Alignable *alignable, const std::shared_ptr< const SiPixelQuality > &pixelQual) |
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_ |
const bool | ignoreInactiveAlignables_ |
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 SiPixelQuality > | quality_ |
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 66 of file MillePedeFileReader.h.
anonymous enum |
|
strongprivate |
Definition at line 128 of file MillePedeFileReader.h.
|
explicit |
Definition at line 17 of file MillePedeFileReader.cc.
References dirName_.
|
virtualdefault |
|
inline |
|
static |
Definition at line 628 of file MillePedeFileReader.cc.
References submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by MillePedeDQMModule::fillDescriptions().
|
private |
Definition at line 416 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 isAlignableActive(), and readMillePedeResultFile().
Definition at line 578 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 118 of file MillePedeFileReader.h.
References exitCode_, exitMessage_, isHG_, Nrec_, updateBits_, updateDB_, and vetoUpdateDB_.
|
inline |
Definition at line 122 of file MillePedeFileReader.h.
References fractionExceeded_.
|
private |
Definition at line 506 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 isAlignableActive(), and readMillePedeResultFile().
|
inline |
Definition at line 114 of file MillePedeFileReader.h.
References theThresholds_.
|
inline |
Definition at line 86 of file MillePedeFileReader.h.
References tXobs_.
|
inline |
Definition at line 101 of file MillePedeFileReader.h.
References tXobs_HG_.
|
inline |
Definition at line 87 of file MillePedeFileReader.h.
References tXobsErr_.
|
inline |
Definition at line 102 of file MillePedeFileReader.h.
References tXobsErr_HG_.
|
inline |
Definition at line 91 of file MillePedeFileReader.h.
References tYobs_.
|
inline |
Definition at line 106 of file MillePedeFileReader.h.
References tYobs_HG_.
|
inline |
Definition at line 92 of file MillePedeFileReader.h.
References tYobsErr_.
|
inline |
Definition at line 107 of file MillePedeFileReader.h.
References tYobsErr_HG_.
|
inline |
Definition at line 96 of file MillePedeFileReader.h.
References tZobs_.
|
inline |
Definition at line 111 of file MillePedeFileReader.h.
References tZobs_HG_.
|
inline |
Definition at line 97 of file MillePedeFileReader.h.
References tZobsErr_.
|
inline |
Definition at line 112 of file MillePedeFileReader.h.
References tZobsErr_HG_.
|
inline |
Definition at line 84 of file MillePedeFileReader.h.
References Xobs_.
|
inline |
Definition at line 99 of file MillePedeFileReader.h.
References Xobs_HG_.
|
inline |
Definition at line 85 of file MillePedeFileReader.h.
References XobsErr_.
|
inline |
Definition at line 100 of file MillePedeFileReader.h.
References XobsErr_HG_.
|
inline |
Definition at line 89 of file MillePedeFileReader.h.
References Yobs_.
|
inline |
Definition at line 104 of file MillePedeFileReader.h.
References Yobs_HG_.
|
inline |
Definition at line 90 of file MillePedeFileReader.h.
References YobsErr_.
|
inline |
Definition at line 105 of file MillePedeFileReader.h.
References YobsErr_HG_.
|
inline |
Definition at line 94 of file MillePedeFileReader.h.
References Zobs_.
|
inline |
Definition at line 109 of file MillePedeFileReader.h.
References Zobs_HG_.
|
inline |
Definition at line 95 of file MillePedeFileReader.h.
References ZobsErr_.
|
inline |
Definition at line 110 of file MillePedeFileReader.h.
References ZobsErr_HG_.
|
private |
Definition at line 548 of file MillePedeFileReader.cc.
References indexHelper, pixelTopologyMap_, TPBLadderLayer1, TPBLadderLayer2, TPBLadderLayer3, TPBLadderLayer4, TPEPanelDisk1, TPEPanelDisk2, TPEPanelDisk3, TPEPanelDiskM1, TPEPanelDiskM2, and TPEPanelDiskM3.
Referenced by read().
|
private |
Definition at line 354 of file MillePedeFileReader.cc.
References Alignable::deepComponents(), hcalRecHitTable_cff::detId, spr::find(), getHLS(), getStringFromHLS(), RecoTauValidation_cfi::header, mod(), and MillePedeFileConverter_cfg::out.
Referenced by readMillePedeResultFile().
void MillePedeFileReader::read | ( | ) |
Definition at line 36 of file MillePedeFileReader.cc.
References initializeIndexHelper(), isHG_, readMillePedeEndFile(), readMillePedeLogFile(), and readMillePedeResultFile().
Referenced by edmIntegrityCheck.PublishToFileSystem::get(), and MillePedeAlignmentAlgorithm::storeAlignments().
|
private |
Definition at line 50 of file MillePedeFileReader.cc.
References dirName_, exitCode_, exitMessage_, mps_splice::line, millePedeEndFile_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by read().
|
private |
Definition at line 79 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 115 of file MillePedeFileReader.cc.
References funct::abs(), clustersummarymultiplicityprod_cfi::detLabel, dirName_, fractionExceeded_, AlignableObjectId::General, getHLS(), getIndexForHG(), getStringFromHLS(), mps_fire::i, EcalPhiSymFlatTableProducers_cfi::id, ignoreInactiveAlignables_, isAlignableActive(), isHG_, mps_splice::line, millePedeResFile_, multiplier_, NotInPCL, Nrec_, pedeLabeler_, quality_, 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 45 of file MillePedeFileReader.cc.
References updateDB_, and vetoUpdateDB_.
Referenced by MillePedeAlignmentAlgorithm::storeAlignments().
|
private |
Definition at line 206 of file MillePedeFileReader.h.
Referenced by binariesAmount(), and readMillePedeLogFile().
|
private |
Definition at line 179 of file MillePedeFileReader.h.
Referenced by MillePedeFileReader(), readMillePedeEndFile(), readMillePedeLogFile(), and readMillePedeResultFile().
|
private |
Definition at line 212 of file MillePedeFileReader.h.
Referenced by getResults(), and readMillePedeEndFile().
|
private |
Definition at line 213 of file MillePedeFileReader.h.
Referenced by getResults(), and readMillePedeEndFile().
|
private |
Definition at line 209 of file MillePedeFileReader.h.
Referenced by getResultsHG(), and readMillePedeResultFile().
|
private |
Definition at line 173 of file MillePedeFileReader.h.
Referenced by readMillePedeResultFile().
|
private |
Definition at line 245 of file MillePedeFileReader.h.
Referenced by getIndexForHG(), and initializeIndexHelper().
|
private |
Definition at line 196 of file MillePedeFileReader.h.
Referenced by getResults(), read(), and readMillePedeResultFile().
|
private |
Definition at line 182 of file MillePedeFileReader.h.
Referenced by readMillePedeEndFile().
|
private |
Definition at line 183 of file MillePedeFileReader.h.
Referenced by readMillePedeLogFile().
|
private |
Definition at line 184 of file MillePedeFileReader.h.
Referenced by readMillePedeResultFile().
|
staticprivate |
Definition at line 187 of file MillePedeFileReader.h.
Referenced by readMillePedeResultFile().
|
private |
Definition at line 211 of file MillePedeFileReader.h.
Referenced by getResults(), readMillePedeLogFile(), and readMillePedeResultFile().
|
private |
Definition at line 164 of file MillePedeFileReader.h.
Referenced by getHLS(), getIndexForHG(), and readMillePedeResultFile().
|
private |
Definition at line 170 of file MillePedeFileReader.h.
Referenced by initializeIndexHelper().
|
private |
Definition at line 176 of file MillePedeFileReader.h.
Referenced by readMillePedeResultFile().
|
private |
Definition at line 167 of file MillePedeFileReader.h.
Referenced by getThresholdMap(), readMillePedeLogFile(), and readMillePedeResultFile().
|
private |
Definition at line 217 of file MillePedeFileReader.h.
Referenced by getTXobs(), and readMillePedeResultFile().
|
private |
Definition at line 232 of file MillePedeFileReader.h.
Referenced by getTXobs_HG(), and readMillePedeResultFile().
|
private |
Definition at line 218 of file MillePedeFileReader.h.
Referenced by getTXobsErr(), and readMillePedeResultFile().
|
private |
Definition at line 233 of file MillePedeFileReader.h.
Referenced by getTXobsErr_HG(), and readMillePedeResultFile().
|
private |
Definition at line 222 of file MillePedeFileReader.h.
Referenced by getTYobs(), and readMillePedeResultFile().
|
private |
Definition at line 237 of file MillePedeFileReader.h.
Referenced by getTYobs_HG(), and readMillePedeResultFile().
|
private |
Definition at line 223 of file MillePedeFileReader.h.
Referenced by getTYobsErr(), and readMillePedeResultFile().
|
private |
Definition at line 238 of file MillePedeFileReader.h.
Referenced by getTYobsErr_HG(), and readMillePedeResultFile().
|
private |
Definition at line 227 of file MillePedeFileReader.h.
Referenced by getTZobs(), and readMillePedeResultFile().
|
private |
Definition at line 242 of file MillePedeFileReader.h.
Referenced by getTZobs_HG(), and readMillePedeResultFile().
|
private |
Definition at line 228 of file MillePedeFileReader.h.
Referenced by getTZobsErr(), and readMillePedeResultFile().
|
private |
Definition at line 243 of file MillePedeFileReader.h.
Referenced by getTZobsErr_HG(), and readMillePedeResultFile().
|
private |
Definition at line 203 of file MillePedeFileReader.h.
Referenced by getResults(), and readMillePedeResultFile().
|
private |
Definition at line 194 of file MillePedeFileReader.h.
Referenced by getResults(), readMillePedeLogFile(), readMillePedeResultFile(), and storeAlignments().
|
private |
Definition at line 195 of file MillePedeFileReader.h.
Referenced by getResults(), readMillePedeResultFile(), and storeAlignments().
|
private |
Definition at line 215 of file MillePedeFileReader.h.
Referenced by getXobs(), and readMillePedeResultFile().
|
private |
Definition at line 230 of file MillePedeFileReader.h.
Referenced by getXobs_HG(), and readMillePedeResultFile().
|
private |
Definition at line 216 of file MillePedeFileReader.h.
Referenced by getXobsErr(), and readMillePedeResultFile().
|
private |
Definition at line 231 of file MillePedeFileReader.h.
Referenced by getXobsErr_HG(), and readMillePedeResultFile().
|
private |
Definition at line 220 of file MillePedeFileReader.h.
Referenced by getYobs(), and readMillePedeResultFile().
|
private |
Definition at line 235 of file MillePedeFileReader.h.
Referenced by getYobs_HG(), and readMillePedeResultFile().
|
private |
Definition at line 221 of file MillePedeFileReader.h.
Referenced by getYobsErr(), and readMillePedeResultFile().
|
private |
Definition at line 236 of file MillePedeFileReader.h.
Referenced by getYobsErr_HG(), and readMillePedeResultFile().
|
private |
Definition at line 225 of file MillePedeFileReader.h.
Referenced by getZobs(), and readMillePedeResultFile().
|
private |
Definition at line 240 of file MillePedeFileReader.h.
Referenced by getZobs_HG(), and readMillePedeResultFile().
|
private |
Definition at line 226 of file MillePedeFileReader.h.
Referenced by getZobsErr(), and readMillePedeResultFile().
|
private |
Definition at line 241 of file MillePedeFileReader.h.
Referenced by getZobsErr_HG(), and readMillePedeResultFile().