CMS 3D CMS Logo

HistoData Class Reference

#include <Validation/RecoParticleFlow/bin/include/HistoData.h>

List of all members.

Public Member Functions

void clear ()
bool comparisonSuccess () const
void drawResult (TH1 *Summary, bool Vertical=true, bool SetLabels=false)
void dump ()
int getBin () const
float getChi2Score () const
bool getDoAllow1DRebinning () const
bool getDoAllow2DRebinningX () const
bool getDoAllow2DRebinningY () const
bool getDoDrawErrorBars () const
bool getDoProjectionsX () const
bool getDoProjectionsY () const
float getHighScore () const
bool getIsEmpty () const
float getKSScore () const
bool getLineUseFillColor () const
float getLowScore () const
int getMaxProjectionsX () const
int getMaxProjectionsY () const
std::string getName () const
TH1 * getNewHisto () const
TH1 * getRefHisto () const
bool getResult () const
std::string getResultImage () const
std::string getResultTarget () const
int getShadedFillColor () const
int getShadedFillStyle () const
int getShadedLineColor () const
int getSolidFillColor () const
int getSolidFillStyle () const
int getSolidLineColor () const
int getType () const
 HistoData (std::string Name, int PlotType, int Bin, TH1 *NewHisto, TH1 *RefHisto)
 HistoData (std::string Name, int PlotType, int Bin, std::string NewPath, TFile *NewFile, std::string RefPath, TFile *RefFile)
void setBin (int Bin)
void setChi2Score (float Score)
void setDoAllow1DRebinning (bool Toggle)
void setDoAllow2DRebinningX (bool Toggle)
void setDoAllow2DRebinningY (bool Toggle)
void setDoDrawErrorBars (bool Toggle)
void setDoProjectionsX (bool Toggle)
void setDoProjectionsY (bool Toggle)
void setHighScore (float Score)
void setIsEmpty (bool Toggle)
void setKSScore (float Score)
void setLineUseFillColor (bool Toggle)
void setLowScore (float Score)
void setMaxProjections (int Num)
void setMaxProjectionsX (bool Num)
void setMaxProjectionsY (bool Num)
void setName (std::string Name)
void setResult (bool Result)
void setResultImage (std::string Image)
void setResultTarget (std::string Target)
void setShadedFillColor (int Color)
void setShadedFillStyle (int Style)
void setShadedLineColor (int Color)
void setSolidFillColor (int Color)
void setSolidFillStyle (int Style)
void setSolidLineColor (int Color)
void setType (int PlotType)
virtual ~HistoData ()

Private Member Functions

void initialize ()

Private Attributes

int bin
float chi2Score
bool doAllow1DRebinning
bool doAllow2DRebinningX
bool doAllow2DRebinningY
bool doDrawErrorBars
bool doProjectionsX
bool doProjectionsY
int errorColor
int failColor
float highScore
bool isEmpty
float ksScore
bool lineUseFillColor
float lowScore
int maxProjectionsX
int maxProjectionsY
std::string name
TH1 * newHisto
int passColor
TH1 * refHisto
bool result
std::string resultImage
std::string resultTarget
int shadedFillColor
int shadedFillStyle
int shadedLineColor
int solidFillColor
int solidFillStyle
int solidLineColor
int type


Detailed Description

Definition at line 9 of file HistoData.h.


Constructor & Destructor Documentation

HistoData::HistoData ( std::string  Name,
int  PlotType,
int  Bin,
std::string  NewPath,
TFile *  NewFile,
std::string  RefPath,
TFile *  RefFile 
)

HistoData::HistoData ( std::string  Name,
int  PlotType,
int  Bin,
TH1 *  NewHisto,
TH1 *  RefHisto 
)

virtual HistoData::~HistoData (  )  [inline, virtual]

Definition at line 14 of file HistoData.h.

00014 {}


Member Function Documentation

void HistoData::clear ( void   )  [inline]

Definition at line 92 of file HistoData.h.

Referenced by SummaryGenerator::clearMap().

00092 { memset(this,0,sizeof(*this)); }

bool HistoData::comparisonSuccess (  )  const [inline]

Definition at line 37 of file HistoData.h.

References isEmpty, and lowScore.

00037 { return lowScore != 10 && !isEmpty; }

void HistoData::drawResult ( TH1 *  Summary,
bool  Vertical = true,
bool  SetLabels = false 
)

void HistoData::dump (  )  [inline]

int HistoData::getBin ( void   )  const [inline]

Definition at line 20 of file HistoData.h.

References bin.

00020 { return bin; }

float HistoData::getChi2Score (  )  const [inline]

Definition at line 39 of file HistoData.h.

