|
FairRoot/PandaRoot
|
#include <PndLmdAlignQA.h>
Public Member Functions | |
| PndLmdAlignQA () | |
| virtual | ~PndLmdAlignQA () |
| void | init () |
| void | checkCyclicMatrices (bool inCentimeters=true) |
| void | checkCombinedMatrices (bool inCentimeters=true) |
| void | plotCMvsPXmatrices () |
| void | plotMatrixresiduals (bool inCentimeters=true) |
| void | plotPXvsCMmatricesResiduals () |
| void | histogramPairDistances () |
| void | calculatePixelDistancesFrontToBack () |
| void | readMatrixInfo () |
| void | checkIOpaths () |
| bool | checkForMatrixFiles () |
| void | calculateOverlapingAreas () |
| void | setInCentimeters (bool inCentimeters) |
| void | setLmdMatPath (const std::string &path) |
| void | setBinaryMatPath (const std::string &path) |
| void | setPdfOutPath (const std::string &path) |
| void | setAlignedGeometry (bool aligned) |
| void | setPairsRequired (int number) |
| void | setOutputPath (std::string path) |
| void | setInfoAbsolute (bool info) |
| void | setInfoMomentum (double info) |
| void | setInfoRelative (bool info) |
Private Member Functions | |
| void | createHist (std::vector< std::vector< double > > &vec, histParams ¶meters) |
| void | histPixelDistances (int sen1, int sen2, bool aligned=true) |
| double | calculateOverlappingArea (int id1, int id2, bool aligned=true) |
| int | noOfPairs (int overlapID) |
Private Attributes | |
| std::vector< std::string > | _inputFiles |
| std::string | outputPath |
| std::string | pdfOutPath |
| std::string | binaryMatPath |
| std::string | LMDMatPath |
| double | infoMomentum |
| bool | infoAbsolute |
| bool | infoRelative |
| bool | byPlane |
| bool | _inCentimeters |
| bool | alignOptionBool |
| int | pairsRequired |
| PndLmdAlignManager | manager |
| PndLmdGeometryHelper * | helper |
| std::map< int, int > | matrixInfo |
Definition at line 32 of file PndLmdAlignQA.h.
| PndLmdAlignQA::PndLmdAlignQA | ( | ) |
Definition at line 32 of file PndLmdAlignQA.cxx.
References init().
|
virtual |
Definition at line 36 of file PndLmdAlignQA.cxx.
| void PndLmdAlignQA::calculateOverlapingAreas | ( | ) |
Definition at line 50 of file PndLmdAlignQA.cxx.
References calculateOverlappingArea(), exit(), PndLmdGeometryHelper::getAvailableOverlapIDs(), helper, and i.
|
private |
Definition at line 479 of file PndLmdAlignQA.cxx.
Referenced by calculateOverlapingAreas().
| void PndLmdAlignQA::calculatePixelDistancesFrontToBack | ( | ) |
Definition at line 193 of file PndLmdAlignQA.cxx.
References histPixelDistances().
| void PndLmdAlignQA::checkCombinedMatrices | ( | bool | inCentimeters = true | ) |
Definition at line 205 of file PndLmdAlignQA.cxx.
References _inCentimeters, histParams::bins, createHist(), histParams::fileName, LMDMatPath, manager, histParams::path, pdfOutPath, histParams::printCMPXinPathName, readMatrixInfo(), histParams::scaleFactor, PndLmdAlignManager::setInCentimeters(), PndLmdAlignManager::setMatrixOutDir(), histParams::title, Matrix::val, histParams::vectorIndex, histParams::xMax, histParams::xMin, histParams::xtitle, and histParams::ytitle.
| void PndLmdAlignQA::checkCyclicMatrices | ( | bool | inCentimeters = true | ) |
Definition at line 299 of file PndLmdAlignQA.cxx.
References _inCentimeters, histParams::bins, createHist(), histParams::fileName, i, LMDMatPath, manager, histParams::path, pdfOutPath, histParams::printCMPXinPathName, readMatrixInfo(), histParams::scaleFactor, PndLmdAlignManager::setInCentimeters(), PndLmdAlignManager::setMatrixOutDir(), histParams::title, Matrix::val, histParams::vectorIndex, histParams::xMax, histParams::xMin, histParams::xtitle, and histParams::ytitle.
| bool PndLmdAlignQA::checkForMatrixFiles | ( | ) |
Definition at line 565 of file PndLmdAlignQA.cxx.
References _inCentimeters, files, PndLmdGeometryHelper::getAvailableOverlapIDs(), helper, i, LMDMatPath, PndLmdAlignManager::makeMatrixFileName(), manager, and PndLmdAlignManager::searchFiles().
Referenced by runLumiPixel2gAlignQA().
| void PndLmdAlignQA::checkIOpaths | ( | ) |
|
private |
Definition at line 604 of file PndLmdAlignQA.cxx.
References _inCentimeters, histParams::bins, exit(), histParams::fileName, PndLmdAlignManager::mkdir(), histParams::path, histParams::printCMPXinPathName, histParams::scaleFactor, histParams::title, vec, histParams::vectorIndex, histParams::xMax, histParams::xMin, histParams::xtitle, and histParams::ytitle.
Referenced by checkCombinedMatrices(), checkCyclicMatrices(), histogramPairDistances(), plotCMvsPXmatrices(), plotMatrixresiduals(), and plotPXvsCMmatricesResiduals().
| void PndLmdAlignQA::histogramPairDistances | ( | ) |
Definition at line 990 of file PndLmdAlignQA.cxx.
References PndLmdAlignManager::aligners, binaryMatPath, PndLmdAlignManager::checkForBinaryFiles(), createHist(), histParams::fileName, i, PndLmdAlignManager::init(), manager, PndLmdSensorAligner::numberOfPairs, PndLmdSensorAligner::overlapID, histParams::path, pdfOutPath, histParams::printCMPXinPathName, readMatrixInfo(), PndLmdAlignManager::readPairsFromBinaryFiles(), histParams::scaleFactor, PndLmdAlignManager::setBinaryPairFileDirectory(), PndLmdAlignManager::setInCentimeters(), PndLmdSensorAligner::simpleSensorOneX, PndLmdSensorAligner::simpleSensorOneY, PndLmdSensorAligner::simpleSensorTwoX, PndLmdSensorAligner::simpleSensorTwoY, sqrt(), histParams::title, histParams::vectorIndex, histParams::xMax, histParams::xMin, histParams::xtitle, and histParams::ytitle.
|
private |
Definition at line 381 of file PndLmdAlignQA.cxx.
References filename, hist, i, pdfOutPath, and sensor2.
Referenced by calculatePixelDistancesFrontToBack().
| void PndLmdAlignQA::init | ( | ) |
Definition at line 40 of file PndLmdAlignQA.cxx.
References _inCentimeters, byPlane, PndLmdGeometryHelper::getInstance(), helper, infoAbsolute, infoMomentum, and infoRelative.
Referenced by PndLmdAlignQA().
|
private |
| void PndLmdAlignQA::plotCMvsPXmatrices | ( | ) |
Definition at line 77 of file PndLmdAlignQA.cxx.
References createHist(), histParams::fileName, PndLmdGeometryHelper::getOverlapIdFromSensorIDs(), helper, i, LMDMatPath, PndLmdAlignManager::makeMatrixFileName(), manager, matrixInfo, pairsRequired, histParams::path, pdfOutPath, histParams::printCMPXinPathName, PndLmdAlignManager::readMatrix(), readMatrixInfo(), histParams::scaleFactor, histParams::title, Matrix::val, histParams::vectorIndex, histParams::xMax, histParams::xMin, histParams::xtitle, and histParams::ytitle.
| void PndLmdAlignQA::plotMatrixresiduals | ( | bool | inCentimeters = true | ) |
Definition at line 817 of file PndLmdAlignQA.cxx.
References _inCentimeters, alignOptionBool, createHist(), Matrix::eye(), histParams::fileName, PndLmdGeometryHelper::getOverlapIdFromSensorIDs(), helper, i, LMDMatPath, PndLmdAlignManager::makeMatrixFileName(), manager, matrixInfo, pairsRequired, histParams::path, pdfOutPath, histParams::printCMPXinPathName, PndLmdAlignManager::readMatrix(), readMatrixInfo(), histParams::scaleFactor, PndLmdAlignManager::setInCentimeters(), histParams::title, Matrix::val, histParams::vectorIndex, histParams::xMax, histParams::xMin, histParams::xtitle, and histParams::ytitle.
| void PndLmdAlignQA::plotPXvsCMmatricesResiduals | ( | ) |
Definition at line 640 of file PndLmdAlignQA.cxx.
References alignOptionBool, createHist(), exit(), Matrix::eye(), histParams::fileName, PndLmdGeometryHelper::getOverlapIdFromSensorIDs(), helper, i, LMDMatPath, PndLmdAlignManager::makeMatrixFileName(), manager, matrixInfo, pairsRequired, histParams::path, pdfOutPath, histParams::printCMPXinPathName, PndLmdAlignManager::readMatrix(), readMatrixInfo(), histParams::scaleFactor, histParams::title, histParams::vectorIndex, histParams::xMax, histParams::xMin, histParams::xtitle, and histParams::ytitle.
| void PndLmdAlignQA::readMatrixInfo | ( | ) |
Definition at line 523 of file PndLmdAlignQA.cxx.
References _inCentimeters, filename, PndLmdAlignManager::findRegex(), LMDMatPath, manager, matrixInfo, and PndLmdAlignManager::readFile().
Referenced by checkCombinedMatrices(), checkCyclicMatrices(), histogramPairDistances(), plotCMvsPXmatrices(), plotMatrixresiduals(), and plotPXvsCMmatricesResiduals().
|
inline |
|
inline |
|
inline |
Definition at line 87 of file PndLmdAlignQA.h.
References _inCentimeters.
Referenced by runLumiPixel2gAlignQA().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 88 of file PndLmdAlignQA.h.
References LMDMatPath.
Referenced by runLumiPixel2gAlignQA().
|
inline |
|
inline |
Definition at line 92 of file PndLmdAlignQA.h.
References pairsRequired.
Referenced by runLumiPixel2gAlignQA().
|
inline |
Definition at line 90 of file PndLmdAlignQA.h.
References pdfOutPath.
Referenced by runLumiPixel2gAlignQA().
|
private |
Definition at line 39 of file PndLmdAlignQA.h.
Referenced by checkCombinedMatrices(), checkCyclicMatrices(), checkForMatrixFiles(), createHist(), init(), plotMatrixresiduals(), readMatrixInfo(), and setInCentimeters().
|
private |
Definition at line 36 of file PndLmdAlignQA.h.
|
private |
Definition at line 40 of file PndLmdAlignQA.h.
Referenced by plotMatrixresiduals(), plotPXvsCMmatricesResiduals(), and setAlignedGeometry().
|
private |
Definition at line 37 of file PndLmdAlignQA.h.
Referenced by histogramPairDistances(), and setBinaryMatPath().
|
private |
Definition at line 39 of file PndLmdAlignQA.h.
Referenced by init().
|
private |
Definition at line 43 of file PndLmdAlignQA.h.
Referenced by calculateOverlapingAreas(), checkForMatrixFiles(), init(), plotCMvsPXmatrices(), plotMatrixresiduals(), and plotPXvsCMmatricesResiduals().
|
private |
Definition at line 39 of file PndLmdAlignQA.h.
Referenced by init(), and setInfoAbsolute().
|
private |
Definition at line 38 of file PndLmdAlignQA.h.
Referenced by init(), and setInfoMomentum().
|
private |
Definition at line 39 of file PndLmdAlignQA.h.
Referenced by init(), and setInfoRelative().
|
private |
Definition at line 37 of file PndLmdAlignQA.h.
Referenced by checkCombinedMatrices(), checkCyclicMatrices(), checkForMatrixFiles(), plotCMvsPXmatrices(), plotMatrixresiduals(), plotPXvsCMmatricesResiduals(), readMatrixInfo(), and setLmdMatPath().
|
private |
Definition at line 42 of file PndLmdAlignQA.h.
Referenced by checkCombinedMatrices(), checkCyclicMatrices(), checkForMatrixFiles(), histogramPairDistances(), plotCMvsPXmatrices(), plotMatrixresiduals(), plotPXvsCMmatricesResiduals(), and readMatrixInfo().
|
private |
Definition at line 46 of file PndLmdAlignQA.h.
Referenced by noOfPairs(), plotCMvsPXmatrices(), plotMatrixresiduals(), plotPXvsCMmatricesResiduals(), and readMatrixInfo().
|
private |
Definition at line 37 of file PndLmdAlignQA.h.
Referenced by setOutputPath().
|
private |
Definition at line 41 of file PndLmdAlignQA.h.
Referenced by plotCMvsPXmatrices(), plotMatrixresiduals(), plotPXvsCMmatricesResiduals(), and setPairsRequired().
|
private |
Definition at line 37 of file PndLmdAlignQA.h.
Referenced by checkCombinedMatrices(), checkCyclicMatrices(), histogramPairDistances(), histPixelDistances(), plotCMvsPXmatrices(), plotMatrixresiduals(), plotPXvsCMmatricesResiduals(), and setPdfOutPath().
1.8.5