CMS 3D CMS Logo

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

Public Member Functions

virtual void readConfig (std::string)
 
 TopInspectFit ()
 
 ~TopInspectFit ()
 
- 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 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 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 14 of file InspectFit_calib.cc.

Constructor & Destructor Documentation

TopInspectFit::TopInspectFit ( )
inline

Definition at line 16 of file InspectFit_calib.cc.

16 :FitHist(false){};
FitHist()
Definition: FitHist.h:16
TopInspectFit::~TopInspectFit ( )
inline

Definition at line 17 of file InspectFit_calib.cc.

17 {};

Member Function Documentation

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

Implements CompHist.

Definition at line 22 of file InspectFit_calib.cc.

Referenced by main().

23 {
24  ConfigFile cfg( name, "=", "$" );
25  configBlockIO ( cfg );
26  configBlockHist( cfg );
27  configBlockFit ( cfg );
28 }
void configBlockHist(ConfigFile &)
Definition: CompHist.cc:72
void configBlockFit(ConfigFile &)
Definition: FitHist.cc:9
void configBlockIO(ConfigFile &)
Definition: CompHist.cc:40