References chi2Score.

00039 { return chi2Score; }

bool HistoData::getDoAllow1DRebinning (  )  const [inline]

Definition at line 28 of file HistoData.h.

References doAllow1DRebinning.

00028 { return doAllow1DRebinning; }

bool HistoData::getDoAllow2DRebinningX (  )  const [inline]

Definition at line 29 of file HistoData.h.

References doAllow2DRebinningX.

00029 { return doAllow2DRebinningX; }

bool HistoData::getDoAllow2DRebinningY (  )  const [inline]

Definition at line 30 of file HistoData.h.

References doAllow2DRebinningY.

00030 { return doAllow2DRebinningY; }

bool HistoData::getDoDrawErrorBars (  )  const [inline]

Definition at line 27 of file HistoData.h.

References doDrawErrorBars.

00027 { return doDrawErrorBars; }

bool HistoData::getDoProjectionsX (  )  const [inline]

Definition at line 31 of file HistoData.h.

References doProjectionsX.

00031 { return doProjectionsX; }

bool HistoData::getDoProjectionsY (  )  const [inline]

Definition at line 32 of file HistoData.h.

References doProjectionsY.

00032 { return doProjectionsY; }

float HistoData::getHighScore (  )  const [inline]

Definition at line 41 of file HistoData.h.

References highScore.

00041 { return highScore; }

bool HistoData::getIsEmpty (  )  const [inline]

Definition at line 43 of file HistoData.h.

References isEmpty.

00043 { return isEmpty; }

float HistoData::getKSScore (  )  const [inline]

Definition at line 38 of file HistoData.h.

References ksScore.

00038 { return ksScore; }

bool HistoData::getLineUseFillColor (  )  const [inline]

Definition at line 46 of file HistoData.h.

References lineUseFillColor.

00046 { return lineUseFillColor; }

float HistoData::getLowScore (  )  const [inline]

Definition at line 40 of file HistoData.h.

References lowScore.

00040 { return lowScore; }

int HistoData::getMaxProjectionsX (  )  const [inline]

Definition at line 33 of file HistoData.h.

References maxProjectionsX.

00033 { return maxProjectionsX; }

int HistoData::getMaxProjectionsY (  )  const [inline]

Definition at line 34 of file HistoData.h.

References maxProjectionsY.

00034 { return maxProjectionsY; }

std::string HistoData::getName ( void   )  const [inline]

Definition at line 17 of file HistoData.h.

References name.

00017 { return name; }

TH1* HistoData::getNewHisto (  )  const [inline]

Definition at line 21 of file HistoData.h.

References newHisto.

00021 { return newHisto; }

TH1* HistoData::getRefHisto (  )  const [inline]

Definition at line 22 of file HistoData.h.

References refHisto.

00022 { return refHisto; }

bool HistoData::getResult (  )  const [inline]

Definition at line 42 of file HistoData.h.

References result.

00042 { return result; }

std::string HistoData::getResultImage (  )  const [inline]

Definition at line 23 of file HistoData.h.

References resultImage.

00023 { return resultImage; }

std::string HistoData::getResultTarget (  )  const [inline]

Definition at line 24 of file HistoData.h.

References resultTarget.

00024 { return resultTarget; }

int HistoData::getShadedFillColor (  )  const [inline]

Definition at line 51 of file HistoData.h.

References shadedFillColor.

00051 { return shadedFillColor; }

int HistoData::getShadedFillStyle (  )  const [inline]

Definition at line 52 of file HistoData.h.

References shadedFillStyle.

00052 { return shadedFillStyle; }

int HistoData::getShadedLineColor (  )  const [inline]

Definition at line 50 of file HistoData.h.

References lineUseFillColor, shadedFillColor, and shadedLineColor.

int HistoData::getSolidFillColor (  )  const [inline]

Definition at line 48 of file HistoData.h.

References solidFillColor.

00048 { return solidFillColor; }

int HistoData::getSolidFillStyle (  )  const [inline]

Definition at line 49 of file HistoData.h.

References solidFillStyle.

00049 { return solidFillStyle; }

int HistoData::getSolidLineColor (  )  const [inline]

Definition at line 47 of file HistoData.h.

References lineUseFillColor, solidFillColor, and solidLineColor.

int HistoData::getType (  )  const [inline]

Definition at line 19 of file HistoData.h.

00019 { return type; }

void HistoData::initialize (  )  [private]

void HistoData::setBin ( int  Bin  )  [inline]

Definition at line 58 of file HistoData.h.

References bin.

00058 { bin = Bin; }

void HistoData::setChi2Score ( float  Score  )  [inline]

