#include <FlavourHistorgrams2D.h>
Public Member Functions | |
std::string | baseNameDescription () const |
std::string | baseNameTitle () const |
void | divide (const FlavourHistograms2D< T, G > &bHD) const |
void | fill (const int &flavour, const T *variableX, const G *variableY) const |
void | fill (const int &flavour, const T &variableX, const G &variableY) const |
FlavourHistograms2D (TString baseNameTitle_, TString baseNameDescription_, int nBinsX_, double lowerBoundX_, double upperBoundX_, int nBinsY_, double lowerBoundY_, double upperBoundY_, bool statistics_, bool update, std::string folder, bool mc, bool createProfile) | |
std::vector< TH2F * > | getHistoVector () const |
std::vector< TProfile * > | getProfileVector () const |
TH2F * | histo_all () const |
TH2F * | histo_b () const |
TH2F * | histo_c () const |
TH2F * | histo_d () const |
TH2F * | histo_dus () const |
TH2F * | histo_dusg () const |
TH2F * | histo_g () const |
TH2F * | histo_ni () const |
TH2F * | histo_s () const |
TH2F * | histo_u () const |
double | lowerBoundX () const |
double | lowerBoundY () const |
int | nBinsX () const |
int | nBinsY () const |
TProfile * | profile_all () const |
TProfile * | profile_b () const |
TProfile * | profile_c () const |
TProfile * | profile_d () const |
TProfile * | profile_dus () const |
TProfile * | profile_dusg () const |
TProfile * | profile_g () const |
TProfile * | profile_ni () const |
TProfile * | profile_s () const |
TProfile * | profile_u () const |
void | SetMaximum (const double &max) |
void | SetMinimum (const double &min) |
void | settitle (const char *titleX, const char *titleY) |
bool | statistics () const |
double | upperBoundX () const |
double | upperBoundY () const |
virtual | ~FlavourHistograms2D () |
Protected Member Functions | |
void | fillVariable (const int &flavour, const T &varX, const G &varY) const |
Protected Attributes | |
int * | theArrayDimension |
std::string | theBaseNameDescription |
std::string | theBaseNameTitle |
MonitorElement * | theHisto_all |
MonitorElement * | theHisto_b |
MonitorElement * | theHisto_c |
MonitorElement * | theHisto_d |
MonitorElement * | theHisto_dus |
MonitorElement * | theHisto_dusg |
MonitorElement * | theHisto_g |
MonitorElement * | theHisto_ni |
MonitorElement * | theHisto_s |
MonitorElement * | theHisto_u |
int | theIndexToPlot |
double | theLowerBoundX |
double | theLowerBoundY |
double | theMax |
int | theMaxDimension |
double | theMin |
int | theNBinsX |
int | theNBinsY |
MonitorElement * | theProfile_all |
MonitorElement * | theProfile_b |
MonitorElement * | theProfile_c |
MonitorElement * | theProfile_d |
MonitorElement * | theProfile_dus |
MonitorElement * | theProfile_dusg |
MonitorElement * | theProfile_g |
MonitorElement * | theProfile_ni |
MonitorElement * | theProfile_s |
MonitorElement * | theProfile_u |
bool | theStatistics |
double | theUpperBoundX |
double | theUpperBoundY |
Private Member Functions | |
FlavourHistograms2D () | |
Private Attributes | |
bool | createProfile_ |
bool | mcPlots_ |
Definition at line 30 of file FlavourHistorgrams2D.h.
FlavourHistograms2D< T, G >::FlavourHistograms2D | ( | TString | baseNameTitle_, |
TString | baseNameDescription_, | ||
int | nBinsX_, | ||
double | lowerBoundX_, | ||
double | upperBoundX_, | ||
int | nBinsY_, | ||
double | lowerBoundY_, | ||
double | upperBoundY_, | ||
bool | statistics_, | ||
bool | update, | ||
std::string | folder, | ||
bool | mc, | ||
bool | createProfile | ||
) |
Definition at line 169 of file FlavourHistorgrams2D.h.
References HistoProviderDQM::access(), HistoProviderDQM::book2D(), HistoProviderDQM::bookProfile(), FlavourHistograms2D< T, G >::createProfile_, MonitorElement::getTH2F(), MonitorElement::getTProfile(), FlavourHistograms2D< T, G >::mcPlots_, FlavourHistograms2D< T, G >::theArrayDimension, FlavourHistograms2D< T, G >::theBaseNameDescription, FlavourHistograms2D< T, G >::theBaseNameTitle, FlavourHistograms2D< T, G >::theHisto_all, FlavourHistograms2D< T, G >::theHisto_b, FlavourHistograms2D< T, G >::theHisto_c, FlavourHistograms2D< T, G >::theHisto_d, FlavourHistograms2D< T, G >::theHisto_dus, FlavourHistograms2D< T, G >::theHisto_dusg, FlavourHistograms2D< T, G >::theHisto_g, FlavourHistograms2D< T, G >::theHisto_ni, FlavourHistograms2D< T, G >::theHisto_s, FlavourHistograms2D< T, G >::theHisto_u, FlavourHistograms2D< T, G >::theLowerBoundX, FlavourHistograms2D< T, G >::theLowerBoundY, FlavourHistograms2D< T, G >::theNBinsX, FlavourHistograms2D< T, G >::theNBinsY, FlavourHistograms2D< T, G >::theProfile_all, FlavourHistograms2D< T, G >::theProfile_b, FlavourHistograms2D< T, G >::theProfile_c, FlavourHistograms2D< T, G >::theProfile_d, FlavourHistograms2D< T, G >::theProfile_dus, FlavourHistograms2D< T, G >::theProfile_dusg, FlavourHistograms2D< T, G >::theProfile_g, FlavourHistograms2D< T, G >::theProfile_ni, FlavourHistograms2D< T, G >::theProfile_s, FlavourHistograms2D< T, G >::theProfile_u, FlavourHistograms2D< T, G >::theStatistics, FlavourHistograms2D< T, G >::theUpperBoundX, and FlavourHistograms2D< T, G >::theUpperBoundY.
: // BaseFlavourHistograms2D () , // theVariable ( variable_ ) , theMaxDimension(-1), theIndexToPlot(-1), theBaseNameTitle ( baseNameTitle_ ) , theBaseNameDescription ( baseNameDescription_ ) , theNBinsX ( nBinsX_ ) , theNBinsY (nBinsY_), theLowerBoundX ( lowerBoundX_ ) , theUpperBoundX ( upperBoundX_ ) , theLowerBoundY ( lowerBoundY_ ) , theUpperBoundY ( upperBoundY_ ) , theStatistics ( statistics_ ) , theMin(-1.), theMax(-1.), mcPlots_(mc), createProfile_(createProfile) { // defaults for array dimensions theArrayDimension = 0 ; if (!update) { // book histos HistoProviderDQM prov("Btag",folder); theHisto_all = (prov.book2D( theBaseNameTitle + "ALL" , theBaseNameDescription + " all jets" , theNBinsX , theLowerBoundX , theUpperBoundX , theNBinsY, theLowerBoundY, theUpperBoundY )) ; if (mcPlots_) { theHisto_d = (prov.book2D ( theBaseNameTitle + "D" , theBaseNameDescription + " d-jets" , theNBinsX , theLowerBoundX , theUpperBoundX , theNBinsY, theLowerBoundY, theUpperBoundY )) ; theHisto_u = (prov.book2D ( theBaseNameTitle + "U" , theBaseNameDescription + " u-jets" , theNBinsX , theLowerBoundX , theUpperBoundX , theNBinsY, theLowerBoundY, theUpperBoundY)) ; theHisto_s = (prov.book2D ( theBaseNameTitle + "S" , theBaseNameDescription + " s-jets" , theNBinsX , theLowerBoundX , theUpperBoundX , theNBinsY, theLowerBoundY, theUpperBoundY)) ; theHisto_c = (prov.book2D ( theBaseNameTitle + "C" , theBaseNameDescription + " c-jets" , theNBinsX , theLowerBoundX , theUpperBoundX , theNBinsY, theLowerBoundY, theUpperBoundY)) ; theHisto_b = (prov.book2D ( theBaseNameTitle + "B" , theBaseNameDescription + " b-jets" , theNBinsX , theLowerBoundX , theUpperBoundX , theNBinsY, theLowerBoundY, theUpperBoundY)) ; theHisto_g = (prov.book2D ( theBaseNameTitle + "G" , theBaseNameDescription + " g-jets" , theNBinsX , theLowerBoundX , theUpperBoundX , theNBinsY, theLowerBoundY, theUpperBoundY)) ; theHisto_ni = (prov.book2D ( theBaseNameTitle + "NI" , theBaseNameDescription + " ni-jets" , theNBinsX , theLowerBoundX , theUpperBoundX , theNBinsY, theLowerBoundY, theUpperBoundY)) ; theHisto_dus = (prov.book2D ( theBaseNameTitle + "DUS" , theBaseNameDescription + " dus-jets" , theNBinsX , theLowerBoundX , theUpperBoundX , theNBinsY, theLowerBoundY, theUpperBoundY)) ; theHisto_dusg = (prov.book2D ( theBaseNameTitle + "DUSG" , theBaseNameDescription + " dusg-jets" , theNBinsX , theLowerBoundX , theUpperBoundX , theNBinsY, theLowerBoundY, theUpperBoundY)) ; }else{ theHisto_d = 0; theHisto_u = 0; theHisto_s = 0; theHisto_c = 0; theHisto_b = 0; theHisto_g = 0; theHisto_ni = 0; theHisto_dus = 0; theHisto_dusg = 0; } if (createProfile_) { theProfile_all = (prov.bookProfile( theBaseNameTitle + "_Profile_ALL" , theBaseNameDescription + " all jets" , theNBinsX, theLowerBoundX, theUpperBoundX, theNBinsY, theLowerBoundY, theUpperBoundY)); if (mcPlots_) { theProfile_d = (prov.bookProfile ( theBaseNameTitle + "_Profile_D" , theBaseNameDescription + " d-jets" , theNBinsX , theLowerBoundX , theUpperBoundX , theNBinsY, theLowerBoundY, theUpperBoundY )) ; theProfile_u = (prov.bookProfile ( theBaseNameTitle + "_Profile_U" , theBaseNameDescription + " u-jets" , theNBinsX , theLowerBoundX , theUpperBoundX , theNBinsY, theLowerBoundY, theUpperBoundY)) ; theProfile_s = (prov.bookProfile ( theBaseNameTitle + "_Profile_S" , theBaseNameDescription + " s-jets" , theNBinsX , theLowerBoundX , theUpperBoundX , theNBinsY, theLowerBoundY, theUpperBoundY)) ; theProfile_c = (prov.bookProfile ( theBaseNameTitle + "_Profile_C" , theBaseNameDescription + " c-jets" , theNBinsX , theLowerBoundX , theUpperBoundX , theNBinsY, theLowerBoundY, theUpperBoundY)) ; theProfile_b = (prov.bookProfile ( theBaseNameTitle + "_Profile_B" , theBaseNameDescription + " b-jets" , theNBinsX , theLowerBoundX , theUpperBoundX , theNBinsY, theLowerBoundY, theUpperBoundY)) ; theProfile_g = (prov.bookProfile ( theBaseNameTitle + "_Profile_G" , theBaseNameDescription + " g-jets" , theNBinsX , theLowerBoundX , theUpperBoundX , theNBinsY, theLowerBoundY, theUpperBoundY)) ; theProfile_ni = (prov.bookProfile ( theBaseNameTitle + "_Profile_NI" , theBaseNameDescription + " ni-jets" , theNBinsX , theLowerBoundX , theUpperBoundX , theNBinsY, theLowerBoundY, theUpperBoundY)) ; theProfile_dus = (prov.bookProfile ( theBaseNameTitle + "_Profile_DUS" , theBaseNameDescription + " dus-jets" , theNBinsX , theLowerBoundX , theUpperBoundX , theNBinsY, theLowerBoundY, theUpperBoundY)) ; theProfile_dusg = (prov.bookProfile ( theBaseNameTitle + "_Profile_DUSG" , theBaseNameDescription + " dusg-jets" , theNBinsX , theLowerBoundX , theUpperBoundX , theNBinsY, theLowerBoundY, theUpperBoundY)) ; } else{ theProfile_d = 0; theProfile_u = 0; theProfile_s = 0; theProfile_c = 0; theProfile_b = 0; theProfile_g = 0; theProfile_ni = 0; theProfile_dus = 0; theProfile_dusg = 0; } } else { theProfile_all = 0; theProfile_d = 0; theProfile_u = 0; theProfile_s = 0; theProfile_c = 0; theProfile_b = 0; theProfile_g = 0; theProfile_ni = 0; theProfile_dus = 0; theProfile_dusg = 0; } // statistics if requested if ( theStatistics ) { theHisto_all ->getTH2F()->Sumw2() ; if(createProfile) theProfile_all ->getTProfile()->Sumw2() ; if (mcPlots_) { theHisto_d ->getTH2F()->Sumw2() ; theHisto_u ->getTH2F()->Sumw2() ; theHisto_s ->getTH2F()->Sumw2() ; theHisto_c ->getTH2F()->Sumw2() ; theHisto_b ->getTH2F()->Sumw2() ; theHisto_g ->getTH2F()->Sumw2() ; theHisto_ni ->getTH2F()->Sumw2() ; theHisto_dus ->getTH2F()->Sumw2() ; theHisto_dusg->getTH2F()->Sumw2() ; if(createProfile) { theProfile_d ->getTProfile()->Sumw2() ; theProfile_u ->getTProfile()->Sumw2() ; theProfile_s ->getTProfile()->Sumw2() ; theProfile_c ->getTProfile()->Sumw2() ; theProfile_b ->getTProfile()->Sumw2() ; theProfile_g ->getTProfile()->Sumw2() ; theProfile_ni ->getTProfile()->Sumw2() ; theProfile_dus ->getTProfile()->Sumw2() ; theProfile_dusg->getTProfile()->Sumw2() ; } } } } else { HistoProviderDQM prov("Btag",folder); theHisto_all = prov.access(theBaseNameTitle + "ALL" ) ; if (mcPlots_) { theHisto_d = prov.access(theBaseNameTitle + "D" ) ; theHisto_u = prov.access(theBaseNameTitle + "U" ) ; theHisto_s = prov.access(theBaseNameTitle + "S" ) ; theHisto_c = prov.access(theBaseNameTitle + "C" ) ; theHisto_b =prov.access(theBaseNameTitle + "B" ) ; theHisto_g =prov.access(theBaseNameTitle + "G" ) ; theHisto_ni =prov.access(theBaseNameTitle + "NI" ) ; theHisto_dus =prov.access(theBaseNameTitle + "DUS" ) ; theHisto_dusg =prov.access(theBaseNameTitle + "DUSG") ; } if(createProfile_) { theProfile_all = prov.access(theBaseNameTitle + "_Profile_ALL"); if(mcPlots_) { theProfile_d = prov.access(theBaseNameTitle + "_Profile_D" ) ; theProfile_u = prov.access(theBaseNameTitle + "_Profile_U" ) ; theProfile_s = prov.access(theBaseNameTitle + "_Profile_S" ) ; theProfile_c = prov.access(theBaseNameTitle + "_Profile_C" ) ; theProfile_b =prov.access(theBaseNameTitle + "_Profile_B" ) ; theProfile_g =prov.access(theBaseNameTitle + "_Profile_G" ) ; theProfile_ni =prov.access(theBaseNameTitle + "_Profile_NI" ) ; theProfile_dus =prov.access(theBaseNameTitle + "_Profile_DUS" ) ; theProfile_dusg =prov.access(theBaseNameTitle + "_Profile_DUSG") ; } } } }
FlavourHistograms2D< T, G >::~FlavourHistograms2D | ( | ) | [virtual] |
Definition at line 310 of file FlavourHistorgrams2D.h.
{}
FlavourHistograms2D< T, G >::FlavourHistograms2D | ( | ) | [inline, private] |
Definition at line 159 of file FlavourHistorgrams2D.h.
{}
std::string FlavourHistograms2D< T, G >::baseNameDescription | ( | ) | const [inline] |
Definition at line 66 of file FlavourHistorgrams2D.h.
{ return theBaseNameDescription ; }
std::string FlavourHistograms2D< T, G >::baseNameTitle | ( | ) | const [inline] |
Definition at line 65 of file FlavourHistorgrams2D.h.
{ return theBaseNameTitle ; }
void FlavourHistograms2D< T, G >::divide | ( | const FlavourHistograms2D< T, G > & | bHD | ) | const |
Definition at line 415 of file FlavourHistorgrams2D.h.
References getTH2F(), FlavourHistograms2D< T, G >::histo_all(), FlavourHistograms2D< T, G >::histo_b(), FlavourHistograms2D< T, G >::histo_c(), FlavourHistograms2D< T, G >::histo_d(), FlavourHistograms2D< T, G >::histo_dus(), FlavourHistograms2D< T, G >::histo_dusg(), FlavourHistograms2D< T, G >::histo_g(), FlavourHistograms2D< T, G >::histo_ni(), FlavourHistograms2D< T, G >::histo_s(), and FlavourHistograms2D< T, G >::histo_u().
{ // divide histos using binomial errors // // ATTENTION: It's the responsability of the user to make sure that the HistoDescriptions // involved in this operation have been constructed with the statistics option switched on!! // theHisto_all ->getTH2F()-> Divide ( theHisto_all->getTH2F() , bHD.histo_all () , 1.0 , 1.0 , "b" ) ; if (mcPlots_) { theHisto_d ->getTH2F()-> Divide ( theHisto_d ->getTH2F() , bHD.histo_d () , 1.0 , 1.0 , "b" ) ; theHisto_u ->getTH2F()-> Divide ( theHisto_u ->getTH2F() , bHD.histo_u () , 1.0 , 1.0 , "b" ) ; theHisto_s ->getTH2F()-> Divide ( theHisto_s ->getTH2F() , bHD.histo_s () , 1.0 , 1.0 , "b" ) ; theHisto_c ->getTH2F()-> Divide ( theHisto_c ->getTH2F() , bHD.histo_c () , 1.0 , 1.0 , "b" ) ; theHisto_b ->getTH2F()-> Divide ( theHisto_b ->getTH2F() , bHD.histo_b () , 1.0 , 1.0 , "b" ) ; theHisto_g ->getTH2F()-> Divide ( theHisto_g ->getTH2F() , bHD.histo_g () , 1.0 , 1.0 , "b" ) ; theHisto_ni ->getTH2F()-> Divide ( theHisto_ni->getTH2F() , bHD.histo_ni () , 1.0 , 1.0 , "b" ) ; theHisto_dus ->getTH2F()-> Divide ( theHisto_dus->getTH2F() , bHD.histo_dus () , 1.0 , 1.0 , "b" ) ; theHisto_dusg ->getTH2F()-> Divide ( theHisto_dusg->getTH2F() , bHD.histo_dusg() , 1.0 , 1.0 , "b" ) ; } }
void FlavourHistograms2D< T, G >::fill | ( | const int & | flavour, |
const T & | variableX, | ||
const G & | variableY | ||
) | const |
Definition at line 324 of file FlavourHistorgrams2D.h.
Referenced by TrackIPTagPlotter::analyzeTag(), and TagCorrelationPlotter::analyzeTags().
{ // For single variables and arrays (for arrays only a single index can be filled) fillVariable ( flavour , variableX , variableY ) ; }
void FlavourHistograms2D< T, G >::fill | ( | const int & | flavour, |
const T * | variableX, | ||
const G * | variableY | ||
) | const |
Definition at line 331 of file FlavourHistorgrams2D.h.
References i.
{ if ( theArrayDimension == 0 ) { // single variable fillVariable ( flavour , *variableX, *variableY ) ; } else { // array int iMax = *theArrayDimension ; if ( *theArrayDimension > theMaxDimension ) iMax = theMaxDimension ; // for ( int i = 0 ; i != iMax ; ++i ) { // check if only one index to be plotted (<0: switched off -> plot all) if ( ( theIndexToPlot < 0 ) || ( i == theIndexToPlot ) ) { fillVariable ( flavour , *(variableX+i) , *(variableY+i) ) ; } } // if single index to be filled but not enough entries: fill 0.0 (convention!) if ( theIndexToPlot >= iMax ) { // cout << "==>> The index to be filled is too big -> fill 0.0 : " << theBaseNameTitle << " : " << theIndexToPlot << " >= " << iMax << endl ; const T& theZeroT = static_cast<T> ( 0.0) ; const G& theZeroG = static_cast<T> ( 0.0 ); fillVariable ( flavour , theZeroT , theZeroG ) ; } } }
void FlavourHistograms2D< T, G >::fillVariable | ( | const int & | flavour, |
const T & | varX, | ||
const G & | varY | ||
) | const [protected] |
Definition at line 437 of file FlavourHistorgrams2D.h.
{ // all theHisto_all ->Fill ( varX, varY ) ; if(createProfile_) theProfile_all->Fill( varX, varY ); // flavour specific if (!mcPlots_) return; switch( flavour ) { case 1: theHisto_d->Fill( varX, varY ); theHisto_dus->Fill( varX, varY ); theHisto_dusg->Fill( varX, varY ); if(createProfile_) { theProfile_d->Fill(varX, varY); theProfile_dus->Fill(varX, varY); theProfile_dusg->Fill(varX, varY); } return; case 2: theHisto_u->Fill( varX, varY ); theHisto_dus->Fill( varX, varY ); theHisto_dusg->Fill( varX, varY ); if(createProfile_) { theProfile_u->Fill(varX, varY); theProfile_dus->Fill(varX, varY); theProfile_dusg->Fill(varX, varY); } return; case 3: theHisto_s->Fill( varX, varY ); theHisto_dus->Fill( varX, varY ); theHisto_dusg->Fill( varX, varY ); if(createProfile_) { theProfile_s->Fill(varX, varY); theProfile_dus->Fill(varX, varY); theProfile_dusg->Fill(varX, varY); } return; case 4: theHisto_c->Fill( varX, varY ); if(createProfile_) theProfile_c->Fill(varX, varY); return; case 5: theHisto_b->Fill( varX, varY ); if(createProfile_) theProfile_b->Fill(varX, varY); return; case 21: theHisto_g->Fill( varX, varY ); theHisto_dusg->Fill( varX, varY ); if(createProfile_) { theProfile_g->Fill(varX, varY); theProfile_dusg->Fill(varX, varY); } return; default: theHisto_ni->Fill( varX, varY ); if(createProfile_) theProfile_ni->Fill(varX, varY); return; } }
std::vector< TH2F * > FlavourHistograms2D< T, G >::getHistoVector | ( | ) | const |
Definition at line 500 of file FlavourHistorgrams2D.h.
References getTH2F().
{ std::vector<TH2F*> histoVector; histoVector.push_back ( theHisto_all->getTH2F() ); if (mcPlots_) { histoVector.push_back ( theHisto_d->getTH2F() ); histoVector.push_back ( theHisto_u->getTH2F() ); histoVector.push_back ( theHisto_s->getTH2F() ); histoVector.push_back ( theHisto_c->getTH2F() ); histoVector.push_back ( theHisto_b->getTH2F() ); histoVector.push_back ( theHisto_g ->getTH2F() ); histoVector.push_back ( theHisto_ni->getTH2F() ); histoVector.push_back ( theHisto_dus->getTH2F() ); histoVector.push_back ( theHisto_dusg->getTH2F()); } return histoVector; }
std::vector< TProfile * > FlavourHistograms2D< T, G >::getProfileVector | ( | ) | const |
Definition at line 519 of file FlavourHistorgrams2D.h.
References getTProfile().
{ std::vector<TProfile*> profileVector; if(createProfile_) { profileVector.push_back ( theProfile_all->getTProfile() ); if (mcPlots_) { profileVector.push_back ( theProfile_d->getTProfile() ); profileVector.push_back ( theProfile_u->getTProfile() ); profileVector.push_back ( theProfile_s->getTProfile() ); profileVector.push_back ( theProfile_c->getTProfile() ); profileVector.push_back ( theProfile_b->getTProfile() ); profileVector.push_back ( theProfile_g ->getTProfile() ); profileVector.push_back ( theProfile_ni->getTProfile() ); profileVector.push_back ( theProfile_dus->getTProfile() ); profileVector.push_back ( theProfile_dusg->getTProfile()); } } return profileVector; }
TH2F* FlavourHistograms2D< T, G >::histo_all | ( | ) | const [inline] |
Definition at line 76 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::divide().
{ return theHisto_all->getTH2F() ; }
TH2F* FlavourHistograms2D< T, G >::histo_b | ( | ) | const [inline] |
Definition at line 81 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::divide().
{ return theHisto_b->getTH2F() ; }
TH2F* FlavourHistograms2D< T, G >::histo_c | ( | ) | const [inline] |
Definition at line 80 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::divide().
{ return theHisto_c->getTH2F() ; }
TH2F* FlavourHistograms2D< T, G >::histo_d | ( | ) | const [inline] |
Definition at line 77 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::divide().
{ return theHisto_d ->getTH2F() ; }
TH2F* FlavourHistograms2D< T, G >::histo_dus | ( | ) | const [inline] |
Definition at line 84 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::divide().
{ return theHisto_dus->getTH2F() ; }
TH2F* FlavourHistograms2D< T, G >::histo_dusg | ( | ) | const [inline] |
Definition at line 85 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::divide().
{ return theHisto_dusg->getTH2F() ; }
TH2F* FlavourHistograms2D< T, G >::histo_g | ( | ) | const [inline] |
Definition at line 82 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::divide().
{ return theHisto_g->getTH2F() ; }
TH2F* FlavourHistograms2D< T, G >::histo_ni | ( | ) | const [inline] |
Definition at line 83 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::divide().
{ return theHisto_ni->getTH2F() ; }
TH2F* FlavourHistograms2D< T, G >::histo_s | ( | ) | const [inline] |
Definition at line 79 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::divide().
{ return theHisto_s->getTH2F() ; }
TH2F* FlavourHistograms2D< T, G >::histo_u | ( | ) | const [inline] |
Definition at line 78 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::divide().
{ return theHisto_u->getTH2F() ; }
double FlavourHistograms2D< T, G >::lowerBoundX | ( | ) | const [inline] |
Definition at line 69 of file FlavourHistorgrams2D.h.
{ return theLowerBoundX ; }
double FlavourHistograms2D< T, G >::lowerBoundY | ( | ) | const [inline] |
Definition at line 71 of file FlavourHistorgrams2D.h.
{ return theLowerBoundY ; }
int FlavourHistograms2D< T, G >::nBinsX | ( | ) | const [inline] |
Definition at line 67 of file FlavourHistorgrams2D.h.
{ return theNBinsX ; }
int FlavourHistograms2D< T, G >::nBinsY | ( | ) | const [inline] |
Definition at line 68 of file FlavourHistorgrams2D.h.
{ return theNBinsY ; }
TProfile* FlavourHistograms2D< T, G >::profile_all | ( | ) | const [inline] |
Definition at line 87 of file FlavourHistorgrams2D.h.
{ return theProfile_all->getTProfile() ; }
TProfile* FlavourHistograms2D< T, G >::profile_b | ( | ) | const [inline] |
Definition at line 92 of file FlavourHistorgrams2D.h.
{ return theProfile_b->getTProfile() ; }
TProfile* FlavourHistograms2D< T, G >::profile_c | ( | ) | const [inline] |
Definition at line 91 of file FlavourHistorgrams2D.h.
{ return theProfile_c->getTProfile() ; }
TProfile* FlavourHistograms2D< T, G >::profile_d | ( | ) | const [inline] |
Definition at line 88 of file FlavourHistorgrams2D.h.
{ return theProfile_d ->getTProfile() ; }
TProfile* FlavourHistograms2D< T, G >::profile_dus | ( | ) | const [inline] |
Definition at line 95 of file FlavourHistorgrams2D.h.
{ return theProfile_dus->getTProfile() ; }
TProfile* FlavourHistograms2D< T, G >::profile_dusg | ( | ) | const [inline] |
Definition at line 96 of file FlavourHistorgrams2D.h.
{ return theProfile_dusg->getTProfile() ; }
TProfile* FlavourHistograms2D< T, G >::profile_g | ( | ) | const [inline] |
Definition at line 93 of file FlavourHistorgrams2D.h.
{ return theProfile_g->getTProfile() ; }
TProfile* FlavourHistograms2D< T, G >::profile_ni | ( | ) | const [inline] |
Definition at line 94 of file FlavourHistorgrams2D.h.
{ return theProfile_ni->getTProfile() ; }
TProfile* FlavourHistograms2D< T, G >::profile_s | ( | ) | const [inline] |
Definition at line 90 of file FlavourHistorgrams2D.h.
{ return theProfile_s->getTProfile() ; }
TProfile* FlavourHistograms2D< T, G >::profile_u | ( | ) | const [inline] |
Definition at line 89 of file FlavourHistorgrams2D.h.
{ return theProfile_u->getTProfile() ; }
void FlavourHistograms2D< T, G >::SetMaximum | ( | const double & | max | ) | [inline] |
Definition at line 60 of file FlavourHistorgrams2D.h.
void FlavourHistograms2D< T, G >::SetMinimum | ( | const double & | min | ) | [inline] |
Definition at line 61 of file FlavourHistorgrams2D.h.
void FlavourHistograms2D< T, G >::settitle | ( | const char * | titleX, |
const char * | titleY | ||
) |
Definition at line 360 of file FlavourHistorgrams2D.h.
Referenced by TagCorrelationPlotter::TagCorrelationPlotter().
{ if(theHisto_all) theHisto_all ->setAxisTitle(titleX) ; if(theHisto_all) theHisto_all ->setAxisTitle(titleY, 2) ; if (mcPlots_) { if(theHisto_d) theHisto_d ->setAxisTitle(titleX) ; if(theHisto_u) theHisto_u ->setAxisTitle(titleX) ; if(theHisto_s) theHisto_s ->setAxisTitle(titleX) ; if(theHisto_c) theHisto_c ->setAxisTitle(titleX) ; if(theHisto_b) theHisto_b ->setAxisTitle(titleX) ; if(theHisto_g) theHisto_g ->setAxisTitle(titleX) ; if(theHisto_ni) theHisto_ni ->setAxisTitle(titleX) ; if(theHisto_dus) theHisto_dus ->setAxisTitle(titleX) ; if(theHisto_dusg)theHisto_dusg->setAxisTitle(titleX) ; if(theHisto_d) theHisto_d ->setAxisTitle(titleY, 2) ; if(theHisto_u) theHisto_u ->setAxisTitle(titleY, 2) ; if(theHisto_s) theHisto_s ->setAxisTitle(titleY, 2) ; if(theHisto_c) theHisto_c ->setAxisTitle(titleY, 2) ; if(theHisto_b) theHisto_b ->setAxisTitle(titleY, 2) ; if(theHisto_g) theHisto_g ->setAxisTitle(titleY, 2) ; if(theHisto_ni) theHisto_ni ->setAxisTitle(titleY, 2) ; if(theHisto_dus) theHisto_dus ->setAxisTitle(titleY, 2) ; if(theHisto_dusg)theHisto_dusg->setAxisTitle(titleY, 2) ; } if(createProfile_) { if(theProfile_all) theProfile_all ->setAxisTitle(titleX) ; if(theProfile_all) theProfile_all ->setAxisTitle(titleY, 2) ; if (mcPlots_ == true) { if(theProfile_d) theProfile_d ->setAxisTitle(titleX) ; if(theProfile_u) theProfile_u ->setAxisTitle(titleX) ; if(theProfile_s) theProfile_s ->setAxisTitle(titleX) ; if(theProfile_c) theProfile_c ->setAxisTitle(titleX) ; if(theProfile_b) theProfile_b ->setAxisTitle(titleX) ; if(theProfile_g) theProfile_g ->setAxisTitle(titleX) ; if(theProfile_ni) theProfile_ni ->setAxisTitle(titleX) ; if(theProfile_dus) theProfile_dus ->setAxisTitle(titleX) ; if(theProfile_dusg)theProfile_dusg->setAxisTitle(titleX) ; if(theProfile_d) theProfile_d ->setAxisTitle(titleY, 2) ; if(theProfile_u) theProfile_u ->setAxisTitle(titleY, 2) ; if(theProfile_s) theProfile_s ->setAxisTitle(titleY, 2) ; if(theProfile_c) theProfile_c ->setAxisTitle(titleY, 2) ; if(theProfile_b) theProfile_b ->setAxisTitle(titleY, 2) ; if(theProfile_g) theProfile_g ->setAxisTitle(titleY, 2) ; if(theProfile_ni) theProfile_ni ->setAxisTitle(titleY, 2) ; if(theProfile_dus) theProfile_dus ->setAxisTitle(titleY, 2) ; if(theProfile_dusg)theProfile_dusg->setAxisTitle(titleY, 2) ; } } }
bool FlavourHistograms2D< T, G >::statistics | ( | ) | const [inline] |
Definition at line 73 of file FlavourHistorgrams2D.h.
{ return theStatistics ; }
double FlavourHistograms2D< T, G >::upperBoundX | ( | ) | const [inline] |
Definition at line 70 of file FlavourHistorgrams2D.h.
{ return theUpperBoundX ; }
double FlavourHistograms2D< T, G >::upperBoundY | ( | ) | const [inline] |
Definition at line 72 of file FlavourHistorgrams2D.h.
{ return theUpperBoundY ; }
bool FlavourHistograms2D< T, G >::createProfile_ [private] |
Definition at line 162 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::FlavourHistograms2D().
bool FlavourHistograms2D< T, G >::mcPlots_ [private] |
Definition at line 161 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::FlavourHistograms2D().
int* FlavourHistograms2D< T, G >::theArrayDimension [protected] |
Definition at line 115 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::FlavourHistograms2D().
std::string FlavourHistograms2D< T, G >::theBaseNameDescription [protected] |
Definition at line 120 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< double, double >::baseNameDescription(), and FlavourHistograms2D< T, G >::FlavourHistograms2D().
std::string FlavourHistograms2D< T, G >::theBaseNameTitle [protected] |
Definition at line 119 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< double, double >::baseNameTitle(), and FlavourHistograms2D< T, G >::FlavourHistograms2D().
MonitorElement* FlavourHistograms2D< T, G >::theHisto_all [protected] |
Definition at line 131 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::FlavourHistograms2D(), and FlavourHistograms2D< double, double >::histo_all().
MonitorElement* FlavourHistograms2D< T, G >::theHisto_b [protected] |
Definition at line 136 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::FlavourHistograms2D(), and FlavourHistograms2D< double, double >::histo_b().
MonitorElement* FlavourHistograms2D< T, G >::theHisto_c [protected] |
Definition at line 135 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::FlavourHistograms2D(), and FlavourHistograms2D< double, double >::histo_c().
MonitorElement* FlavourHistograms2D< T, G >::theHisto_d [protected] |
Definition at line 132 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::FlavourHistograms2D(), and FlavourHistograms2D< double, double >::histo_d().
MonitorElement* FlavourHistograms2D< T, G >::theHisto_dus [protected] |
Definition at line 139 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::FlavourHistograms2D(), and FlavourHistograms2D< double, double >::histo_dus().
MonitorElement* FlavourHistograms2D< T, G >::theHisto_dusg [protected] |
Definition at line 140 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::FlavourHistograms2D(), and FlavourHistograms2D< double, double >::histo_dusg().
MonitorElement* FlavourHistograms2D< T, G >::theHisto_g [protected] |
Definition at line 137 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::FlavourHistograms2D(), and FlavourHistograms2D< double, double >::histo_g().
MonitorElement* FlavourHistograms2D< T, G >::theHisto_ni [protected] |
Definition at line 138 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::FlavourHistograms2D(), and FlavourHistograms2D< double, double >::histo_ni().
MonitorElement* FlavourHistograms2D< T, G >::theHisto_s [protected] |
Definition at line 134 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::FlavourHistograms2D(), and FlavourHistograms2D< double, double >::histo_s().
MonitorElement* FlavourHistograms2D< T, G >::theHisto_u [protected] |
Definition at line 133 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::FlavourHistograms2D(), and FlavourHistograms2D< double, double >::histo_u().
int FlavourHistograms2D< T, G >::theIndexToPlot [protected] |
Definition at line 117 of file FlavourHistorgrams2D.h.
double FlavourHistograms2D< T, G >::theLowerBoundX [protected] |
Definition at line 123 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::FlavourHistograms2D(), and FlavourHistograms2D< double, double >::lowerBoundX().
double FlavourHistograms2D< T, G >::theLowerBoundY [protected] |
Definition at line 125 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::FlavourHistograms2D(), and FlavourHistograms2D< double, double >::lowerBoundY().
double FlavourHistograms2D< T, G >::theMax [protected] |
Definition at line 128 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< double, double >::SetMaximum().
int FlavourHistograms2D< T, G >::theMaxDimension [protected] |
Definition at line 116 of file FlavourHistorgrams2D.h.
double FlavourHistograms2D< T, G >::theMin [protected] |
Definition at line 128 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< double, double >::SetMinimum().
int FlavourHistograms2D< T, G >::theNBinsX [protected] |
Definition at line 121 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::FlavourHistograms2D(), and FlavourHistograms2D< double, double >::nBinsX().
int FlavourHistograms2D< T, G >::theNBinsY [protected] |
Definition at line 122 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::FlavourHistograms2D(), and FlavourHistograms2D< double, double >::nBinsY().
MonitorElement* FlavourHistograms2D< T, G >::theProfile_all [protected] |
Definition at line 143 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::FlavourHistograms2D(), and FlavourHistograms2D< double, double >::profile_all().
MonitorElement* FlavourHistograms2D< T, G >::theProfile_b [protected] |
Definition at line 148 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::FlavourHistograms2D(), and FlavourHistograms2D< double, double >::profile_b().
MonitorElement* FlavourHistograms2D< T, G >::theProfile_c [protected] |
Definition at line 147 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::FlavourHistograms2D(), and FlavourHistograms2D< double, double >::profile_c().
MonitorElement* FlavourHistograms2D< T, G >::theProfile_d [protected] |
Definition at line 144 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::FlavourHistograms2D(), and FlavourHistograms2D< double, double >::profile_d().
MonitorElement* FlavourHistograms2D< T, G >::theProfile_dus [protected] |
Definition at line 151 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::FlavourHistograms2D(), and FlavourHistograms2D< double, double >::profile_dus().
MonitorElement* FlavourHistograms2D< T, G >::theProfile_dusg [protected] |
Definition at line 152 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::FlavourHistograms2D(), and FlavourHistograms2D< double, double >::profile_dusg().
MonitorElement* FlavourHistograms2D< T, G >::theProfile_g [protected] |
Definition at line 149 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::FlavourHistograms2D(), and FlavourHistograms2D< double, double >::profile_g().
MonitorElement* FlavourHistograms2D< T, G >::theProfile_ni [protected] |
Definition at line 150 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::FlavourHistograms2D(), and FlavourHistograms2D< double, double >::profile_ni().
MonitorElement* FlavourHistograms2D< T, G >::theProfile_s [protected] |
Definition at line 146 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::FlavourHistograms2D(), and FlavourHistograms2D< double, double >::profile_s().
MonitorElement* FlavourHistograms2D< T, G >::theProfile_u [protected] |
Definition at line 145 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::FlavourHistograms2D(), and FlavourHistograms2D< double, double >::profile_u().
bool FlavourHistograms2D< T, G >::theStatistics [protected] |
Definition at line 127 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::FlavourHistograms2D(), and FlavourHistograms2D< double, double >::statistics().
double FlavourHistograms2D< T, G >::theUpperBoundX [protected] |
Definition at line 124 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::FlavourHistograms2D(), and FlavourHistograms2D< double, double >::upperBoundX().
double FlavourHistograms2D< T, G >::theUpperBoundY [protected] |
Definition at line 126 of file FlavourHistorgrams2D.h.
Referenced by FlavourHistograms2D< T, G >::FlavourHistograms2D(), and FlavourHistograms2D< double, double >::upperBoundY().