GammaCombo  Rev:Unversioneddirectory
Public Member Functions | Private Attributes | List of all members
PValueCorrection Class Reference

#include <PValueCorrection.h>

Public Member Functions

void checkParams ()
 
void checkValid ()
 
void fitHist (TH1 *h)
 
void printCoverage (float, float, float, float, TString name="")
 
 PValueCorrection (TString _transFunc="none", bool _verbose=false)
 
 PValueCorrection (int id, bool _verbose=false)
 
void readFiles (TString name, int id=0, bool isPlugin=false)
 
void setFitParam (int i, double val)
 
void setFitParams (std::vector< double > fP)
 
void setTransFunc (TString tf)
 
double transform (double x)
 
void write (TString fname)
 
void write (TFile *f)
 
 ~PValueCorrection ()
 

Private Attributes

std::vector< TString > allowedFuncs
 
TF1 fitFunc
 
std::vector< double > fitParams
 
TString fitString
 
TH1F * h_pvalue_after
 
TH1F * h_pvalue_before
 
TString transFunc
 
bool verbose
 

Detailed Description

Definition at line 18 of file PValueCorrection.h.

Constructor & Destructor Documentation

§ PValueCorrection() [1/2]

PValueCorrection::PValueCorrection ( TString  _transFunc = "none",
bool  _verbose = false 
)

Definition at line 8 of file PValueCorrection.cpp.

§ PValueCorrection() [2/2]

PValueCorrection::PValueCorrection ( int  id,
bool  _verbose = false 
)

Definition at line 19 of file PValueCorrection.cpp.

§ ~PValueCorrection()

PValueCorrection::~PValueCorrection ( )

Definition at line 38 of file PValueCorrection.cpp.

Member Function Documentation

§ checkParams()

void PValueCorrection::checkParams ( )

Definition at line 60 of file PValueCorrection.cpp.

§ checkValid()

void PValueCorrection::checkValid ( )

Definition at line 52 of file PValueCorrection.cpp.

§ fitHist()

void PValueCorrection::fitHist ( TH1 *  h)

Definition at line 68 of file PValueCorrection.cpp.

§ printCoverage()

void PValueCorrection::printCoverage ( float  n68,
float  n95,
float  n99,
float  n,
TString  name = "" 
)

Definition at line 118 of file PValueCorrection.cpp.

§ readFiles()

void PValueCorrection::readFiles ( TString  name,
int  id = 0,
bool  isPlugin = false 
)

< exclude some pathological jobs from when tSol wasn't set yet

< exclude some pathological jobs from when tSol wasn't set yet

Definition at line 145 of file PValueCorrection.cpp.

§ setFitParam()

void PValueCorrection::setFitParam ( int  i,
double  val 
)

Definition at line 44 of file PValueCorrection.cpp.

§ setFitParams()

void PValueCorrection::setFitParams ( std::vector< double >  fP)
inline

Definition at line 27 of file PValueCorrection.h.

§ setTransFunc()

void PValueCorrection::setTransFunc ( TString  tf)
inline

Definition at line 26 of file PValueCorrection.h.

§ transform()

double PValueCorrection::transform ( double  x)

Definition at line 88 of file PValueCorrection.cpp.

§ write() [1/2]

void PValueCorrection::write ( TString  fname)

Definition at line 128 of file PValueCorrection.cpp.

§ write() [2/2]

void PValueCorrection::write ( TFile *  f)

Definition at line 136 of file PValueCorrection.cpp.

Member Data Documentation

§ allowedFuncs

std::vector<TString> PValueCorrection::allowedFuncs
private

Definition at line 46 of file PValueCorrection.h.

§ fitFunc

TF1 PValueCorrection::fitFunc
private

Definition at line 44 of file PValueCorrection.h.

§ fitParams

std::vector<double> PValueCorrection::fitParams
private

Definition at line 45 of file PValueCorrection.h.

§ fitString

TString PValueCorrection::fitString
private

Definition at line 43 of file PValueCorrection.h.

§ h_pvalue_after

TH1F* PValueCorrection::h_pvalue_after
private

Definition at line 48 of file PValueCorrection.h.

§ h_pvalue_before

TH1F* PValueCorrection::h_pvalue_before
private

Definition at line 47 of file PValueCorrection.h.

§ transFunc

TString PValueCorrection::transFunc
private

Definition at line 41 of file PValueCorrection.h.

§ verbose

bool PValueCorrection::verbose
private

Definition at line 42 of file PValueCorrection.h.


The documentation for this class was generated from the following files: