UtilHist Namespace Reference

Functions

TH1F * TH1FLogX (const char *Name, const char *Title, int NBinsX, double XLow, double XHigh)
TH1D * TH1DLogX (const char *Name, const char *Title, int NBinsX, double XLow, double XHigh)
TProfile * TProfileLogX (const char *Name, const char *Title, int NBinsX, double XLow, double XHigh)
TH2F * TH2FLogXLogY (const char *Name, const char *Title, int NBinsX, double XLow, double XHigh, int NBinsY, double YLow, double YHigh)
TH2F * TH2FLogXLinY (const char *Name, const char *Title, int NBinsX, double XLow, double XHigh, int NBinsY, double YLow, double YHigh)
TH2F * TH2FLinXLogY (const char *Name, const char *Title, int NBinsX, double XLow, double XHigh, int NBinsY, double YLow, double YHigh)
TH2D * TH2DLogXLogY (const char *Name, const char *Title, int NBinsX, double XLow, double XHigh, int NBinsY, double YLow, double YHigh)
TH2D * TH2DLogXLinY (const char *Name, const char *Title, int NBinsX, double XLow, double XHigh, int NBinsY, double YLow, double YHigh)
TH2D * TH2DLinXLogY (const char *Name, const char *Title, int NBinsX, double XLow, double XHigh, int NBinsY, double YLow, double YHigh)
TH1 * FOMCutLow (const TH1 *hSig, const TH1 *hBG, const int iter)
TH1 * FOMCutHigh (const TH1 *hSig, const TH1 *hBG, const int iter)
TH2 * FOMCut2DHighXandHighY (const TH2 *hSig, const TH2 *hBG, const int iter)
TH2 * FOMCut2DHighXorHighY (const TH2 *hSig, const TH2 *hBG, const int iter)
TH2 * FOMCut2DLowXandHighY (const TH2 *hSig, const TH2 *hBG, const int iter)
TH2 * FOMCut2DLowXorHighY (const TH2 *hSig, const TH2 *hBG, const int iter)
TH2 * FOMCut2DHighXandLowY (const TH2 *hSig, const TH2 *hBG, const int iter)
TH2 * FOMCut2DHighXorLowY (const TH2 *hSig, const TH2 *hBG, const int iter)
TH2 * FOMCut2DLowXandLowY (const TH2 *hSig, const TH2 *hBG, const int iter)
TH2 * FOMCut2DLowXorLowY (const TH2 *hSig, const TH2 *hBG, const int iter)
int HistMatch (const TH3 *H1, const TH3 *H2)
int HistMatch (const TH2 *H1, const TH2 *H2)
int HistMatch (const TH1 *H1, const TH1 *H2)
double HMin (const TH1 *hist, double min, bool IncErr)
double HMax (const TH1 *hist, double max, bool IncErr)
double HMin (const std::vector< TH1 * > &hists, double min, bool IncErr)
double HMax (const std::vector< TH1 * > &hists, double max, bool IncErr)
double FullIntegral (const TH3 *hist, double *IntErrSq)
double FullIntegral (const TH3 *hist, int ibinx1, int ibinx2, int ibiny1, int ibiny2, int ibinz1, int ibinz2, double *IntErrSq)
double FullIntegral (const TH2 *hist, double *IntErrSq)
double FullIntegral (const TH2 *hist, int ibinx1, int ibinx2, int ibiny1, int ibiny2, double *IntErrSq)
double FullIntegral (const TH1 *hist, double *IntErrSq)
double FullIntegral (const TH1 *hist, int ibinx1, int ibinx2, double *IntErrSq)
void FullAdd (TH1 *h1, TH1 *h2, double SF, double ErrSqSF)
void FullScale (TH1 *h1, double SF, double ErrSqSF)
int SumEff (double Eff1, double SigmaEff1, double Eff2, double SigmaEff2, double &EffC, double &SigmaEffC)
double Round (double value, unsigned int digit)
TH1 * HistAdd (TH1 *h1, TH1 *h2, const char *hname, bool BinErrors)
TH1 * HistAdd (vector< TH1 * > hvec, const char *hname, bool BinErrors)
double HMin (const vector< TH1 * > &hists, double min=-DBL_MAX, bool IncErr=true)
double HMax (const vector< TH1 * > &hists, double max=DBL_MAX, bool IncErr=true)

Function Documentation

