#include <HIPplots.h>
Public Member Functions | |
void | dumpAlignedModules (int nhits=0) |
void | extractAlignableChiSquare (int minHits=0, int subDet=0, int doubleSided=0) |
void | extractAlignParams (int i, int minHits=0, int subDet=0, int doubleSided=0) |
void | extractAlignShifts (int i, int minHits=0, int subDet=0) |
void | extractSurveyResiduals (int currentPar, int subDet=0) |
HIPplots (int IOV, char *path, char *outFile) | |
void | plotAlignableChiSquare (char *plotName="testchi2.png", float minChi2n=-1.0) |
void | plotAlignParams (string ShiftsOrParams, char *plotName="test.png") |
void | plotAlignParamsAtIter (int iter, string ShiftsOrParams, char *plotName="test.png") |
void | plotHitMap (char *outpath, int subDet, int minHits=0) |
Private Types | |
enum | TKdetector_id { unknown =0, TPBid =1, TPEid =2, TIBid =3, TIDid =4, TOBid =5, TECid =6, ALLid =99 } |
Private Member Functions | |
bool | CheckFileExistence (char *filename) |
void | CheckFiles (int &ierr) |
bool | CheckHistoRising (TH1D *h) |
int | FindPeaks (TH1F *h1, float *peaklist, const int maxNpeaks, int startbin=-1, int endbin=-1) |
int | GetBarrelLayer (unsigned int id) |
int | GetNIterations (TDirectory *f, char *tag, int startingcounter=0) |
int | GetSubDet (unsigned int id) |
TLegend * | MakeLegend (double x1=0.1, double y1=0.1, double x2=0.1, double y2=0.1) |
void | SetMinMax (TH1 *h) |
void | SetPeakThreshold (float newpeakthreshold) |
Private Attributes | |
char | _inFile_alipos [256] |
char | _inFile_HIPalign [256] |
char | _inFile_mispos [256] |
char | _inFile_params [256] |
char | _inFile_surveys [256] |
char | _inFile_truepos [256] |
char | _inFile_uservars [256] |
char | _outFile [256] |
char | _path [256] |
float | peakthreshold |
bool | plotbadchi2 |
Definition at line 15 of file HIPplots.h.
|
private |
Enumerator | |
---|---|
unknown | |
TPBid | |
TPEid | |
TIBid | |
TIDid | |
TOBid | |
TECid | |
ALLid |
Definition at line 38 of file HIPplots.h.
HIPplots::HIPplots | ( | int | IOV, |
char * | path, | ||
char * | outFile | ||
) |
Definition at line 20 of file HIPplots.cc.
References _inFile_alipos, _inFile_HIPalign, _inFile_mispos, _inFile_params, _inFile_surveys, _inFile_truepos, _inFile_uservars, _outFile, _path, plotbadchi2, and SetPeakThreshold().
|
private |
Definition at line 1530 of file HIPplots.cc.
References groupFilesInBlocks::fin, and recoMuon::in.
Referenced by CheckFiles(), extractAlignableChiSquare(), extractAlignParams(), extractAlignShifts(), and extractSurveyResiduals().
|
private |
Definition at line 1539 of file HIPplots.cc.
References _inFile_alipos, _inFile_HIPalign, _inFile_uservars, _outFile, CheckFileExistence(), and gather_cfg::cout.
|
private |
Definition at line 1564 of file HIPplots.cc.
References i.
Referenced by plotAlignableChiSquare().
void HIPplots::dumpAlignedModules | ( | int | nhits = 0 | ) |
Definition at line 1478 of file HIPplots.cc.
void HIPplots::extractAlignableChiSquare | ( | int | minHits = 0 , |
int | subDet = 0 , |
||
int | doubleSided = 0 |
||
) |
Definition at line 625 of file HIPplots.cc.
References _inFile_uservars, _outFile, CheckFileExistence(), gather_cfg::cout, groupFilesInBlocks::fout, GetBarrelLayer(), GetSubDet(), i, and j.
void HIPplots::extractAlignParams | ( | int | i, |
int | minHits = 0 , |
||
int | subDet = 0 , |
||
int | doubleSided = 0 |
||
) |
Definition at line 72 of file HIPplots.cc.
References _inFile_uservars, _outFile, a, CheckFileExistence(), COLOR_CODE, gather_cfg::cout, groupFilesInBlocks::fout, GetBarrelLayer(), GetSubDet(), i, j, and GenerateHcalLaserBadRunList::out.
void HIPplots::extractAlignShifts | ( | int | i, |
int | minHits = 0 , |
||
int | subDet = 0 |
||
) |
Definition at line 190 of file HIPplots.cc.
References _inFile_alipos, _inFile_uservars, _outFile, a, CheckFileExistence(), COLOR_CODE, gather_cfg::cout, benchmark_cfg::fa, groupFilesInBlocks::fout, GetSubDet(), i, and j.
void HIPplots::extractSurveyResiduals | ( | int | currentPar, |
int | subDet = 0 |
||
) |
Definition at line 743 of file HIPplots.cc.
References _inFile_surveys, _outFile, CheckFileExistence(), gather_cfg::cout, groupFilesInBlocks::fout, GetSubDet(), i, and j.
|
private |
Definition at line 1486 of file HIPplots.cc.
References newFWLiteAna::bin, and peakthreshold.
Referenced by plotHitMap().
|
private |
Definition at line 1021 of file HIPplots.cc.
Referenced by extractAlignableChiSquare(), and extractAlignParams().
|
private |
Definition at line 990 of file HIPplots.cc.
References gather_cfg::cout, and i.
Referenced by plotAlignableChiSquare(), and plotAlignParams().
|
private |
Definition at line 1005 of file HIPplots.cc.
References edm::shift.
Referenced by extractAlignableChiSquare(), extractAlignParams(), extractAlignShifts(), and extractSurveyResiduals().
|
private |
Definition at line 38 of file HIPplots.cc.
References COLOR_CODE, and g.
Referenced by plotAlignParams().
void HIPplots::plotAlignableChiSquare | ( | char * | plotName = "testchi2.png" , |
float | minChi2n = -1.0 |
||
) |
Definition at line 833 of file HIPplots.cc.
References _outFile, newFWLiteAna::bin, CheckHistoRising(), colors, gather_cfg::cout, f, GetNIterations(), i, cmsLHEtoEOSManager::l, and plotbadchi2.
void HIPplots::plotAlignParams | ( | string | ShiftsOrParams, |
char * | plotName = "test.png" |
||
) |
Definition at line 385 of file HIPplots.cc.
References _outFile, gather_cfg::cout, ztail::d, f, GetNIterations(), i, and MakeLegend().
void HIPplots::plotAlignParamsAtIter | ( | int | iter, |
string | ShiftsOrParams, | ||
char * | plotName = "test.png" |
||
) |
Definition at line 528 of file HIPplots.cc.
References _outFile, cuy::col, gather_cfg::cout, f, and i.
void HIPplots::plotHitMap | ( | char * | outpath, |
int | subDet, | ||
int | minHits = 0 |
||
) |
-************
-************
Definition at line 1050 of file HIPplots.cc.
References _inFile_HIPalign, newFWLiteAna::bin, gather_cfg::cout, eta, FindPeaks(), h, i, j, GenerateHcalLaserBadRunList::out, phi, SetPeakThreshold(), TECid, TIBid, TIDid, TOBid, TPBid, TPEid, Gflash::Zmax, and Gflash::Zmin.
|
private |
Definition at line 1030 of file HIPplots.cc.
References i, hlt_dqm_clientPB-live_cfg::xmax, and hlt_dqm_clientPB-live_cfg::xmin.
|
private |
Definition at line 1526 of file HIPplots.cc.
References peakthreshold.
Referenced by HIPplots(), and plotHitMap().
|
private |
Definition at line 34 of file HIPplots.h.
Referenced by CheckFiles(), extractAlignShifts(), and HIPplots().
|
private |
Definition at line 36 of file HIPplots.h.
Referenced by CheckFiles(), HIPplots(), and plotHitMap().
|
private |
Definition at line 35 of file HIPplots.h.
Referenced by HIPplots().
|
private |
Definition at line 31 of file HIPplots.h.
Referenced by HIPplots().
|
private |
Definition at line 37 of file HIPplots.h.
Referenced by extractSurveyResiduals(), and HIPplots().
|
private |
Definition at line 33 of file HIPplots.h.
Referenced by HIPplots().
|
private |
Definition at line 32 of file HIPplots.h.
Referenced by CheckFiles(), extractAlignableChiSquare(), extractAlignParams(), extractAlignShifts(), and HIPplots().
|
private |
Definition at line 30 of file HIPplots.h.
Referenced by CheckFiles(), extractAlignableChiSquare(), extractAlignParams(), extractAlignShifts(), extractSurveyResiduals(), HIPplots(), plotAlignableChiSquare(), plotAlignParams(), and plotAlignParamsAtIter().
|
private |
Definition at line 29 of file HIPplots.h.
Referenced by ConfigToolBase.ConfigToolBase::dumpPython(), parserPerfsuiteMetadata.parserPerfsuiteMetadata::getMachineInfo(), HIPplots(), parserPerfsuiteMetadata.parserPerfsuiteMetadata::readCmsScimark(), and parserPerfsuiteMetadata.parserPerfsuiteMetadata::readCmsScimarkTest().
|
private |
Definition at line 49 of file HIPplots.h.
Referenced by FindPeaks(), and SetPeakThreshold().
|
private |
Definition at line 50 of file HIPplots.h.
Referenced by HIPplots(), and plotAlignableChiSquare().