ra4_macros  bede988c286599a3a84b77a4d788ac0a971e89f9
Public Member Functions | Public Attributes | List of all members
hfeats Class Reference

#include <utilities_macros.hpp>

Public Member Functions

 hfeats (TString ivarname, int inbins, float iminx, float imaxx, std::vector< int > isamples, TString ititle="", TString icuts="1", float icut=-1, TString itagname="", bool iskiplog=false, std::vector< double > inevents=std::vector< double >(1,-1.))
 
 hfeats (TString ivarname, int inbins, float *ibinning, std::vector< int > isamples, TString ititle="", TString icuts="1", float icut=-1, TString itagname="", bool iskiplog=false, std::vector< double > inevents=std::vector< double >(1,-1.))
 
 hfeats (TString ivarnamex, TString ivarnamey, int inbinsx, float iminx, float imaxx, int inbinsy, float iminy, float imaxy, std::vector< int > isamples, TString ititlex, TString ititley, TString icuts, float icutx, float icuty, TString itagname)
 
void format_tag ()
 
 hfeats (TString ivarname, int inbins, float iminx, float imaxx, std::vector< int > isamples, TString ititle="", TString icuts="1", float icut=-1, TString itagname="", bool iskiplog=false, std::vector< double > inevents=std::vector< double >(1,-1.))
 
 hfeats (TString ivarname, int inbins, float *ibinning, std::vector< int > isamples, TString ititle="", TString icuts="1", float icut=-1, TString itagname="", bool iskiplog=false, std::vector< double > inevents=std::vector< double >(1,-1.))
 
 hfeats (TString ivarnamex, TString ivarnamey, int inbinsx, float iminx, float imaxx, int inbinsy, float iminy, float imaxy, std::vector< int > isamples, TString ititlex, TString ititley, TString icuts, float icutx, float icuty, TString itagname)
 
void format_tag ()
 

Public Attributes

TString title
 
TString titlex
 
TString titley
 
TString varname
 
TString varnamex
 
TString varnamey
 
TString tag
 
TString cuts
 
TString unit
 
int nbins
 
int nbinsx
 
int nbinsy
 
float * binning
 
float minx
 
float maxx
 
float miny
 
float maxy
 
float cut
 
float cutx
 
float cuty
 
float maxYaxis
 
float maxRatio
 
std::vector< int > samples
 
TString tagname
 
std::vector< double > nevents
 
bool skiplog
 
TString whichPlots
 
bool normalize
 
bool PU_reweight
 
float moveRLegend
 
bool addOverflow
 
float hline
 

Detailed Description

Definition at line 50 of file utilities_macros.hpp.

Constructor & Destructor Documentation

hfeats::hfeats ( TString  ivarname,
int  inbins,
float  iminx,
float  imaxx,
std::vector< int >  isamples,
TString  ititle = "",
TString  icuts = "1",
float  icut = -1,
TString  itagname = "",
bool  iskiplog = false,
std::vector< double >  inevents = std::vector<double>(1,-1.) 
)
hfeats::hfeats ( TString  ivarname,
int  inbins,
float *  ibinning,
std::vector< int >  isamples,
TString  ititle = "",
TString  icuts = "1",
float  icut = -1,
TString  itagname = "",
bool  iskiplog = false,
std::vector< double >  inevents = std::vector<double>(1,-1.) 
)
hfeats::hfeats ( TString  ivarnamex,
TString  ivarnamey,
int  inbinsx,
float  iminx,
float  imaxx,
int  inbinsy,
float  iminy,
float  imaxy,
std::vector< int >  isamples,
TString  ititlex,
TString  ititley,
TString  icuts,
float  icutx,
float  icuty,
TString  itagname 
)

Definition at line 761 of file utilities_macros.cpp.

References addOverflow, format_tag(), maxRatio, maxYaxis, PU_reweight, title, and unit.