TH2 * UtilHist::FOMCut2DHighXandHighY ( const TH2 *  hSig,
const TH2 *  hBG,
const int  iter 
)
TH2 * UtilHist::FOMCut2DHighXandLowY ( const TH2 *  hSig,
const TH2 *  hBG,
const int  iter 
)
TH2 * UtilHist::FOMCut2DHighXorHighY ( const TH2 *  hSig,
const TH2 *  hBG,
const int  iter 
)
TH2 * UtilHist::FOMCut2DHighXorLowY ( const TH2 *  hSig,
const TH2 *  hBG,
const int  iter 
)
TH2 * UtilHist::FOMCut2DLowXandHighY ( const TH2 *  hSig,
const TH2 *  hBG,
const int  iter 
)
TH2 * UtilHist::FOMCut2DLowXandLowY ( const TH2 *  hSig,
const TH2 *  hBG,
const int  iter 
)
TH2 * UtilHist::FOMCut2DLowXorHighY ( const TH2 *  hSig,
const TH2 *  hBG,
const int  iter 
)
TH2 * UtilHist::FOMCut2DLowXorLowY ( const TH2 *  hSig,
const TH2 *  hBG,
const int  iter 
)
TH1 * UtilHist::FOMCutHigh ( const TH1 *  hSig,
const TH1 *  hBG,
const int  iter 
)
TH1 * UtilHist::FOMCutLow ( const TH1 *  hSig,
const TH1 *  hBG,
const int  iter 
)
void UtilHist::FullAdd ( TH1 *  h1,
TH1 *  h2,
double  SF,
double  ErrSqSF 
)
double UtilHist::FullIntegral ( const TH1 *  hist,
int  ibinx1,
int  ibinx2,
double *  IntErrSq 
)
double UtilHist::FullIntegral ( const TH1 *  hist,
double *  IntErrSq 
)
double UtilHist::FullIntegral ( const TH2 *  hist,
int  ibinx1,
int  ibinx2,
int  ibiny1,
int  ibiny2,
double *  IntErrSq 
)
double UtilHist::FullIntegral ( const TH2 *  hist,
double *  IntErrSq 
)
double UtilHist::FullIntegral ( const TH3 *  hist,
int  ibinx1,
int  ibinx2,
int  ibiny1,
int  ibiny2,
int  ibinz1,
int  ibinz2,
double *  IntErrSq 
)
double UtilHist::FullIntegral ( const TH3 *  hist,
double *  IntErrSq 
)
void UtilHist::FullScale ( TH1 *  h1,
double  SF,
double  ErrSqSF 
)
TH1 * UtilHist::HistAdd ( vector< TH1 * >  hvec,
const char *  hname,
bool  BinErrors 
)
TH1 * UtilHist::HistAdd ( TH1 *  h1,
TH1 *  h2,
const char *  hname,
bool  BinErrors 
)
int UtilHist::HistMatch ( const TH1 *  H1,
const TH1 *  H2 
)
int UtilHist::HistMatch ( const TH2 *  H1,
const TH2 *  H2 
)
int UtilHist::HistMatch ( const TH3 *  H1,
const TH3 *  H2 
)
double UtilHist::HMax ( const vector< TH1 * > &  hists,
double  max = DBL_MAX,
bool  IncErr = true 
)
double UtilHist::HMax ( const std::vector< TH1 * > &  hists,
double  max,
bool  IncErr 
)

Definition at line 679 of file UtilHist.cxx.

References HMax().

00680   {
00681     if(hists.size() == 0) return(max);
00682     double lmax = -DBL_MAX;
00683     for (unsigned int i=0; i<hists.size(); i++) {
00684       double llmax = HMax(hists[i], max, IncErr);
00685       if(llmax > lmax) lmax = llmax;
00686     }
00687     return lmax;
00688   }

double UtilHist::HMax ( const TH1 *  hist,
double  max,
bool  IncErr 
)

Referenced by UtilCanvas::FixPad(), and HMax().

double UtilHist::HMin ( const vector< TH1 * > &  hists,
double  min = -DBL_MAX,
bool  IncErr = true 
)
double UtilHist::HMin ( const std::vector< TH1 * > &  hists,
double  min,
bool  IncErr 
)

Definition at line 668 of file UtilHist.cxx.

References HMin().

00669   {
00670     if(hists.size() == 0) return(min);
00671     double lmin = DBL_MAX;
00672     for (unsigned int i=0; i<hists.size(); i++) {
00673       double llmin = HMin(hists[i], min, IncErr);
00674       if(llmin < lmin) lmin = llmin;
00675     }
00676     return lmin;
00677   }

double UtilHist::HMin ( const TH1 *  hist,
double  min,
bool  IncErr 
)

Referenced by UtilCanvas::FixPad(), and HMin().

double UtilHist::Round ( double  value,
unsigned int  digit 
)
int UtilHist::SumEff ( double  Eff1,
double  SigmaEff1,
double  Eff2,
double  SigmaEff2,
double &  EffC,
double &  SigmaEffC 
)
TH1D * UtilHist::TH1DLogX ( const char *  Name,
const char *  Title,
int  NBinsX,
double  XLow,
double  XHigh 
)
TH1F * UtilHist::TH1FLogX ( const char *  Name,
const char *  Title,
int  NBinsX,
double  XLow,
double  XHigh 
)
TH2D * UtilHist::TH2DLinXLogY ( const char *  Name,
const char *  Title,
int  NBinsX,
double  XLow,
double  XHigh,
int  NBinsY,
double  YLow,
double  YHigh 
)
TH2D * UtilHist::TH2DLogXLinY ( const char *  Name,
const char *  Title,
int  NBinsX,
double  XLow,
double  XHigh,
int  NBinsY,
double  YLow,
double  YHigh 
)
TH2D * UtilHist::TH2DLogXLogY ( const char *  Name,
const char *  Title,
int  NBinsX,
double  XLow,
double  XHigh,
int  NBinsY,
double  YLow,
double  YHigh 
)
TH2F * UtilHist::TH2FLinXLogY ( const char *  Name,
const char *  Title,
int  NBinsX,
double  XLow,
double  XHigh,
int  NBinsY,
double  YLow,
double  YHigh 
)
TH2F * UtilHist::TH2FLogXLinY ( const char *  Name,
const char *  Title,
int  NBinsX,
double  XLow,
double  XHigh,
int  NBinsY,
double  YLow,
double  YHigh 
)
TH2F * UtilHist::TH2FLogXLogY ( const char *  Name,
const char *  Title,
int  NBinsX,
double  XLow,
double  XHigh,
int  NBinsY,
double  YLow,
double  YHigh 
)
TProfile * UtilHist::TProfileLogX ( const char *  Name,
const char *  Title,
int  NBinsX,
double  XLow,
double  XHigh 
)

Generated on 3 Dec 2018 for loon by  doxygen 1.6.1