#include <HistoData.h>
Public Member Functions | |
void | Clear () |
void | clear () |
bool | comparisonSuccess () const |
void | drawResult (TH1 *Summary, bool Vertical=true, bool SetLabels=false) |
void | Dump () |
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 () |
std::string | getName () const |
TH1 * | getNewHisto () const |
int | GetNumber () |
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 |
unsigned short | GetType () |
std::string | GetValueX () |
HistoData (std::string Name, int PlotType, int Bin, std::string NewPath, TFile *NewFile, std::string RefPath, TFile *RefFile) | |
HistoData (std::string Name, int Number) | |
HistoData (std::string Name, int PlotType, int Bin, TH1 *NewHisto, TH1 *RefHisto) | |
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 (unsigned short Type) |
void | setType (int PlotType) |
void | SetValueX (std::string Value) |
void | SetValueY (std::string Value) |
virtual | ~HistoData () |
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 | number |
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 |
unsigned short | type |
std::string | x_value |
std::string | y_value |
Definition at line 6 of file HistoData.h.
HistoData::HistoData | ( | std::string | Name, |
int | Number | ||
) |
virtual HistoData::~HistoData | ( | ) | [virtual] |
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 15 of file HistoData.h.
{}
void HistoData::Clear | ( | ) | [inline] |
Definition at line 32 of file HistoData.h.
{ memset(this,0,sizeof(struct HistoData)); }
void HistoData::clear | ( | void | ) | [inline] |
Definition at line 93 of file HistoData.h.
{ memset(this,0,sizeof(*this)); }
bool HistoData::comparisonSuccess | ( | ) | const [inline] |
void HistoData::drawResult | ( | TH1 * | Summary, |
bool | Vertical = true , |
||
bool | SetLabels = false |
||
) |
void PFDisplacedVertexSeed::Dump | ( | void | ) |
Definition at line 32 of file PFBlockElementBrem.cc.
References DeDxDiscriminatorTools::charge(), reco::PFBlockElementBrem::deltaP_, reco::PFBlockElementBrem::GsftrackRefPF_, reco::PFBlockElementBrem::indPoint_, edm::Ref< C, T, F >::isNull(), and reco::PFBlockElementBrem::sigmadeltaP_.
{ if(! out ) return; if( !GsftrackRefPF_.isNull() ) { double charge = 0.; double dp = deltaP_; double sigmadp = sigmadeltaP_; int indextrj = (indPoint_-2); out<<setprecision(0); out<<tab<<setw(7)<<"charge="<<setw(3)<<charge; out<<setprecision(3); out<<setiosflags(ios::right); out<<setiosflags(ios::fixed); out<<", DeltaP= "<< dp; out<<", SigmaDeltaP= " << sigmadp; out<<", Traj Point= " << indextrj; out<<resetiosflags(ios::right|ios::fixed); } }
void HistoData::dump | ( | ) | [inline] |
int HistoData::getBin | ( | void | ) | const [inline] |
float HistoData::getChi2Score | ( | ) | const [inline] |
bool HistoData::getDoAllow1DRebinning | ( | ) | const [inline] |
Definition at line 29 of file HistoData.h.
References doAllow1DRebinning.
{ return doAllow1DRebinning; }
bool HistoData::getDoAllow2DRebinningX | ( | ) | const [inline] |
Definition at line 30 of file HistoData.h.
References doAllow2DRebinningX.
{ return doAllow2DRebinningX; }
bool HistoData::getDoAllow2DRebinningY | ( | ) | const [inline] |
Definition at line 31 of file HistoData.h.
References doAllow2DRebinningY.
{ return doAllow2DRebinningY; }
bool HistoData::getDoDrawErrorBars | ( | ) | const [inline] |
bool HistoData::getDoProjectionsX | ( | ) | const [inline] |
bool HistoData::getDoProjectionsY | ( | ) | const [inline] |
float HistoData::getHighScore | ( | ) | const [inline] |
bool HistoData::getIsEmpty | ( | ) | const [inline] |
float HistoData::getKSScore | ( | ) | const [inline] |
bool HistoData::getLineUseFillColor | ( | ) | const [inline] |
Definition at line 47 of file HistoData.h.
References lineUseFillColor.
{ return lineUseFillColor; }
float HistoData::getLowScore | ( | ) | const [inline] |
int HistoData::getMaxProjectionsX | ( | ) | const [inline] |
int HistoData::getMaxProjectionsY | ( | ) | const [inline] |
std::string HistoData::GetName | ( | ) | [inline] |
std::string HistoData::getName | ( | void | ) | const [inline] |
TH1* HistoData::getNewHisto | ( | ) | const [inline] |
int HistoData::GetNumber | ( | ) | [inline] |
TH1* HistoData::getRefHisto | ( | ) | const [inline] |
bool HistoData::getResult | ( | ) | const [inline] |
std::string HistoData::getResultImage | ( | ) | const [inline] |
std::string HistoData::getResultTarget | ( | ) | const [inline] |
int HistoData::getShadedFillColor | ( | ) | const [inline] |
int HistoData::getShadedFillStyle | ( | ) | const [inline] |
int HistoData::getShadedLineColor | ( | ) | const [inline] |
Definition at line 51 of file HistoData.h.
References lineUseFillColor, shadedFillColor, and shadedLineColor.
{ return lineUseFillColor ? shadedFillColor : shadedLineColor; }
int HistoData::getSolidFillColor | ( | ) | const [inline] |
int HistoData::getSolidFillStyle | ( | ) | const [inline] |
int HistoData::getSolidLineColor | ( | ) | const [inline] |
Definition at line 48 of file HistoData.h.
References lineUseFillColor, solidFillColor, and solidLineColor.
{ return lineUseFillColor ? solidFillColor : solidLineColor; }
int HistoData::getType | ( | void | ) | const [inline] |
unsigned short HistoData::GetType | ( | ) | [inline] |
std::string HistoData::GetValueX | ( | ) | [inline] |
void HistoData::initialize | ( | ) | [private] |
void HistoData::setBin | ( | int | Bin | ) | [inline] |
void HistoData::setChi2Score | ( | float | Score | ) | [inline] |
void HistoData::setDoAllow1DRebinning | ( | bool | Toggle | ) | [inline] |
Definition at line 65 of file HistoData.h.
References doAllow1DRebinning.
{ doAllow1DRebinning = Toggle; }
void HistoData::setDoAllow2DRebinningX | ( | bool | Toggle | ) | [inline] |
Definition at line 66 of file HistoData.h.
References doAllow2DRebinningX.
{ doAllow2DRebinningX = Toggle; }
void HistoData::setDoAllow2DRebinningY | ( | bool | Toggle | ) | [inline] |
Definition at line 67 of file HistoData.h.
References doAllow2DRebinningY.
{ doAllow2DRebinningY = Toggle; }
void HistoData::setDoDrawErrorBars | ( | bool | Toggle | ) | [inline] |
Definition at line 64 of file HistoData.h.
References doDrawErrorBars.
{ doDrawErrorBars = Toggle; }
void HistoData::setDoProjectionsX | ( | bool | Toggle | ) | [inline] |
void HistoData::setDoProjectionsY | ( | bool | Toggle | ) | [inline] |
void HistoData::setHighScore | ( | float | Score | ) | [inline] |
void HistoData::setIsEmpty | ( | bool | Toggle | ) | [inline] |
void HistoData::setKSScore | ( | float | Score | ) | [inline] |
void HistoData::setLineUseFillColor | ( | bool | Toggle | ) | [inline] |
Definition at line 83 of file HistoData.h.
References lineUseFillColor.
{ lineUseFillColor = Toggle; }
void HistoData::setLowScore | ( | float | Score | ) | [inline] |
void HistoData::setMaxProjections | ( | int | Num | ) | [inline] |
Definition at line 70 of file HistoData.h.
References maxProjectionsX, and maxProjectionsY.
{ maxProjectionsX = Num; maxProjectionsY = Num; }
void HistoData::setMaxProjectionsX | ( | bool | Num | ) | [inline] |
void HistoData::setMaxProjectionsY | ( | bool | Num | ) | [inline] |
void HistoData::setName | ( | std::string | Name | ) | [inline] |
Definition at line 56 of file HistoData.h.
References name, and ExpressReco_HICollisions_FallBack::Name.
void HistoData::setResult | ( | bool | Result | ) |
void HistoData::setResultImage | ( | std::string | Image | ) | [inline] |
void HistoData::setResultTarget | ( | std::string | Target | ) | [inline] |
Definition at line 61 of file HistoData.h.
References resultTarget, and Target.
{ resultTarget = Target; }
void HistoData::setShadedFillColor | ( | int | Color | ) | [inline] |
void HistoData::setShadedFillStyle | ( | int | Style | ) | [inline] |
void HistoData::setShadedLineColor | ( | int | Color | ) | [inline] |
void HistoData::setSolidFillColor | ( | int | Color | ) | [inline] |
void HistoData::setSolidFillStyle | ( | int | Style | ) | [inline] |
void HistoData::setSolidLineColor | ( | int | Color | ) | [inline] |
void HistoData::setType | ( | int | PlotType | ) | [inline] |
Definition at line 58 of file HistoData.h.
void HistoData::SetType | ( | unsigned short | Type | ) | [inline] |
Definition at line 25 of file HistoData.h.
void HistoData::SetValueX | ( | std::string | Value | ) | [inline] |
void HistoData::SetValueY | ( | std::string | Value | ) | [inline] |
int HistoData::bin [private] |
Definition at line 102 of file HistoData.h.
float HistoData::chi2Score [private] |
Definition at line 120 of file HistoData.h.
Referenced by getChi2Score(), and setChi2Score().
bool HistoData::doAllow1DRebinning [private] |
Definition at line 107 of file HistoData.h.
Referenced by getDoAllow1DRebinning(), and setDoAllow1DRebinning().
bool HistoData::doAllow2DRebinningX [private] |
Definition at line 111 of file HistoData.h.
Referenced by getDoAllow2DRebinningX(), and setDoAllow2DRebinningX().
bool HistoData::doAllow2DRebinningY [private] |
Definition at line 112 of file HistoData.h.
Referenced by getDoAllow2DRebinningY(), and setDoAllow2DRebinningY().
bool HistoData::doDrawErrorBars [private] |
Definition at line 108 of file HistoData.h.
Referenced by getDoDrawErrorBars(), and setDoDrawErrorBars().
bool HistoData::doProjectionsX [private] |
Definition at line 115 of file HistoData.h.
Referenced by getDoProjectionsX(), and setDoProjectionsX().
bool HistoData::doProjectionsY [private] |
Definition at line 116 of file HistoData.h.
Referenced by getDoProjectionsY(), and setDoProjectionsY().
int HistoData::errorColor [private] |
Definition at line 127 of file HistoData.h.
int HistoData::failColor [private] |
Definition at line 127 of file HistoData.h.
float HistoData::highScore [private] |
Definition at line 122 of file HistoData.h.
Referenced by getHighScore(), and setHighScore().
bool HistoData::isEmpty [private] |
Definition at line 124 of file HistoData.h.
Referenced by comparisonSuccess(), getIsEmpty(), and setIsEmpty().
float HistoData::ksScore [private] |
Definition at line 119 of file HistoData.h.
Referenced by getKSScore(), and setKSScore().
bool HistoData::lineUseFillColor [private] |
Definition at line 130 of file HistoData.h.
Referenced by getLineUseFillColor(), getShadedLineColor(), getSolidLineColor(), and setLineUseFillColor().
float HistoData::lowScore [private] |
Definition at line 121 of file HistoData.h.
Referenced by comparisonSuccess(), getLowScore(), and setLowScore().
int HistoData::maxProjectionsX [private] |
Definition at line 113 of file HistoData.h.
Referenced by getMaxProjectionsX(), setMaxProjections(), and setMaxProjectionsX().
int HistoData::maxProjectionsY [private] |
Definition at line 114 of file HistoData.h.
Referenced by getMaxProjectionsY(), setMaxProjections(), and setMaxProjectionsY().
std::string HistoData::name [private] |
Definition at line 37 of file HistoData.h.
TH1* HistoData::newHisto [private] |
Definition at line 103 of file HistoData.h.
Referenced by getNewHisto().
int HistoData::number [private] |
Definition at line 39 of file HistoData.h.
Referenced by GetNumber().
int HistoData::passColor [private] |
Definition at line 127 of file HistoData.h.
TH1* HistoData::refHisto [private] |
Definition at line 104 of file HistoData.h.
Referenced by getRefHisto().
bool HistoData::result [private] |
Definition at line 123 of file HistoData.h.
Referenced by getResult().
std::string HistoData::resultImage [private] |
Definition at line 105 of file HistoData.h.
Referenced by getResultImage(), and setResultImage().
std::string HistoData::resultTarget [private] |
Definition at line 106 of file HistoData.h.
Referenced by getResultTarget(), and setResultTarget().
int HistoData::shadedFillColor [private] |
Definition at line 129 of file HistoData.h.
Referenced by getShadedFillColor(), getShadedLineColor(), and setShadedFillColor().
int HistoData::shadedFillStyle [private] |
Definition at line 129 of file HistoData.h.
Referenced by getShadedFillStyle(), and setShadedFillStyle().
int HistoData::shadedLineColor [private] |
Definition at line 129 of file HistoData.h.
Referenced by getShadedLineColor(), and setShadedLineColor().
int HistoData::solidFillColor [private] |
Definition at line 128 of file HistoData.h.
Referenced by getSolidFillColor(), getSolidLineColor(), and setSolidFillColor().
int HistoData::solidFillStyle [private] |
Definition at line 128 of file HistoData.h.
Referenced by getSolidFillStyle(), and setSolidFillStyle().
int HistoData::solidLineColor [private] |
Definition at line 128 of file HistoData.h.
Referenced by getSolidLineColor(), and setSolidLineColor().
int HistoData::type [private] |
Definition at line 101 of file HistoData.h.
unsigned short HistoData::type [private] |
Definition at line 40 of file HistoData.h.
std::string HistoData::x_value [private] |
Definition at line 38 of file HistoData.h.
Referenced by GetValueX(), and SetValueX().
std::string HistoData::y_value [private] |
Definition at line 38 of file HistoData.h.
Referenced by SetValueY().