hfeats::hfeats ( TString  ivarname,
int  inbins,
float  iminx,
float  imaxx,
std::vector< int >  isamples,
TString  ititle = "",
TString  icuts = "1",
float  icut = -1,
TString  itagname = "",
bool  iskiplog = false,
std::vector< double >  inevents = std::vector< double >(1,-1.) 
)
hfeats::hfeats ( TString  ivarname,
int  inbins,
float *  ibinning,
std::vector< int >  isamples,
TString  ititle = "",
TString  icuts = "1",
float  icut = -1,
TString  itagname = "",
bool  iskiplog = false,
std::vector< double >  inevents = std::vector< double >(1,-1.) 
)
hfeats::hfeats ( TString  ivarnamex,
TString  ivarnamey,
int  inbinsx,
float  iminx,
float  imaxx,
int  inbinsy,
float  iminy,
float  imaxy,
std::vector< int >  isamples,
TString  ititlex,
TString  ititley,
TString  icuts,
float  icutx,
float  icuty,
TString  itagname 
)

Member Function Documentation

void hfeats::format_tag ( )

Definition at line 819 of file utilities_macros.cpp.

References cuts, tag, tagname, varname, varnamex, and varnamey.

Referenced by hfeats(), and invertcut().

void hfeats::format_tag ( )

Member Data Documentation

bool hfeats::addOverflow

Definition at line 73 of file utilities_macros.hpp.

Referenced by hfeats().

float * hfeats::binning

Definition at line 62 of file utilities_macros.hpp.

Referenced by hfeats().

float hfeats::cut

Definition at line 63 of file utilities_macros.hpp.

Referenced by sfeats::sfeats().

TString hfeats::cuts

Definition at line 60 of file utilities_macros.hpp.

Referenced by format_tag(), OverlayHists(), and OverlayHistsmT().

float hfeats::cutx

Definition at line 63 of file utilities_macros.hpp.

float hfeats::cuty

Definition at line 63 of file utilities_macros.hpp.

float hfeats::hline

Definition at line 64 of file utilities_macros_rohan.hpp.

float hfeats::maxRatio

Definition at line 63 of file utilities_macros.hpp.

Referenced by hfeats().

float hfeats::maxx

Definition at line 63 of file utilities_macros.hpp.

Referenced by hfeats().

float hfeats::maxy

Definition at line 63 of file utilities_macros.hpp.

float hfeats::maxYaxis

Definition at line 63 of file utilities_macros.hpp.

Referenced by hfeats().

float hfeats::minx

Definition at line 63 of file utilities_macros.hpp.

Referenced by hfeats().

float hfeats::miny

Definition at line 63 of file utilities_macros.hpp.

float hfeats::moveRLegend

Definition at line 72 of file utilities_macros.hpp.

Referenced by hfeats().

int hfeats::nbins

Definition at line 61 of file utilities_macros.hpp.

Referenced by hfeats().

int hfeats::nbinsx

Definition at line 61 of file utilities_macros.hpp.

int hfeats::nbinsy

Definition at line 61 of file utilities_macros.hpp.

std::vector< double > hfeats::nevents

Definition at line 67 of file utilities_macros.hpp.

Referenced by hfeats().

bool hfeats::normalize

Definition at line 70 of file utilities_macros.hpp.

Referenced by hfeats().

bool hfeats::PU_reweight

Definition at line 71 of file utilities_macros.hpp.

Referenced by hfeats().

std::vector< int > hfeats::samples

Definition at line 64 of file utilities_macros.hpp.

Referenced by hfeats().

bool hfeats::skiplog

Definition at line 68 of file utilities_macros.hpp.

Referenced by hfeats().

TString hfeats::tag

Definition at line 60 of file utilities_macros.hpp.

Referenced by format_tag(), format_tag(), and sfeats::sfeats().

TString hfeats::tagname

Definition at line 65 of file utilities_macros.hpp.

Referenced by format_tag().

TString hfeats::title

Definition at line 60 of file utilities_macros.hpp.

Referenced by hfeats(), OverlayHists(), and OverlayHistsmT().

TString hfeats::titlex

Definition at line 60 of file utilities_macros.hpp.

TString hfeats::titley

Definition at line 60 of file utilities_macros.hpp.

TString hfeats::unit

Definition at line 60 of file utilities_macros.hpp.

Referenced by hfeats().

TString hfeats::varname

Definition at line 60 of file utilities_macros.hpp.

Referenced by format_tag(), OverlayHists(), and OverlayHistsmT().

TString hfeats::varnamex

Definition at line 60 of file utilities_macros.hpp.

Referenced by format_tag().

TString hfeats::varnamey

Definition at line 60 of file utilities_macros.hpp.

Referenced by format_tag().

TString hfeats::whichPlots

Definition at line 69 of file utilities_macros.hpp.

Referenced by hfeats().


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