#include <fstream>
#include <iostream>
#include <sstream>
#include <cmath>
#include "TCanvas.h"
#include "TClass.h"
#include "TColor.h"
#include "TFile.h"
#include "TGaxis.h"
#include "TGraph2DErrors.h"
#include "TGraphErrors.h"
#include "TH1.h"
#include "TH1F.h"
#include "TH2F.h"
#include "TLegend.h"
#include "TLegendEntry.h"
#include "TList.h"
#include "TMath.h"
#include "TMultiGraph.h"
#include "TObject.h"
#include "TProfile.h"
#include "TROOT.h"
#include "TString.h"
#include "TStyle.h"
#include "TSystem.h"
#include "TText.h"
#include "TTree.h"
#include "trackSplitPlot.h"
Go to the source code of this file.
Enumerations | |
enum | PlotType { ScatterPlot, Profile, Histogram, OrgHistogram, Resolution, Plot1D, Plot2D } |
enum | Statistic { Minimum, Maximum, Average, RMS } |
Functions | |
TString | axislabel (TString variable, Char_t axis, Bool_t relative=false, Bool_t resolution=false, Bool_t pull=false) |
void | axislimits (Int_t nFiles, TString *files, TString var, Char_t axis, Bool_t relative, Bool_t pull, Double_t &min, Double_t &max, Double_t &bins) |
void | deleteCanvas (TObject *canvas) |
ofstream | devnull ("/dev/null") |
TString | fancyname (TString variable) |
Double_t | findAverage (Int_t nFiles, TString *files, TString var, Char_t axis, Bool_t relative=false, Bool_t pull=false) |
Double_t | findAverage (TString file, TString var, Char_t axis, Bool_t relative=false, Bool_t pull=false) |
Double_t | findMax (Int_t nFiles, TString *files, TString var, Char_t axis, Bool_t relative=false, Bool_t pull=false) |
Double_t | findMax (TString file, TString var, Char_t axis, Bool_t relative=false, Bool_t pull=false) |
Double_t | findMin (Int_t nFiles, TString *files, TString var, Char_t axis, Bool_t relative=false, Bool_t pull=false) |
Double_t | findMin (TString file, TString var, Char_t axis, Bool_t relative=false, Bool_t pull=false) |
Double_t | findRMS (Int_t nFiles, TString *files, TString var, Char_t axis, Bool_t relative=false, Bool_t pull=false) |
Double_t | findRMS (TString file, TString var, Char_t axis, Bool_t relative=false, Bool_t pull=false) |
Double_t | findStatistic (Statistic what, Int_t nFiles, TString *files, TString var, Char_t axis, Bool_t relative=false, Bool_t pull=false) |
Double_t | findStatistic (Statistic what, TString file, TString var, Char_t axis, Bool_t relative=false, Bool_t pull=false) |
Bool_t | fitsHere (TLegend *l, Double_t x1, Double_t y1, Double_t x2, Double_t y2) |
Bool_t | hasFit (TString misalignment, TString xvar, TString yvar, Bool_t relative=false, Bool_t resolution=false, Bool_t pull=false) |
template<typename T > | |
T | identity (T t) |
TString | latexlabel (TString variable, Char_t axis, Bool_t relative=false, Bool_t resolution=false, Bool_t pull=false) |
TString | latexunits (TString variable, Char_t axis) |
void | makePlots (Int_t nFiles, TString *files, TString *names, TString misalignment, Double_t *values, Double_t *phases, TString directory, Bool_t matrix[xsize][ysize]) |
void | makePlots (Int_t nFiles, TString *files, TString *names, TString directory, Bool_t matrix[xsize][ysize]) |
void | makePlots (TString file, TString misalignment, Double_t *values, Double_t *phases, TString directory, Bool_t matrix[xsize][ysize]) |
void | makePlots (TString file, TString directory, Bool_t matrix[xsize][ysize]) |
void | makePlots (Int_t nFiles, TString *files, TString *names, TString misalignment, Double_t *values, Double_t *phases, TString directory, TString xvar, TString yvar) |
void | makePlots (Int_t nFiles, TString *files, TString *names, TString directory, TString xvar, TString yvar) |
void | makePlots (TString file, TString misalignment, Double_t *values, Double_t *phases, TString directory, TString xvar, TString yvar) |
void | makePlots (TString file, TString directory, TString xvar, TString yvar) |
void | makePlots (Int_t nFiles, TString *files, TString *names, TString misalignment, Double_t *values, Double_t *phases, TString directory) |
void | makePlots (Int_t nFiles, TString *files, TString *names, TString directory) |
void | makePlots (TString file, TString misalignment, Double_t *values, Double_t *phases, TString directory) |
void | makePlots (TString file, TString directory) |
void | misalignmentDependence (TCanvas *c1old, Int_t nFiles, TString *names, TString misalignment, Double_t *values, Double_t *phases, TString xvar, TString yvar, TF1 *function, Int_t parameter, TString parametername="", TString functionname="", Bool_t relative=false, Bool_t resolution=false, Bool_t pull=false, TString saveas="") |
void | misalignmentDependence (TCanvas *c1old, Int_t nFiles, TString *names, TString misalignment, Double_t *values, Double_t *phases, TString xvar, TString yvar, TF1 *function, Int_t nParameters, Int_t *parameters, TString *parameternames, TString functionname="", Bool_t relative=false, Bool_t resolution=false, Bool_t pull=false, TString saveas="") |
void | misalignmentDependence (Int_t nFiles, TString *files, TString *names, TString misalignment, Double_t *values, Double_t *phases, TString xvar, TString yvar, TF1 *function, Int_t parameter, TString parametername="", TString functionname="", Bool_t relative=false, Bool_t resolution=false, Bool_t pull=false, TString saveas="") |
void | misalignmentDependence (Int_t nFiles, TString *files, TString *names, TString misalignment, Double_t *values, Double_t *phases, TString xvar, TString yvar, TF1 *function, Int_t nParameters, Int_t *parameters, TString *parameternames, TString functionname="", Bool_t relative=false, Bool_t resolution=false, Bool_t pull=false, TString saveas="") |
void | misalignmentDependence (TCanvas *c1old, Int_t nFiles, TString *names, TString misalignment, Double_t *values, Double_t *phases, TString xvar, TString yvar, TString function, Int_t parameter, TString parametername="", TString functionname="", Bool_t relative=false, Bool_t resolution=false, Bool_t pull=false, TString saveas="") |
void | misalignmentDependence (TCanvas *c1old, Int_t nFiles, TString *names, TString misalignment, Double_t *values, Double_t *phases, TString xvar, TString yvar, TString function, Int_t nParameters, Int_t *parameters, TString *parameternames, TString functionname="", Bool_t relative=false, Bool_t resolution=false, Bool_t pull=false, TString saveas="") |
void | misalignmentDependence (Int_t nFiles, TString *files, TString *names, TString misalignment, Double_t *values, Double_t *phases, TString xvar, TString yvar, TString function, Int_t parameter, TString parametername="", TString functionname="", Bool_t relative=false, Bool_t resolution=false, Bool_t pull=false, TString saveas="") |
void | misalignmentDependence (Int_t nFiles, TString *files, TString *names, TString misalignment, Double_t *values, Double_t *phases, TString xvar, TString yvar, TString function, Int_t nParameters, Int_t *parameters, TString *parameternames, TString functionname="", Bool_t relative=false, Bool_t resolution=false, Bool_t pull=false, TString saveas="") |
Bool_t | misalignmentDependence (TCanvas *c1old, Int_t nFiles, TString *names, TString misalignment, Double_t *values, Double_t *phases, TString xvar, TString yvar, Bool_t drawfits=true, Bool_t relative=false, Bool_t resolution=false, Bool_t pull=false, TString saveas="") |
Bool_t | misalignmentDependence (Int_t nFiles, TString *files, TString *names, TString misalignment, Double_t *values, Double_t *phases, TString xvar, TString yvar, Bool_t drawfits=true, Bool_t relative=false, Bool_t resolution=false, Bool_t pull=false, TString saveas="") |
TString | nPart (Int_t part, TString string, TString delimit=";", Bool_t removerest=true) |
void | placeholder (TString saveas="", Bool_t wide=false) |
Double_t | placeLegend (TLegend *l, Double_t width, Double_t height, Double_t x1min, Double_t y1min, Double_t x2max, Double_t y2max) |
TString | plainunits (TString variable, Char_t axis) |
void | runNumberZoomed (Int_t nFiles, TString *files, TString *names, TString yvar, Bool_t relative=false, Bool_t resolution=false, Bool_t pull=false, Int_t firstRun=-1, Int_t lastRun=-1, TString saveas="") |
void | saveplot (TCanvas *c1, TString saveas) |
void | setAxisLabels (TH1 *p, PlotType type, TString xvar, TString yvar, Bool_t relative, Bool_t pull) |
void | setAxisLabels (TMultiGraph *p, PlotType type, TString xvar, TString yvar, Bool_t relative, Bool_t pull) |
void | setupcolors () |
TCanvas * | trackSplitPlot (Int_t nFiles, TString *files, TString *names, TString xvar, TString yvar, Bool_t relative=false, Bool_t resolution=false, Bool_t pull=false, TString saveas="", ostream &summaryfile=devnull) |
TCanvas * | trackSplitPlot (Int_t nFiles, TString *files, TString *names, TString var, Bool_t relative=false, Bool_t pull=false, TString saveas="", ostream &summaryfile=devnull) |
TCanvas * | trackSplitPlot (TString file, TString xvar, TString yvar, Bool_t profile=false, Bool_t relative=false, Bool_t resolution=false, Bool_t pull=false, TString saveas="", ostream &summaryfile=devnull) |
TCanvas * | trackSplitPlot (TString file, TString var, Bool_t relative=false, Bool_t pull=false, TString saveas="", ostream &summaryfile=devnull) |
TString | units (TString variable, Char_t axis) |
Variables | |
vector< Color_t > | colors |
bool | colorsset = false |
Double_t | increaseby = .1 |
Int_t | legendGrid = 100 |
Double_t | margin = .1 |
Int_t | maxrun = -1 |
Int_t | minrun = -1 |
double | outliercut = 0.99 |
const Double_t | pi = TMath::Pi() |
Bool_t | relativearray [ysize] = {true, false, false, false, false, false, false, false, false} |
TList * | stufftodelete = new TList() |
vector< Style_t > | styles |
TString | subdetector = "PIXEL" |
const Int_t | xsize = 8 |
TString | xvariables [xsize] = {"", "pt", "eta", "phi", "dz", "dxy", "theta", "qoverpt"} |
const Int_t | ysize = 9 |
TString | yvariables [ysize] = {"pt", "pt", "eta", "phi", "dz", "dxy", "theta", "qoverpt", ""} |
enum PlotType |
Enumerator | |
---|---|
ScatterPlot | |
Profile | |
Histogram | |
OrgHistogram | |
Resolution | |
Plot1D | |
Plot2D |
Definition at line 33 of file trackSplitPlot.h.
enum Statistic |
Enumerator | |
---|---|
Minimum | |
Maximum | |
Average | |
RMS |
Definition at line 34 of file trackSplitPlot.h.
TString axislabel | ( | TString | variable, |
Char_t | axis, | ||
Bool_t | relative = false , |
||
Bool_t | resolution = false , |
||
Bool_t | pull = false |
||
) |
Referenced by identity().
void axislimits | ( | Int_t | nFiles, |
TString * | files, | ||
TString | var, | ||
Char_t | axis, | ||
Bool_t | relative, | ||
Bool_t | pull, | ||
Double_t & | min, | ||
Double_t & | max, | ||
Double_t & | bins | ||
) |
Referenced by identity().
void deleteCanvas | ( | TObject * | canvas | ) |
Referenced by identity().
ofstream devnull | ( | "/dev/null" | ) |
Referenced by identity().
TString fancyname | ( | TString | variable | ) |
Referenced by identity().
Double_t findAverage | ( | Int_t | nFiles, |
TString * | files, | ||
TString | var, | ||
Char_t | axis, | ||
Bool_t | relative = false , |
||
Bool_t | pull = false |
||
) |
Referenced by identity().
Double_t findAverage | ( | TString | file, |
TString | var, | ||
Char_t | axis, | ||
Bool_t | relative = false , |
||
Bool_t | pull = false |
||
) |
Double_t findMax | ( | Int_t | nFiles, |
TString * | files, | ||
TString | var, | ||
Char_t | axis, | ||
Bool_t | relative = false , |
||
Bool_t | pull = false |
||
) |
Referenced by identity().
Double_t findMax | ( | TString | file, |
TString | var, | ||
Char_t | axis, | ||
Bool_t | relative = false , |
||
Bool_t | pull = false |
||
) |
Double_t findMin | ( | Int_t | nFiles, |
TString * | files, | ||
TString | var, | ||
Char_t | axis, | ||
Bool_t | relative = false , |
||
Bool_t | pull = false |
||
) |
Referenced by identity().
Double_t findMin | ( | TString | file, |
TString | var, | ||
Char_t | axis, | ||
Bool_t | relative = false , |
||
Bool_t | pull = false |
||
) |
Double_t findRMS | ( | Int_t | nFiles, |
TString * | files, | ||
TString | var, | ||
Char_t | axis, | ||
Bool_t | relative = false , |
||
Bool_t | pull = false |
||
) |
Referenced by identity().
Double_t findRMS | ( | TString | file, |
TString | var, | ||
Char_t | axis, | ||
Bool_t | relative = false , |
||
Bool_t | pull = false |
||
) |
Double_t findStatistic | ( | Statistic | what, |
Int_t | nFiles, | ||
TString * | files, | ||
TString | var, | ||
Char_t | axis, | ||
Bool_t | relative = false , |
||
Bool_t | pull = false |
||
) |
Referenced by identity().
Double_t findStatistic | ( | Statistic | what, |
TString | file, | ||
TString | var, | ||
Char_t | axis, | ||
Bool_t | relative = false , |
||
Bool_t | pull = false |
||
) |
Bool_t fitsHere | ( | TLegend * | l, |
Double_t | x1, | ||
Double_t | y1, | ||
Double_t | x2, | ||
Double_t | y2 | ||
) |
Referenced by identity().
Bool_t hasFit | ( | TString | misalignment, |
TString | xvar, | ||
TString | yvar, | ||
Bool_t | relative = false , |
||
Bool_t | resolution = false , |
||
Bool_t | pull = false |
||
) |
Referenced by identity().
Definition at line 71 of file trackSplitPlot.h.
References axislabel(), axislimits(), create_public_pileup_plots::bins, alignmentValidation::c1, svgfig::canvas(), deleteCanvas(), devnull(), createBeamHaloJobs::directory, fancyname(), FrontierConditions_GlobalTag_cff::file, PatBasicFWLiteAnalyzer::files, findAverage(), findMax(), findMin(), findRMS(), findStatistic(), dataset::firstRun, fitsHere(), hasFit(), checklumidiff::l, ntuplemaker::lastRun, latexlabel(), latexunits(), makePlots(), makeMuonMisalignmentScenario::matrix, hpstanc_transforms::max, min(), misalignmentDependence(), cscdqm::h::names, cmsBatch::nFiles, nPart(), AlCaHLTBitMon_ParallelJobs::p, metProducer_cfi::parameters, phases, placeholder(), placeLegend(), plainunits(), NewPostProcessor_cff::profile, relativeConstraints::relative, ctppsDiamondLocalTracks_cfi::resolution, runNumberZoomed(), saveplot(), setAxisLabels(), setupcolors(), lumiQTWidget::t, trackSplitPlot(), units(), MuonErrorMatrixValues_cff::values, JetChargeProducer_cfi::var, HPSPFTaus_cff::variable, ApeEstimator_cff::width, xsize, and ysize.
Referenced by ReferenceTrajectory::addMaterialEffectsLocalGbl(), and CocoaToDDLMgr::ro().
TString latexlabel | ( | TString | variable, |
Char_t | axis, | ||
Bool_t | relative = false , |
||
Bool_t | resolution = false , |
||
Bool_t | pull = false |
||
) |
Referenced by identity().
TString latexunits | ( | TString | variable, |
Char_t | axis | ||
) |
Referenced by identity().
void makePlots | ( | Int_t | nFiles, |
TString * | files, | ||
TString * | names, | ||
TString | misalignment, | ||
Double_t * | values, | ||
Double_t * | phases, | ||
TString | directory, | ||
Bool_t | matrix[xsize][ysize] | ||
) |
Referenced by identity().
void makePlots | ( | Int_t | nFiles, |
TString * | files, | ||
TString * | names, | ||
TString | directory, | ||
Bool_t | matrix[xsize][ysize] | ||
) |
void makePlots | ( | TString | file, |
TString | misalignment, | ||
Double_t * | values, | ||
Double_t * | phases, | ||
TString | directory, | ||
Bool_t | matrix[xsize][ysize] | ||
) |
void makePlots | ( | TString | file, |
TString | directory, | ||
Bool_t | matrix[xsize][ysize] | ||
) |
void makePlots | ( | Int_t | nFiles, |
TString * | files, | ||
TString * | names, | ||
TString | misalignment, | ||
Double_t * | values, | ||
Double_t * | phases, | ||
TString | directory, | ||
TString | xvar, | ||
TString | yvar | ||
) |
void makePlots | ( | Int_t | nFiles, |
TString * | files, | ||
TString * | names, | ||
TString | directory, | ||
TString | xvar, | ||
TString | yvar | ||
) |
void makePlots | ( | TString | file, |
TString | misalignment, | ||
Double_t * | values, | ||
Double_t * | phases, | ||
TString | directory, | ||
TString | xvar, | ||
TString | yvar | ||
) |
void makePlots | ( | TString | file, |
TString | directory, | ||
TString | xvar, | ||
TString | yvar | ||
) |
void makePlots | ( | Int_t | nFiles, |
TString * | files, | ||
TString * | names, | ||
TString | misalignment, | ||
Double_t * | values, | ||
Double_t * | phases, | ||
TString | directory | ||
) |
void makePlots | ( | Int_t | nFiles, |
TString * | files, | ||
TString * | names, | ||
TString | directory | ||
) |
void makePlots | ( | TString | file, |
TString | misalignment, | ||
Double_t * | values, | ||
Double_t * | phases, | ||
TString | directory | ||
) |
void makePlots | ( | TString | file, |
TString | directory | ||
) |
void misalignmentDependence | ( | TCanvas * | c1old, |
Int_t | nFiles, | ||
TString * | names, | ||
TString | misalignment, | ||
Double_t * | values, | ||
Double_t * | phases, | ||
TString | xvar, | ||
TString | yvar, | ||
TF1 * | function, | ||
Int_t | parameter, | ||
TString | parametername = "" , |
||
TString | functionname = "" , |
||
Bool_t | relative = false , |
||
Bool_t | resolution = false , |
||
Bool_t | pull = false , |
||
TString | saveas = "" |
||
) |
Referenced by identity().
void misalignmentDependence | ( | TCanvas * | c1old, |
Int_t | nFiles, | ||
TString * | names, | ||
TString | misalignment, | ||
Double_t * | values, | ||
Double_t * | phases, | ||
TString | xvar, | ||
TString | yvar, | ||
TF1 * | function, | ||
Int_t | nParameters, | ||
Int_t * | parameters, | ||
TString * | parameternames, | ||
TString | functionname = "" , |
||
Bool_t | relative = false , |
||
Bool_t | resolution = false , |
||
Bool_t | pull = false , |
||
TString | saveas = "" |
||
) |
void misalignmentDependence | ( | Int_t | nFiles, |
TString * | files, | ||
TString * | names, | ||
TString | misalignment, | ||
Double_t * | values, | ||
Double_t * | phases, | ||
TString | xvar, | ||
TString | yvar, | ||
TF1 * | function, | ||
Int_t | parameter, | ||
TString | parametername = "" , |
||
TString | functionname = "" , |
||
Bool_t | relative = false , |
||
Bool_t | resolution = false , |
||
Bool_t | pull = false , |
||
TString | saveas = "" |
||
) |
void misalignmentDependence | ( | Int_t | nFiles, |
TString * | files, | ||
TString * | names, | ||
TString | misalignment, | ||
Double_t * | values, | ||
Double_t * | phases, | ||
TString | xvar, | ||
TString | yvar, | ||
TF1 * | function, | ||
Int_t | nParameters, | ||
Int_t * | parameters, | ||
TString * | parameternames, | ||
TString | functionname = "" , |
||
Bool_t | relative = false , |
||
Bool_t | resolution = false , |
||
Bool_t | pull = false , |
||
TString | saveas = "" |
||
) |
void misalignmentDependence | ( | TCanvas * | c1old, |
Int_t | nFiles, | ||
TString * | names, | ||
TString | misalignment, | ||
Double_t * | values, | ||
Double_t * | phases, | ||
TString | xvar, | ||
TString | yvar, | ||
TString | function, | ||
Int_t | parameter, | ||
TString | parametername = "" , |
||
TString | functionname = "" , |
||
Bool_t | relative = false , |
||
Bool_t | resolution = false , |
||
Bool_t | pull = false , |
||
TString | saveas = "" |
||
) |
void misalignmentDependence | ( | TCanvas * | c1old, |
Int_t | nFiles, | ||
TString * | names, | ||
TString | misalignment, | ||
Double_t * | values, | ||
Double_t * | phases, | ||
TString | xvar, | ||
TString | yvar, | ||
TString | function, | ||
Int_t | nParameters, | ||
Int_t * | parameters, | ||
TString * | parameternames, | ||
TString | functionname = "" , |
||
Bool_t | relative = false , |
||
Bool_t | resolution = false , |
||
Bool_t | pull = false , |
||
TString | saveas = "" |
||
) |
void misalignmentDependence | ( | Int_t | nFiles, |
TString * | files, | ||
TString * | names, | ||
TString | misalignment, | ||
Double_t * | values, | ||
Double_t * | phases, | ||
TString | xvar, | ||
TString | yvar, | ||
TString | function, | ||
Int_t | parameter, | ||
TString | parametername = "" , |
||
TString | functionname = "" , |
||
Bool_t | relative = false , |
||
Bool_t | resolution = false , |
||
Bool_t | pull = false , |
||
TString | saveas = "" |
||
) |
void misalignmentDependence | ( | Int_t | nFiles, |
TString * | files, | ||
TString * | names, | ||
TString | misalignment, | ||
Double_t * | values, | ||
Double_t * | phases, | ||
TString | xvar, | ||
TString | yvar, | ||
TString | function, | ||
Int_t | nParameters, | ||
Int_t * | parameters, | ||
TString * | parameternames, | ||
TString | functionname = "" , |
||
Bool_t | relative = false , |
||
Bool_t | resolution = false , |
||
Bool_t | pull = false , |
||
TString | saveas = "" |
||
) |
Bool_t misalignmentDependence | ( | TCanvas * | c1old, |
Int_t | nFiles, | ||
TString * | names, | ||
TString | misalignment, | ||
Double_t * | values, | ||
Double_t * | phases, | ||
TString | xvar, | ||
TString | yvar, | ||
Bool_t | drawfits = true , |
||
Bool_t | relative = false , |
||
Bool_t | resolution = false , |
||
Bool_t | pull = false , |
||
TString | saveas = "" |
||
) |
Bool_t misalignmentDependence | ( | Int_t | nFiles, |
TString * | files, | ||
TString * | names, | ||
TString | misalignment, | ||
Double_t * | values, | ||
Double_t * | phases, | ||
TString | xvar, | ||
TString | yvar, | ||
Bool_t | drawfits = true , |
||
Bool_t | relative = false , |
||
Bool_t | resolution = false , |
||
Bool_t | pull = false , |
||
TString | saveas = "" |
||
) |
TString nPart | ( | Int_t | part, |
TString | string, | ||
TString | delimit = ";" , |
||
Bool_t | removerest = true |
||
) |
void placeholder | ( | TString | saveas = "" , |
Bool_t | wide = false |
||
) |
Referenced by identity().
Double_t placeLegend | ( | TLegend * | l, |
Double_t | width, | ||
Double_t | height, | ||
Double_t | x1min, | ||
Double_t | y1min, | ||
Double_t | x2max, | ||
Double_t | y2max | ||
) |
Referenced by identity().
TString plainunits | ( | TString | variable, |
Char_t | axis | ||
) |
Referenced by identity().
void runNumberZoomed | ( | Int_t | nFiles, |
TString * | files, | ||
TString * | names, | ||
TString | yvar, | ||
Bool_t | relative = false , |
||
Bool_t | resolution = false , |
||
Bool_t | pull = false , |
||
Int_t | firstRun = -1 , |
||
Int_t | lastRun = -1 , |
||
TString | saveas = "" |
||
) |
Referenced by identity().
void saveplot | ( | TCanvas * | c1, |
TString | saveas | ||
) |
Referenced by identity().
void setAxisLabels | ( | TH1 * | p, |
PlotType | type, | ||
TString | xvar, | ||
TString | yvar, | ||
Bool_t | relative, | ||
Bool_t | pull | ||
) |
Referenced by identity().
void setAxisLabels | ( | TMultiGraph * | p, |
PlotType | type, | ||
TString | xvar, | ||
TString | yvar, | ||
Bool_t | relative, | ||
Bool_t | pull | ||
) |
void setupcolors | ( | ) |
Referenced by identity().
TCanvas* trackSplitPlot | ( | Int_t | nFiles, |
TString * | files, | ||
TString * | names, | ||
TString | xvar, | ||
TString | yvar, | ||
Bool_t | relative = false , |
||
Bool_t | resolution = false , |
||
Bool_t | pull = false , |
||
TString | saveas = "" , |
||
ostream & | summaryfile = devnull |
||
) |
Referenced by identity().
TCanvas* trackSplitPlot | ( | Int_t | nFiles, |
TString * | files, | ||
TString * | names, | ||
TString | var, | ||
Bool_t | relative = false , |
||
Bool_t | pull = false , |
||
TString | saveas = "" , |
||
ostream & | summaryfile = devnull |
||
) |
TCanvas* trackSplitPlot | ( | TString | file, |
TString | xvar, | ||
TString | yvar, | ||
Bool_t | profile = false , |
||
Bool_t | relative = false , |
||
Bool_t | resolution = false , |
||
Bool_t | pull = false , |
||
TString | saveas = "" , |
||
ostream & | summaryfile = devnull |
||
) |
TCanvas* trackSplitPlot | ( | TString | file, |
TString | var, | ||
Bool_t | relative = false , |
||
Bool_t | pull = false , |
||
TString | saveas = "" , |
||
ostream & | summaryfile = devnull |
||
) |
TString units | ( | TString | variable, |
Char_t | axis | ||
) |
Referenced by AlignableSiStripDet::AlignableSiStripDet(), CocoaUnitDefinition::GetCategory(), ALIUnitDefinition::GetCategory(), HcalDDDSimConstants::getPhis(), HcalDDDRecConstants::getPhis(), CocoaUnitDefinition::GetValueOf(), ALIUnitDefinition::GetValueOf(), HcalTopology::HcalTopology(), identity(), HcalFlexiHardcodeGeometryLoader::makeHECells(), SiPixelFedCablingMapBuilder::produce(), MatacqProducer::runSubDir(), GeometryComparisonPlotter::SetBranchUnits(), HcalObjRepresent::setup(), HcalObjRepresent::ADataRepr::setup(), HcalNumberingFromDDD::unitID(), and HcalDDDSimConstants::unitPhi().
vector<Color_t> colors |
Definition at line 37 of file trackSplitPlot.h.
Referenced by FWGeometryTableViewBase::cellClicked(), FWModelContextMenuHandler::chosenItem(), FWCollectionSummaryWidget::colorClicked(), FWModelContextMenuHandler::createColorPopup(), FWCollectionSummaryWidget::createColorPopup(), ProcessCallGraph::dependencies(), ProcessCallGraph::depends(), FWColorSelect::FWColorSelect(), FWColorSelect::HandleButton(), and FWCollectionSummaryWidget::itemColorClicked().
bool colorsset = false |
Definition at line 39 of file trackSplitPlot.h.
Double_t increaseby = .1 |
Definition at line 46 of file trackSplitPlot.h.
Int_t legendGrid = 100 |
Definition at line 44 of file trackSplitPlot.h.
Double_t margin = .1 |
Definition at line 45 of file trackSplitPlot.h.
Referenced by DTLinearFit::fitNpar(), globcontrol::getpassn(), globcontrol::globcontrol(), RectangularEtaPhiTrackingRegion::name(), and InnerDeltaPhi::phiRange().
Int_t maxrun = -1 |
Definition at line 41 of file trackSplitPlot.h.
Referenced by evf::DirManager::findHighestRun(), and evf::DirManager::findHighestRunDir().
Int_t minrun = -1 |
Definition at line 40 of file trackSplitPlot.h.
double outliercut = 0.99 |
Definition at line 55 of file trackSplitPlot.h.
const Double_t pi = TMath::Pi() |
Definition at line 36 of file trackSplitPlot.h.
Referenced by evf::__attribute__(), Hector::addPartToHepMC(), CTPPSHector::addPartToHepMC(), HiBasicGenTest::analyze(), ElectronMcSignalValidatorMiniAOD::analyze(), ElectronMcSignalValidator::analyze(), ElectronSeedAnalyzer::analyze(), ElectronMcFakeValidator::analyze(), SimplePhotonAnalyzer::analyze(), ElectronAnalyzer::analyze(), GsfElectronDataAnalyzer::analyze(), GsfElectronMCFakeAnalyzer::analyze(), DQMAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), RPCPhiEff::analyze(), GsfElectronMCAnalyzer::analyze(), ContainmentCorrectionAnalyzer::analyze(), PhotonValidatorMiniAOD::analyze(), PhotonValidator::analyze(), CTPPSHector::ApplyBeamCorrection(), MaterialBudgetCastorHistos::book(), MaterialBudgetHcalHistos::book(), MaterialBudgetForward::book(), MaterialBudget::book(), HLTTauDQML1Plotter::bookHistograms(), ElectronMcSignalValidator::bookHistograms(), BasicHepMCHeavyIonValidation::bookHistograms(), ElectronMcFakeValidator::bookHistograms(), EwkDQM::bookHistograms(), HGCalRecHitValidation::bookHistograms(), HGCalSimHitValidation::bookHistograms(), ConversionLikelihoodCalculator::calculateLikelihood(), edm::service::ResourceEnforcer::check(), GsfElectronAlgo::ElectronData::checkCtfTrack(), DDHCalBarrelAlgo::constructGeneralVolume(), DDHCalEndcapAlgo::constructGeneralVolume(), DDHCalEndcapModuleAlgo::constructInsideModule(), DDHCalEndcapAlgo::constructInsideModule(), DDHCalBarrelAlgo::constructInsideSector(), DDHCalEndcapAlgo::constructInsideSector(), DDHGCalModule::constructLayers(), DDHGCalModuleAlgo::constructLayers(), edm::FileLocator::convert(), RPCStripsRing::createRefConnections(), PFResolutionMap::dCrackPhi(), PFEnergyCalibration::dCrackPhi(), AntiElectronIDMVA5::dCrackPhi(), AntiElectronIDMVA6::dCrackPhi(), IsolatedGenParticles::DeltaPhi(), IsolatedTracksCone::DeltaPhi(), IsolatedTracksNxN::DeltaPhi(), Decay3Body::doDecay(), FWFFMetadataManager::doUpdate(), reco::Conversion::dPhiTracksAtEcal(), reco::Conversion::dPhiTracksAtVtx(), DAClusterizerInZT::dump(), DAClusterizerInZ::dump(), ConversionForwardEstimator::estimate(), ConversionBarrelEstimator::estimate(), ForwardMeasurementEstimator::estimate(), BarrelMeasurementEstimator::estimate(), DDHCalTBCableAlgo::execute(), DDPixBarLayerUpgradeAlgo::execute(), CTPPSFastTrackingProducer::FastReco(), AlCaHOCalibProducer::fillHOStore(), RPCStripsRing::fillWithVirtualStrips(), MCParticlePairFilter::filter(), Vx3DHLTAnalyzer::Gauss3DFunc(), CTPPSFastTrackingProducer::Get_t_and_xi(), GsfElectronCoreBaseProducer::getCtfTrackRef(), ZdcSD::getEnergyDeposit(), CastorSD::getEnergyDeposit(), TopologyWorker::getetaphi(), PythiaFilterIsolatedTrack::GetEtaPhiAtEcal(), TwoBodyDecayLinearizationPointFinder::getLinearizationPoint(), pat::helper::ResolutionHelper::getResolTheta(), CastorShowerLibrary::getShowerHits(), FWFFMetadataManager::hasModuleLabel(), HiggsDQM::HiggsDQM(), HDetIdAssociator::iPhi(), CaloCellId::isInCell(), hitfit::Gentop_Args::kt_res_str(), MaterialBudgetCastorHistos::MaterialBudgetCastorHistos(), MaterialBudgetHcalHistos::MaterialBudgetHcalHistos(), PFEnergyCalibration::minimum(), AntiElectronIDMVA5::minimum(), AntiElectronIDMVA6::minimum(), Utils::mpi_pi(), PFMETBenchmark::mpi_pi(), normalized_phi(), CmsTrackerLevelBuilder::ExtractPhi::operator()(), CmsTrackerLevelBuilder::ExtractPhiModule::operator()(), CmsTrackerLevelBuilder::ExtractPhiGluedModule::operator()(), CmsTrackerLevelBuilder::ExtractPhiMirror::operator()(), CmsTrackerLevelBuilder::ExtractPhiModuleMirror::operator()(), CmsTrackerLevelBuilder::ExtractPhiGluedModuleMirror::operator()(), DDHGCalEEAlgo::parameterLayer(), DDHGCalHEAlgo::parameterLayer(), DDHCalEndcapModuleAlgo::parameterLayer(), DDHCalEndcapAlgo::parameterLayer(), DDHCalEndcapModuleAlgo::parameterLayer0(), DDHCalEndcapAlgo::parameterLayer0(), TopologyWorker::planes_sphe(), TopologyWorker::planes_sphe_wei(), TopologyWorker::planes_thrust(), HFFibreFiducial::PMTNumber(), FWPathsPopup::postEvent(), HLTTauMCProducer::produce(), TotemRPLocalTrackFitter::produce(), MuonSimHitProducer::produce(), DAClusterizerInZT::purge(), DAClusterizerInZ::purge(), CutsIsolatorWithCorrection::result(), gen::HydjetHadronizer::rotateEvtPlane(), gen::Hydjet2Hadronizer::rotateEvtPlane(), DQMImplNet< DQMNet::Object >::sendObjectListToPeer(), MagBinFinders::GeneralBinFinderInZ< double >::twoPi(), unsafe_acos71(), FWPSetTableManager::update(), FP420Test::update(), BscTest::update(), FWPSetTableManager::updateFilter(), UrbanMscModel93::UrbanMscModel93(), DAClusterizerInZ::vertices(), DAClusterizerInZT::vertices(), DDI::Tubs::volume(), DDI::Torus::volume(), DDI::Cons::volume(), DDI::Polycone::volume(), Vx3DHLTAnalyzer::Vx3DHLTAnalyzer(), MonPNLed2Dat::writeArrayDB(), MonPNIRedDat::writeArrayDB(), MonPNLed1Dat::writeArrayDB(), MonPNGreenDat::writeArrayDB(), MonPNRedDat::writeArrayDB(), MonPNBlueDat::writeArrayDB(), MonPNMGPADat::writeArrayDB(), and DCULVRVoltagesDat::writeArrayDB().
Bool_t relativearray[ysize] = {true, false, false, false, false, false, false, false, false} |
Definition at line 50 of file trackSplitPlot.h.
TList* stufftodelete = new TList() |
Definition at line 52 of file trackSplitPlot.h.
vector<Style_t> styles |
Definition at line 38 of file trackSplitPlot.h.
TString subdetector = "PIXEL" |
Definition at line 54 of file trackSplitPlot.h.
Referenced by HitEff::analyze(), SiStripElectronSeedGenerator::checkHitsAndTSOS(), MuonSimHitsValidAnalyzer::fillDT(), GlobalHitsAnalyzer::fillECal(), GlobalHitsProdHist::fillECal(), GlobalHitsProducer::fillECal(), GlobalHitsProdHist::fillHCal(), GlobalHitsAnalyzer::fillHCal(), GlobalHitsProducer::fillHCal(), GlobalHitsAnalyzer::fillMuon(), GlobalHitsProdHist::fillMuon(), GlobalHitsProducer::fillMuon(), GlobalHitsAnalyzer::fillTrk(), GlobalHitsProdHist::fillTrk(), GlobalHitsProducer::fillTrk(), HCALConfigDB::getOnlineLUT(), HCALConfigDB::getOnlineLUTFromXML(), HcalQIEManager::getQIETableFromFile(), HcalChannelId::operator<(), SiStripTrackerMapCreator::printTopModules(), and ResidualRefitting::StoreTrackerRecHits().
const Int_t xsize = 8 |
Definition at line 42 of file trackSplitPlot.h.
Referenced by Phase2ITPixelCluster::computeMax(), identity(), SiPixelTemplateReco::PixelTempReco2D(), SiPixelTemplateSplit::PixelTempSplit(), PixelTemplateSmearerBase::smearHit(), PixelTemplateSmearerBase::smearMergeGroup(), TrackClusterSplitter::splitCluster(), SiStripTemplateReco::StripTempReco1D(), and SiStripTemplateSplit::StripTempSplit().
Definition at line 48 of file trackSplitPlot.h.
const Int_t ysize = 9 |
Definition at line 43 of file trackSplitPlot.h.
Referenced by Phase2ITPixelCluster::computeMax(), identity(), SiPixelTemplateReco::PixelTempReco2D(), SiPixelTemplateSplit::PixelTempSplit(), PixelTemplateSmearerBase::smearHit(), PixelTemplateSmearerBase::smearMergeGroup(), and TrackClusterSplitter::splitCluster().
Definition at line 49 of file trackSplitPlot.h.