#include <PlotAlignmentValidation.h>
|
THStack * | addHists (const char *selection, const TString &residType="xPrime", bool printModuleIds=false) |
|
void | loadFileList (const char *inputFile, std::string fileName="", int lineColor=2, int lineStyle=1) |
|
| PlotAlignmentValidation (const char *inputFile, std::string fileName="", int lineColor=1, int lineStyle=1) |
|
void | plotDMR (const std::string &plotVar="medianX", Int_t minHits=50, const std::string &options="plain") |
|
void | plotHitMaps () |
|
void | plotOutlierModules (const char *outputFileName="OutlierModules.ps", std::string plotVariable="chi2PerDofX", float chi2_cut=10, unsigned int minHits=50) |
|
void | plotSubDetResiduals (bool plotNormHisto=false, unsigned int subDetId=7) |
|
void | plotSurfaceShapes (const std::string &options="layers", const std::string &variable="") |
|
void | setOutputDir (std::string dir) |
|
void | setTreeBaseDir (std::string dir="TrackerOfflineValidationStandalone") |
|
void | useFitForDMRplots (bool usefit=false) |
|
| ~PlotAlignmentValidation () |
|
|
std::pair< float, float > | fitGauss (TH1 *hist, int color) |
|
std::string | getSelectionForDMRPlot (int minHits, int subDetId, int direction=0, int layer=0) |
|
TList | getTreeList () |
|
std::string | getVariableForDMRPlot (const std::string &histoname, const std::string &variable, int nbins, double min, double max) |
|
void | plotDMRHistogram (DMRPlotInfo &plotinfo, int direction=0, int layer=0) |
|
void | plotSS (const std::string &options="layers", const std::string &variable="") |
|
void | setCanvasStyle (TCanvas &canv) |
|
void | setDMRHistStyleAndLegend (TH1F *h, DMRPlotInfo &plotinfo, int direction=0, int layer=0) |
|
void | setHistStyle (TH1 &hist, const char *titleX, const char *titleY, int color) |
|
void | setLegendStyle (TLegend &leg) |
|
void | setNiceStyle () |
|
void | setTitleStyle (TNamed &h, const char *titleX, const char *titleY, int subDetId) |
|
Definition at line 72 of file PlotAlignmentValidation.h.
PlotAlignmentValidation::PlotAlignmentValidation |
( |
const char * |
inputFile, |
|
|
std::string |
fileName = "" , |
|
|
int |
lineColor = 1 , |
|
|
int |
lineStyle = 1 |
|
) |
| |
PlotAlignmentValidation::~PlotAlignmentValidation |
( |
| ) |
|
THStack* PlotAlignmentValidation::addHists |
( |
const char * |
selection, |
|
|
const TString & |
residType = "xPrime" , |
|
|
bool |
printModuleIds = false |
|
) |
| |
std::pair<float,float> PlotAlignmentValidation::fitGauss |
( |
TH1 * |
hist, |
|
|
int |
color |
|
) |
| |
|
private |
std::string PlotAlignmentValidation::getSelectionForDMRPlot |
( |
int |
minHits, |
|
|
int |
subDetId, |
|
|
int |
direction = 0 , |
|
|
int |
layer = 0 |
|
) |
| |
|
private |
TList PlotAlignmentValidation::getTreeList |
( |
| ) |
|
|
private |
std::string PlotAlignmentValidation::getVariableForDMRPlot |
( |
const std::string & |
histoname, |
|
|
const std::string & |
variable, |
|
|
int |
nbins, |
|
|
double |
min, |
|
|
double |
max |
|
) |
| |
|
private |
void PlotAlignmentValidation::loadFileList |
( |
const char * |
inputFile, |
|
|
std::string |
fileName = "" , |
|
|
int |
lineColor = 2 , |
|
|
int |
lineStyle = 1 |
|
) |
| |
void PlotAlignmentValidation::plotDMR |
( |
const std::string & |
plotVar = "medianX" , |
|
|
Int_t |
minHits = 50 , |
|
|
const std::string & |
options = "plain" |
|
) |
| |
void PlotAlignmentValidation::plotDMRHistogram |
( |
DMRPlotInfo & |
plotinfo, |
|
|
int |
direction = 0 , |
|
|
int |
layer = 0 |
|
) |
| |
|
private |
void PlotAlignmentValidation::plotHitMaps |
( |
| ) |
|
void PlotAlignmentValidation::plotOutlierModules |
( |
const char * |
outputFileName = "OutlierModules.ps" , |
|
|
std::string |
plotVariable = "chi2PerDofX" , |
|
|
float |
chi2_cut = 10 , |
|
|
unsigned int |
minHits = 50 |
|
) |
| |
void PlotAlignmentValidation::plotSS |
( |
const std::string & |
options = "layers" , |
|
|
const std::string & |
variable = "" |
|
) |
| |
|
private |
void PlotAlignmentValidation::plotSubDetResiduals |
( |
bool |
plotNormHisto = false , |
|
|
unsigned int |
subDetId = 7 |
|
) |
| |
void PlotAlignmentValidation::plotSurfaceShapes |
( |
const std::string & |
options = "layers" , |
|
|
const std::string & |
variable = "" |
|
) |
| |
void PlotAlignmentValidation::setCanvasStyle |
( |
TCanvas & |
canv | ) |
|
|
private |
void PlotAlignmentValidation::setDMRHistStyleAndLegend |
( |
TH1F * |
h, |
|
|
DMRPlotInfo & |
plotinfo, |
|
|
int |
direction = 0 , |
|
|
int |
layer = 0 |
|
) |
| |
|
private |
void PlotAlignmentValidation::setHistStyle |
( |
TH1 & |
hist, |
|
|
const char * |
titleX, |
|
|
const char * |
titleY, |
|
|
int |
color |
|
) |
| |
|
private |
void PlotAlignmentValidation::setLegendStyle |
( |
TLegend & |
leg | ) |
|
|
private |
void PlotAlignmentValidation::setNiceStyle |
( |
| ) |
|
|
private |
void PlotAlignmentValidation::setOutputDir |
( |
std::string |
dir | ) |
|
void PlotAlignmentValidation::setTitleStyle |
( |
TNamed & |
h, |
|
|
const char * |
titleX, |
|
|
const char * |
titleY, |
|
|
int |
subDetId |
|
) |
| |
|
private |
void PlotAlignmentValidation::setTreeBaseDir |
( |
std::string |
dir = "TrackerOfflineValidationStandalone" | ) |
|
void PlotAlignmentValidation::useFitForDMRplots |
( |
bool |
usefit = false | ) |
|
int PlotAlignmentValidation::fileCounter |
|
private |
std::string PlotAlignmentValidation::fileNames[10] |
|
private |
bool PlotAlignmentValidation::moreThanOneSource |
|
private |
std::string PlotAlignmentValidation::outputDir |
|
private |
TString PlotAlignmentValidation::outputFile |
|
private |
TList* PlotAlignmentValidation::sourcelist |
|
private |
std::string PlotAlignmentValidation::treeBaseDir |
|
private |
bool PlotAlignmentValidation::useFit_ |
|
private |