Definition at line 75 of file HistoData.h.

References chi2Score.

00075 { chi2Score = Score; }

void HistoData::setDoAllow1DRebinning ( bool  Toggle  )  [inline]

Definition at line 64 of file HistoData.h.

References doAllow1DRebinning.

00064 { doAllow1DRebinning = Toggle; }

void HistoData::setDoAllow2DRebinningX ( bool  Toggle  )  [inline]

Definition at line 65 of file HistoData.h.

References doAllow2DRebinningX.

00065 { doAllow2DRebinningX = Toggle; }

void HistoData::setDoAllow2DRebinningY ( bool  Toggle  )  [inline]

Definition at line 66 of file HistoData.h.

References doAllow2DRebinningY.

00066 { doAllow2DRebinningY = Toggle; }

void HistoData::setDoDrawErrorBars ( bool  Toggle  )  [inline]

Definition at line 63 of file HistoData.h.

References doDrawErrorBars.

00063 { doDrawErrorBars = Toggle; }

void HistoData::setDoProjectionsX ( bool  Toggle  )  [inline]

Definition at line 67 of file HistoData.h.

References doProjectionsX.

00067 { doProjectionsX = Toggle; }

void HistoData::setDoProjectionsY ( bool  Toggle  )  [inline]

Definition at line 68 of file HistoData.h.

References doProjectionsY.

00068 { doProjectionsY = Toggle; }

void HistoData::setHighScore ( float  Score  )  [inline]

Definition at line 77 of file HistoData.h.

References highScore.

00077 { highScore = Score; }

void HistoData::setIsEmpty ( bool  Toggle  )  [inline]

Definition at line 79 of file HistoData.h.

References isEmpty.

00079 { isEmpty = Toggle; }

void HistoData::setKSScore ( float  Score  )  [inline]

Definition at line 74 of file HistoData.h.

References ksScore.

00074 { ksScore = Score; }

void HistoData::setLineUseFillColor ( bool  Toggle  )  [inline]

Definition at line 82 of file HistoData.h.

References lineUseFillColor.

00082 { lineUseFillColor = Toggle; }

void HistoData::setLowScore ( float  Score  )  [inline]

Definition at line 76 of file HistoData.h.

References lowScore.

00076 { lowScore = Score; }

void HistoData::setMaxProjections ( int  Num  )  [inline]

Definition at line 69 of file HistoData.h.

References maxProjectionsX, and maxProjectionsY.

00069 { maxProjectionsX = Num; maxProjectionsY = Num; }

void HistoData::setMaxProjectionsX ( bool  Num  )  [inline]

Definition at line 70 of file HistoData.h.

References maxProjectionsX.

00070 { maxProjectionsX = Num; }

void HistoData::setMaxProjectionsY ( bool  Num  )  [inline]

Definition at line 71 of file HistoData.h.

References maxProjectionsY.

00071 { maxProjectionsY = Num; }

void HistoData::setName ( std::string  Name  )  [inline]

Definition at line 55 of file HistoData.h.

References name.

00055 { name = Name; }

void HistoData::setResult ( bool  Result  ) 

void HistoData::setResultImage ( std::string  Image  )  [inline]

Definition at line 59 of file HistoData.h.

References resultImage.

00059 { resultImage = Image; }

void HistoData::setResultTarget ( std::string  Target  )  [inline]

Definition at line 60 of file HistoData.h.

References resultTarget.

00060 { resultTarget = Target; }

void HistoData::setShadedFillColor ( int  Color  )  [inline]

Definition at line 87 of file HistoData.h.

References shadedFillColor.

00087 { shadedFillColor = Color; }

void HistoData::setShadedFillStyle ( int  Style  )  [inline]

Definition at line 88 of file HistoData.h.

References shadedFillStyle.

00088 { shadedFillStyle = Style; }

void HistoData::setShadedLineColor ( int  Color  )  [inline]

Definition at line 86 of file HistoData.h.

References shadedLineColor.

00086 { shadedLineColor = Color; }

void HistoData::setSolidFillColor ( int  Color  )  [inline]

Definition at line 84 of file HistoData.h.

References solidFillColor.

00084 { solidFillColor = Color; }

void HistoData::setSolidFillStyle ( int  Style  )  [inline]

Definition at line 85 of file HistoData.h.

References solidFillStyle.

00085 { solidFillStyle = Style; }

void HistoData::setSolidLineColor ( int  Color  )  [inline]

Definition at line 83 of file HistoData.h.

References solidLineColor.

00083 { solidLineColor = Color; }

void HistoData::setType ( int  PlotType  )  [inline]

Definition at line 57 of file HistoData.h.

