CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
TopInspectRatio Class Reference
Inheritance diagram for TopInspectRatio:
ManipHist FitHist CompHist

Public Member Functions

virtual void readConfig (std::string)
 
 TopInspectRatio ()
 
void writeOutput ()
 
 ~TopInspectRatio ()
 
- Public Member Functions inherited from ManipHist
void divideAndDrawEps ()
 
void divideAndDrawPs ()
 
 ManipHist ()
 
void sumHistograms ()
 
virtual ~ManipHist ()
 
- Public Member Functions inherited from FitHist
void fillTargetHistograms ()
 
void fitAndDrawEps ()
 
void fitAndDrawPs ()
 
 FitHist ()
 
 FitHist (bool verbose)
 
void writeFitOutput ()
 
virtual ~FitHist ()
 
- Public Member Functions inherited from CompHist
 CompHist ()
 
 CompHist (bool verbose)
 
void draw (TCanvas &, TLegend &, int &, int &)
 
void drawEps ()
 
void drawPs ()
 
bool histFilter (TString &, std::vector< std::string > &)
 
bool histFilter (TString &, std::vector< std::string > &, CompHist::HistFilter)
 
void loadHistograms (std::vector< std::string > &, std::vector< TObjArray > &)
 
void loadHistograms ()
 
void setVerbose (bool val)
 
bool verbose ()
 
std::string writeAs ()
 
void writeOutput (CompHist::RootOutput)
 
void writeOutput ()
 
virtual ~CompHist ()
 

Additional Inherited Members

- Public Types inherited from FitHist
enum  EvalType { kStabilizedGauss, kHistogramMean, kMaximalValue, kQuantile }
 
- Public Types inherited from CompHist
enum  HistFilter { kBeginsWith, kEndsWith, kContains }
 
enum  RootOutput { kFirstOnly, kLastOnly, kAll }
 
- Protected Member Functions inherited from ManipHist
void configBlockDivide (ConfigFile &)
 
void configBlockSum (ConfigFile &)
 
TH1F & divideHistograms (TH1F &, TH1F &, int)
 
double ratioCorrelatedError (double &, double &, double &, double &)
 
double ratioUncorrelatedError (double &, double &, double &, double &)
 
- Protected Member Functions inherited from FitHist
void addBinLabelToFitHist (const TObjArray &, int &, TString &, TString &)
 
void addParLabelToFitHist (const TH1F &)
 
bool checkTargetHistList ()
 
void configBlockFit (ConfigFile &)
 
void fillTargetHistogram (std::string &)
 
void fillTargetHistogramBin (TH1F &, TH1F &, int)
 
void fillTargetHistogramBin (TH1F &, TH1F &, int, TString &, Quantile &)
 
void fillTargetHistogramBin (TH1F &, TH1F &, int, TString &, MaximalValue &)
 
void fillTargetHistogramBin (TH1F &, TH1F &, int, TString &, HistogramMean &)
 
void fillTargetHistogramBin (TH1F &, TH1F &, int, TString &, StabilizedGauss &)
 
TH1F & findFitHistogram (const TObjArray &, TString &, TString &, int &)
 
TH1F & findTargetHistogram (const TObjArray &, TString &, TString &, TString &)
 
bool isInFitTargetList (std::string &)
 
double normalize (TString &, double)
 
void setFitHistogramAxes (TH1F &, int)
 
- Protected Member Functions inherited from CompHist
void configBlockHist (ConfigFile &)
 
void configBlockIO (ConfigFile &)
 
double findMaximum (int)
 
bool isOutputRequested ()
 
std::string legend (int)
 
void readHistogramList ()
 
void readLabels (std::string, std::vector< std::string > &)
 
void setAxesStyle (TH1 &, const char *, const char *)
 
void setCanvasStyle (TCanvas &)
 
void setCanvGrid (TCanvas &, int)
 
void setCanvLog (TCanvas &, int)
 
void setFillColor (TH1F &, int)
 
void setFillStyle (TH1F &, int)
 
void setHistLabels (TH1F &, int)
 
void setHistMax (TH1F &, int)
 
void setHistMin (TH1F &, int)
 
void setHistScale (TH1F &, int)
 
void setHistStyles (TH1F &, int, int)
 
void setLegendStyle (TLegend &)
 
void setLineColor (TH1F &, int)
 
void setLineStyle (TH1F &, int)
 
void setLineWidth (TH1F &, int)
 
void setMarkerColor (TH1F &, int)
 
void setMarkerSize (TH1F &, int)
 
void setMarkerStyle (TH1F &, int)
 
- Protected Attributes inherited from ManipHist
int errorType_
 
std::vector< double > weights_
 
- Protected Attributes inherited from FitHist
std::vector< int > axesIndex_
 
int evalType_
 
double fitFuncLowerBound_
 
std::string fitFuncName_
 
std::string fitFuncTitle_
 
int fitFuncType_
 
double fitFuncUpperBound_
 
std::vector< std::string > targetHistList_
 
std::vector< std::string > xAxesFit_
 
std::vector< std::string > yAxesFit_
 
- Protected Attributes inherited from CompHist
std::vector< short int > commonStyle_
 
std::vector< short int > commonWidth_
 
std::vector< std::string > dirNameList_
 
std::vector< short int > errors_
 
std::vector< TFile * > fileList_
 
std::vector< std::string > fileNameList_
 
std::string filterOpt_
 
std::vector< short int > gridX_
 
std::vector< short int > gridY_
 
std::vector< short int > histColor_
 
std::string histFile_
 
std::vector< std::string > histFilterList_
 
std::vector< std::string > histList_
 
std::vector< short int > histStyle_
 
std::vector< std::string > legendEntries_
 
double legXLeft_
 
double legXRight_
 
double legYLower_
 
double legYUpper_
 
std::vector< short int > logX_
 
std::vector< short int > logY_
 
std::vector< double > markerSize_
 
std::vector< short int > markerStyle_
 
std::vector< double > max_
 
std::vector< double > min_
 
std::string output_
 
std::vector< std::string > outputLabelList_
 
std::vector< std::string > plotFilterList_
 
std::string rootOutDir_
 
std::vector< TObjArray > sampleList_
 
std::vector< double > scale_
 
bool verbose_
 
std::string writeAs_
 
std::string writeTo_
 
std::vector< std::string > xAxes_
 
std::vector< std::string > yAxes_
 

Detailed Description

Definition at line 16 of file InspectRatio_calib.cc.

Constructor & Destructor Documentation

TopInspectRatio::TopInspectRatio ( )
inline

Definition at line 18 of file InspectRatio_calib.cc.

18 {};
TopInspectRatio::~TopInspectRatio ( )
inline

Definition at line 19 of file InspectRatio_calib.cc.

19 {};

Member Function Documentation

void TopInspectRatio::readConfig ( std::string  name)
virtual

Implements CompHist.

Definition at line 24 of file InspectRatio_calib.cc.

Referenced by main().

25 {
26  ConfigFile cfg( name, "=", "$" );
27  configBlockIO ( cfg );
28  configBlockHist ( cfg );
29  configBlockDivide( cfg );
30 }
void configBlockHist(ConfigFile &)
Definition: CompHist.cc:72
void configBlockIO(ConfigFile &)
Definition: CompHist.cc:40
void configBlockDivide(ConfigFile &)
Definition: ManipHist.cc:25
void TopInspectRatio::writeOutput ( )
inline

Definition at line 21 of file InspectRatio_calib.cc.

References CompHist::writeOutput().

Referenced by main().