1 #ifndef ALIGNMENT_MILLEPEDEALIGNMENTALGORITHM_INTERFACE_MILLEPEDEFILEREADER_H_ 2 #define ALIGNMENT_MILLEPEDEALIGNMENTALGORITHM_INTERFACE_MILLEPEDEFILEREADER_H_ 34 bool isDBUpdateVetoed,
70 const std::shared_ptr<const PedeLabelerBase>&,
71 const std::shared_ptr<const AlignPCLThresholdsHG>&,
72 const std::shared_ptr<const PixelTopologyMap>&,
73 const std::shared_ptr<const SiPixelQuality>&);
84 const std::array<double, SIZE_LG_STRUCTS>&
getXobs()
const {
return Xobs_; }
86 const std::array<double, SIZE_LG_STRUCTS>&
getTXobs()
const {
return tXobs_; }
89 const std::array<double, SIZE_LG_STRUCTS>&
getYobs()
const {
return Yobs_; }
91 const std::array<double, SIZE_LG_STRUCTS>&
getTYobs()
const {
return tYobs_; }
94 const std::array<double, SIZE_LG_STRUCTS>&
getZobs()
const {
return Zobs_; }
96 const std::array<double, SIZE_LG_STRUCTS>&
getTZobs()
const {
return tZobs_; }
176 const std::shared_ptr<const SiPixelQuality>
quality_;
215 std::array<double, SIZE_LG_STRUCTS>
Xobs_ = std::array<double, SIZE_LG_STRUCTS>();
216 std::array<double, SIZE_LG_STRUCTS>
XobsErr_ = std::array<double, SIZE_LG_STRUCTS>();
217 std::array<double, SIZE_LG_STRUCTS>
tXobs_ = std::array<double, SIZE_LG_STRUCTS>();
218 std::array<double, SIZE_LG_STRUCTS>
tXobsErr_ = std::array<double, SIZE_LG_STRUCTS>();
220 std::array<double, SIZE_LG_STRUCTS>
Yobs_ = std::array<double, SIZE_LG_STRUCTS>();
221 std::array<double, SIZE_LG_STRUCTS>
YobsErr_ = std::array<double, SIZE_LG_STRUCTS>();
222 std::array<double, SIZE_LG_STRUCTS>
tYobs_ = std::array<double, SIZE_LG_STRUCTS>();
223 std::array<double, SIZE_LG_STRUCTS>
tYobsErr_ = std::array<double, SIZE_LG_STRUCTS>();
225 std::array<double, SIZE_LG_STRUCTS>
Zobs_ = std::array<double, SIZE_LG_STRUCTS>();
226 std::array<double, SIZE_LG_STRUCTS>
ZobsErr_ = std::array<double, SIZE_LG_STRUCTS>();
227 std::array<double, SIZE_LG_STRUCTS>
tZobs_ = std::array<double, SIZE_LG_STRUCTS>();
228 std::array<double, SIZE_LG_STRUCTS>
tZobsErr_ = std::array<double, SIZE_LG_STRUCTS>();
230 std::array<double, SIZE_HG_STRUCTS>
Xobs_HG_ = std::array<double, SIZE_HG_STRUCTS>();
231 std::array<double, SIZE_HG_STRUCTS>
XobsErr_HG_ = std::array<double, SIZE_HG_STRUCTS>();
232 std::array<double, SIZE_HG_STRUCTS>
tXobs_HG_ = std::array<double, SIZE_HG_STRUCTS>();
233 std::array<double, SIZE_HG_STRUCTS>
tXobsErr_HG_ = std::array<double, SIZE_HG_STRUCTS>();
235 std::array<double, SIZE_HG_STRUCTS>
Yobs_HG_ = std::array<double, SIZE_HG_STRUCTS>();
236 std::array<double, SIZE_HG_STRUCTS>
YobsErr_HG_ = std::array<double, SIZE_HG_STRUCTS>();
237 std::array<double, SIZE_HG_STRUCTS>
tYobs_HG_ = std::array<double, SIZE_HG_STRUCTS>();
238 std::array<double, SIZE_HG_STRUCTS>
tYobsErr_HG_ = std::array<double, SIZE_HG_STRUCTS>();
240 std::array<double, SIZE_HG_STRUCTS>
Zobs_HG_ = std::array<double, SIZE_HG_STRUCTS>();
241 std::array<double, SIZE_HG_STRUCTS>
ZobsErr_HG_ = std::array<double, SIZE_HG_STRUCTS>();
242 std::array<double, SIZE_HG_STRUCTS>
tZobs_HG_ = std::array<double, SIZE_HG_STRUCTS>();
243 std::array<double, SIZE_HG_STRUCTS>
tZobsErr_HG_ = std::array<double, SIZE_HG_STRUCTS>();
248 const std::array<std::string, 8>
coord_str = {{
"X",
"Y",
"Z",
"theta_X",
"theta_Y",
"theta_Z",
"extra_DOF",
"none"}};
251 return os <<
"unrecongnized coordinate";
std::array< double, SIZE_LG_STRUCTS > Zobs_
const std::array< double, SIZE_LG_STRUCTS > & getTZobsErr() const
const std::array< double, SIZE_LG_STRUCTS > & getZobs() const
std::array< double, SIZE_HG_STRUCTS > tXobs_HG_
std::array< double, SIZE_LG_STRUCTS > tYobs_
std::array< double, SIZE_LG_STRUCTS > tZobsErr_
std::map< std::string, AlignPCLThreshold > threshold_map
std::array< double, SIZE_LG_STRUCTS > Yobs_
std::ostream & operator<<(std::ostream &os, const AlignPCLThresholdsHG::coordType &c)
const std::shared_ptr< const AlignPCLThresholdsHG > theThresholds_
std::array< double, SIZE_HG_STRUCTS > XobsErr_HG_
std::bitset< 4 > updateBits_
std::array< double, SIZE_LG_STRUCTS > YobsErr_
std::array< double, SIZE_HG_STRUCTS > YobsErr_HG_
const std::array< double, SIZE_HG_STRUCTS > & getTXobs_HG() const
const std::array< double, SIZE_HG_STRUCTS > & getXobs_HG() const
const std::shared_ptr< const PixelTopologyMap > pixelTopologyMap_
const std::array< double, SIZE_HG_STRUCTS > & getTYobsErr_HG() const
const std::array< double, SIZE_HG_STRUCTS > & getZobsErr_HG() const
const std::shared_ptr< const SiPixelQuality > quality_
const std::array< double, SIZE_HG_STRUCTS > & getZobs_HG() const
const std::array< double, SIZE_LG_STRUCTS > & getXobs() const
const std::array< double, SIZE_HG_STRUCTS > & getXobsErr_HG() const
PclHLS getHLS(const Alignable *)
const int binariesAmount() const
virtual ~MillePedeFileReader()=default
const std::array< double, SIZE_HG_STRUCTS > & getTXobsErr_HG() const
void readMillePedeLogFile()
std::array< double, SIZE_HG_STRUCTS > Zobs_HG_
std::array< double, SIZE_LG_STRUCTS > Xobs_
static constexpr std::array< double, 6 > multiplier_
std::array< double, SIZE_HG_STRUCTS > Xobs_HG_
const std::array< double, SIZE_LG_STRUCTS > & getYobsErr() const
std::array< double, SIZE_HG_STRUCTS > tYobs_HG_
const std::string millePedeLogFile_
const std::array< double, SIZE_HG_STRUCTS > & getYobsErr_HG() const
const std::array< double, SIZE_LG_STRUCTS > & getTXobsErr() const
const std::map< std::string, std::array< bool, 6 > > & getResultsHG() const
const std::array< double, SIZE_LG_STRUCTS > & getTYobs() const
const std::array< double, SIZE_HG_STRUCTS > & getTYobs_HG() const
const mpPCLresults getResults() const
const bool belowSignificance()
const std::array< double, SIZE_LG_STRUCTS > & getXobsErr() const
std::array< double, SIZE_LG_STRUCTS > tXobs_
const bool isHighGranularity()
void initializeIndexHelper()
void readMillePedeResultFile()
const std::array< double, SIZE_HG_STRUCTS > & getTZobs_HG() const
std::array< double, SIZE_LG_STRUCTS > tYobsErr_
std::array< double, SIZE_HG_STRUCTS > ZobsErr_HG_
static void fillPSetDescription(edm::ParameterSetDescription &desc)
const bool exceedsCutoffs()
std::array< double, SIZE_HG_STRUCTS > tZobs_HG_
const std::string getExitMessage()
const std::array< double, SIZE_LG_STRUCTS > & getYobs() const
const AlignPCLThresholdsHG::threshold_map getThresholdMap() const
std::bitset< 4 > m_updateBits
std::string getStringFromHLS(PclHLS HLS)
Log< level::Info, false > LogInfo
const std::array< double, SIZE_LG_STRUCTS > & getTYobsErr() const
const std::string millePedeResFile_
std::string m_exitMessage
std::array< double, SIZE_LG_STRUCTS > tXobsErr_
const bool ignoreInactiveAlignables_
const std::array< std::string, 8 > coord_str
std::unordered_map< PclHLS, std::pair< int, int > > indexHelper
const std::array< double, SIZE_HG_STRUCTS > & getYobs_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 > &)
const bool getDBUpdated()
std::array< double, SIZE_HG_STRUCTS > tZobsErr_HG_
std::array< double, SIZE_LG_STRUCTS > XobsErr_
int getIndexForHG(align::ID id, PclHLS HLS)
const bool exceedsThresholds()
const std::shared_ptr< const PedeLabelerBase > pedeLabeler_
const std::array< double, SIZE_LG_STRUCTS > & getTZobs() const
const std::string millePedeEndFile_
std::array< double, SIZE_HG_STRUCTS > tXobsErr_HG_
std::array< double, SIZE_HG_STRUCTS > Yobs_HG_
void readMillePedeEndFile()
std::array< double, SIZE_LG_STRUCTS > tZobs_
const bool exceedsMaxError()
bool isAlignableActive(const Alignable *alignable, const std::shared_ptr< const SiPixelQuality > &pixelQual)
const std::array< double, SIZE_LG_STRUCTS > & getZobsErr() const
std::map< std::string, std::array< bool, 6 > > fractionExceeded_
mpPCLresults(bool isDBUpdated, bool isDBUpdateVetoed, int nRecords, int exitCode, std::string exitMessage, std::bitset< 4 > updateBits, bool isHG)
const std::array< double, SIZE_HG_STRUCTS > & getTZobsErr_HG() const
std::array< double, SIZE_LG_STRUCTS > ZobsErr_
std::array< double, SIZE_HG_STRUCTS > tYobsErr_HG_
const std::array< double, SIZE_LG_STRUCTS > & getTXobs() const