00057 { type = PlotType; }


Member Data Documentation

int HistoData::bin [private]

Definition at line 101 of file HistoData.h.

Referenced by getBin(), and setBin().

float HistoData::chi2Score [private]

Definition at line 119 of file HistoData.h.

Referenced by getChi2Score(), and setChi2Score().

bool HistoData::doAllow1DRebinning [private]

Definition at line 106 of file HistoData.h.

Referenced by getDoAllow1DRebinning(), and setDoAllow1DRebinning().

bool HistoData::doAllow2DRebinningX [private]

Definition at line 110 of file HistoData.h.

Referenced by getDoAllow2DRebinningX(), and setDoAllow2DRebinningX().

bool HistoData::doAllow2DRebinningY [private]

Definition at line 111 of file HistoData.h.

Referenced by getDoAllow2DRebinningY(), and setDoAllow2DRebinningY().

bool HistoData::doDrawErrorBars [private]

Definition at line 107 of file HistoData.h.

Referenced by getDoDrawErrorBars(), and setDoDrawErrorBars().

bool HistoData::doProjectionsX [private]

Definition at line 114 of file HistoData.h.

Referenced by getDoProjectionsX(), and setDoProjectionsX().

bool HistoData::doProjectionsY [private]

Definition at line 115 of file HistoData.h.

Referenced by getDoProjectionsY(), and setDoProjectionsY().

int HistoData::errorColor [private]

Definition at line 126 of file HistoData.h.

int HistoData::failColor [private]

Definition at line 126 of file HistoData.h.

float HistoData::highScore [private]

Definition at line 121 of file HistoData.h.

Referenced by getHighScore(), and setHighScore().

bool HistoData::isEmpty [private]

Definition at line 123 of file HistoData.h.

Referenced by comparisonSuccess(), getIsEmpty(), and setIsEmpty().

float HistoData::ksScore [private]

Definition at line 118 of file HistoData.h.

Referenced by getKSScore(), and setKSScore().

bool HistoData::lineUseFillColor [private]

Definition at line 129 of file HistoData.h.

Referenced by getLineUseFillColor(), getShadedLineColor(), getSolidLineColor(), and setLineUseFillColor().

float HistoData::lowScore [private]

Definition at line 120 of file HistoData.h.

Referenced by comparisonSuccess(), getLowScore(), and setLowScore().

int HistoData::maxProjectionsX [private]

Definition at line 112 of file HistoData.h.

Referenced by getMaxProjectionsX(), setMaxProjections(), and setMaxProjectionsX().

int HistoData::maxProjectionsY [private]

Definition at line 113 of file HistoData.h.

Referenced by getMaxProjectionsY(), setMaxProjections(), and setMaxProjectionsY().

std::string HistoData::name [private]

Definition at line 98 of file HistoData.h.

Referenced by getName(), and setName().

TH1* HistoData::newHisto [private]

Definition at line 102 of file HistoData.h.

Referenced by getNewHisto().

int HistoData::passColor [private]

Definition at line 126 of file HistoData.h.

TH1* HistoData::refHisto [private]

Definition at line 103 of file HistoData.h.

Referenced by getRefHisto().

bool HistoData::result [private]

Definition at line 122 of file HistoData.h.

Referenced by getResult().

std::string HistoData::resultImage [private]

Definition at line 104 of file HistoData.h.

Referenced by getResultImage(), and setResultImage().

std::string HistoData::resultTarget [private]

Definition at line 105 of file HistoData.h.

Referenced by getResultTarget(), and setResultTarget().

int HistoData::shadedFillColor [private]

Definition at line 128 of file HistoData.h.

Referenced by getShadedFillColor(), getShadedLineColor(), and setShadedFillColor().

int HistoData::shadedFillStyle [private]

Definition at line 128 of file HistoData.h.

Referenced by getShadedFillStyle(), and setShadedFillStyle().

int HistoData::shadedLineColor [private]

Definition at line 128 of file HistoData.h.

Referenced by getShadedLineColor(), and setShadedLineColor().

int HistoData::solidFillColor [private]

Definition at line 127 of file HistoData.h.

Referenced by getSolidFillColor(), getSolidLineColor(), and setSolidFillColor().

int HistoData::solidFillStyle [private]

Definition at line 127 of file HistoData.h.

Referenced by getSolidFillStyle(), and setSolidFillStyle().

int HistoData::solidLineColor [private]

Definition at line 127 of file HistoData.h.

Referenced by getSolidLineColor(), and setSolidLineColor().

int HistoData::type [private]

Definition at line 100 of file HistoData.h.


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:24:16 2009 for CMSSW by  doxygen 1.5.4