#include <DQMOffline/RecoB/interface/FlavourHistorgrams.h>
Public Member Functions | |
TString | baseNameDescription () const |
TString | baseNameDescription () const |
TString | baseNameTitle () const |
TString | baseNameTitle () const |
void | divide (FlavourHistograms< T > &bHD) const |
void | divide (FlavourHistograms< T > &bHD) const |
void | epsPlot (TString name) |
void | epsPlot (TString name) |
void | fill (const int &flavour, const T *variable) const |
void | fill (const int &flavour, const T &variable) const |
void | fill (const int &flavour, const T *variable) const |
void | fill (const int &flavour, const T &variable) const |
FlavourHistograms (TString baseNameTitle_, TString baseNameDescription_, int nBins_, double lowerBound_, double upperBound_, bool statistics_, bool plotLog_, bool plotNormalized_, TString plotFirst_, bool update=false) | |
FlavourHistograms (TString baseNameTitle_, TString baseNameDescription_, int nBins_, double lowerBound_, double upperBound_, bool statistics_, bool plotLog_, bool plotNormalized_, TString plotFirst_, bool update, std::string folder, bool mc) | |
vector< TH1F * > | getHistoVector () const |
vector< TH1F * > | getHistoVector () const |
TH1F * | histo_all () const |
TH1F * | histo_all () const |
TH1F * | histo_b () const |
TH1F * | histo_b () const |
TH1F * | histo_c () const |
TH1F * | histo_c () const |
TH1F * | histo_d () const |
TH1F * | histo_d () const |
TH1F * | histo_dus () const |
TH1F * | histo_dus () const |
TH1F * | histo_dusg () const |
TH1F * | histo_dusg () const |
TH1F * | histo_g () const |
TH1F * | histo_g () const |
TH1F * | histo_ni () const |
TH1F * | histo_ni () const |
TH1F * | histo_s () const |
TH1F * | histo_s () const |
TH1F * | histo_u () const |
TH1F * | histo_u () const |
double | lowerBound () const |
double | lowerBound () const |
int | nBins () const |
int | nBins () const |
void | plot (TPad *theCanvas=0) |
void | plot (TPad *theCanvas=0) |
TString | plotFirst () const |
TString | plotFirst () const |
bool | plotLog () const |
bool | plotLog () const |
bool | plotNormalized () const |
bool | plotNormalized () const |
void | SetMaximum (const double max) |
void | SetMaximum (const double max) |
void | SetMinimum (const double min) |
void | SetMinimum (const double min) |
void | settitle (const char *title) |
void | settitle (const char *title) |
bool | statistics () const |
bool | statistics () const |
double | upperBound () const |
double | upperBound () const |
void | write (const bool allHisto) const |
virtual | ~FlavourHistograms () |
virtual | ~FlavourHistograms () |
Protected Member Functions | |
void | fillVariable (const int &flavour, const T &var) const |
void | fillVariable (const int &flavour, const T &var) const |
Protected Attributes | |
int * | theArrayDimension |
int * | theArrayDimension |
TString | theBaseNameDescription |
TString | theBaseNameTitle |
TCanvas * | theCanvas |
TCanvas * | theCanvas |
TH1F * | theHisto_all |
MonitorElement * | theHisto_all |
TH1F * | theHisto_b |
MonitorElement * | theHisto_b |
TH1F * | theHisto_c |
MonitorElement * | theHisto_c |
TH1F * | theHisto_d |
MonitorElement * | theHisto_d |
TH1F * | theHisto_dus |
MonitorElement * | theHisto_dus |
TH1F * | theHisto_dusg |
MonitorElement * | theHisto_dusg |
TH1F * | theHisto_g |
MonitorElement * | theHisto_g |
TH1F * | theHisto_ni |
MonitorElement * | theHisto_ni |
TH1F * | theHisto_s |
MonitorElement * | theHisto_s |
TH1F * | theHisto_u |
MonitorElement * | theHisto_u |
int | theIndexToPlot |
double | theLowerBound |
double | theMax |
int | theMaxDimension |
double | theMin |
int | theNBins |
TString | thePlotFirst |
bool | thePlotLog |
bool | thePlotNormalized |
bool | theStatistics |
double | theUpperBound |
Private Member Functions | |
FlavourHistograms () | |
FlavourHistograms () | |
Private Attributes | |
bool | mcPlots_ |
Definition at line 33 of file FlavourHistorgrams.h.
FlavourHistograms< T >::FlavourHistograms | ( | TString | baseNameTitle_, | |
TString | baseNameDescription_, | |||
int | nBins_, | |||
double | lowerBound_, | |||
double | upperBound_, | |||
bool | statistics_, | |||
bool | plotLog_, | |||
bool | plotNormalized_, | |||
TString | plotFirst_, | |||
bool | update, | |||
std::string | folder, | |||
bool | mc | |||
) | [inline] |
Definition at line 152 of file FlavourHistorgrams.h.
References HistoProviderDQM::access(), HistoProviderDQM::book1D(), GenMuonPlsPt100GeV_cfg::cout, lat::endl(), MonitorElement::getTH1F(), FlavourHistograms< T >::mcPlots_, FlavourHistograms< T >::theArrayDimension, FlavourHistograms< T >::theBaseNameDescription, FlavourHistograms< T >::theBaseNameTitle, FlavourHistograms< T >::theCanvas, FlavourHistograms< T >::theHisto_all, FlavourHistograms< T >::theHisto_b, FlavourHistograms< T >::theHisto_c, FlavourHistograms< T >::theHisto_d, FlavourHistograms< T >::theHisto_dus, FlavourHistograms< T >::theHisto_dusg, FlavourHistograms< T >::theHisto_g, FlavourHistograms< T >::theHisto_ni, FlavourHistograms< T >::theHisto_s, FlavourHistograms< T >::theHisto_u, FlavourHistograms< T >::theIndexToPlot, FlavourHistograms< T >::theLowerBound, FlavourHistograms< T >::theMaxDimension, FlavourHistograms< T >::theNBins, FlavourHistograms< T >::thePlotFirst, FlavourHistograms< T >::theStatistics, and FlavourHistograms< T >::theUpperBound.
00157 : 00158 // BaseFlavourHistograms () , 00159 // theVariable ( variable_ ) , 00160 theBaseNameTitle ( baseNameTitle_ ) , theBaseNameDescription ( baseNameDescription_ ) , 00161 theNBins ( nBins_ ) , theLowerBound ( lowerBound_ ) , theUpperBound ( upperBound_ ) , 00162 theStatistics ( statistics_ ) , 00163 thePlotLog ( plotLog_ ) , 00164 thePlotNormalized ( plotNormalized_ ) , 00165 thePlotFirst ( plotFirst_ ), theMin(-1.), theMax(-1.), mcPlots_(mc) 00166 { 00167 // defaults for array dimensions 00168 theArrayDimension = 0 ; 00169 theMaxDimension = -1 ; 00170 theIndexToPlot = -1 ; 00171 00172 // check plot order string 00173 if ( thePlotFirst == "l" || thePlotFirst == "c" || thePlotFirst == "b" ) { 00174 // OK 00175 } 00176 else { 00177 // not correct: print warning and set default (l) 00178 cout << "FlavourHistograms::FlavourHistograms : thePlotFirst was not correct : " << thePlotFirst << endl ; 00179 cout << "FlavourHistograms::FlavourHistograms : Set it to default value (l)! " << endl ; 00180 thePlotFirst = "l" ; 00181 } 00182 00183 if (!update) { 00184 // book histos 00185 HistoProviderDQM prov("Btag",folder); 00186 theHisto_all = (prov.book1D( theBaseNameTitle + "ALL" , theBaseNameDescription + " all jets" , theNBins , theLowerBound , theUpperBound )) ; 00187 if (mcPlots_ == true) { 00188 theHisto_d = (prov.book1D ( theBaseNameTitle + "D" , theBaseNameDescription + " d-jets" , theNBins , theLowerBound , theUpperBound )) ; 00189 theHisto_u = (prov.book1D ( theBaseNameTitle + "U" , theBaseNameDescription + " u-jets" , theNBins , theLowerBound , theUpperBound )) ; 00190 theHisto_s = (prov.book1D ( theBaseNameTitle + "S" , theBaseNameDescription + " s-jets" , theNBins , theLowerBound , theUpperBound )) ; 00191 theHisto_c = (prov.book1D ( theBaseNameTitle + "C" , theBaseNameDescription + " c-jets" , theNBins , theLowerBound , theUpperBound )) ; 00192 theHisto_b = (prov.book1D ( theBaseNameTitle + "B" , theBaseNameDescription + " b-jets" , theNBins , theLowerBound , theUpperBound )) ; 00193 theHisto_g = (prov.book1D ( theBaseNameTitle + "G" , theBaseNameDescription + " g-jets" , theNBins , theLowerBound , theUpperBound )) ; 00194 theHisto_ni = (prov.book1D ( theBaseNameTitle + "NI" , theBaseNameDescription + " ni-jets" , theNBins , theLowerBound , theUpperBound )) ; 00195 theHisto_dus = (prov.book1D ( theBaseNameTitle + "DUS" , theBaseNameDescription + " dus-jets" , theNBins , theLowerBound , theUpperBound )) ; 00196 theHisto_dusg = (prov.book1D ( theBaseNameTitle + "DUSG" , theBaseNameDescription + " dusg-jets" , theNBins , theLowerBound , theUpperBound )) ; 00197 }else{ 00198 theHisto_d = 0; 00199 theHisto_u = 0; 00200 theHisto_s = 0; 00201 theHisto_c = 0; 00202 theHisto_b = 0; 00203 theHisto_g = 0; 00204 theHisto_ni = 0; 00205 theHisto_dus = 0; 00206 theHisto_dusg = 0; 00207 } 00208 // statistics if requested 00209 if ( theStatistics ) { 00210 theHisto_all ->getTH1F()->Sumw2() ; 00211 if (mcPlots_ == true) { 00212 00213 theHisto_d ->getTH1F()->Sumw2() ; 00214 theHisto_u ->getTH1F()->Sumw2() ; 00215 theHisto_s ->getTH1F()->Sumw2() ; 00216 theHisto_c ->getTH1F()->Sumw2() ; 00217 theHisto_b ->getTH1F()->Sumw2() ; 00218 theHisto_g ->getTH1F()->Sumw2() ; 00219 theHisto_ni ->getTH1F()->Sumw2() ; 00220 theHisto_dus ->getTH1F()->Sumw2() ; 00221 theHisto_dusg->getTH1F()->Sumw2() ; 00222 } 00223 } 00224 } else { 00225 HistoProviderDQM prov("Btag",folder); 00226 theHisto_all = prov.access(theBaseNameTitle + "ALL" ) ; 00227 if (mcPlots_ == true) { 00228 00229 theHisto_d = prov.access(theBaseNameTitle + "D" ) ; 00230 theHisto_u = prov.access(theBaseNameTitle + "U" ) ; 00231 theHisto_s = prov.access(theBaseNameTitle + "S" ) ; 00232 theHisto_c = prov.access(theBaseNameTitle + "C" ) ; 00233 theHisto_b =prov.access(theBaseNameTitle + "B" ) ; 00234 theHisto_g =prov.access(theBaseNameTitle + "G" ) ; 00235 theHisto_ni =prov.access(theBaseNameTitle + "NI" ) ; 00236 theHisto_dus =prov.access(theBaseNameTitle + "DUS" ) ; 00237 theHisto_dusg =prov.access(theBaseNameTitle + "DUSG") ; 00238 } 00239 } 00240 00241 // defaults for other data members 00242 theCanvas = 0 ; 00243 }
FlavourHistograms< T >::~FlavourHistograms | ( | ) | [inline, virtual] |
Definition at line 247 of file FlavourHistorgrams.h.
References FlavourHistograms< T >::theCanvas.
00247 { 00248 // delete the canvas*/ 00249 delete theCanvas ; 00250 }
FlavourHistograms< T >::FlavourHistograms | ( | ) | [inline, private] |
FlavourHistograms< T >::FlavourHistograms | ( | TString | baseNameTitle_, | |
TString | baseNameDescription_, | |||
int | nBins_, | |||
double | lowerBound_, | |||
double | upperBound_, | |||
bool | statistics_, | |||
bool | plotLog_, | |||
bool | plotNormalized_, | |||
TString | plotFirst_, | |||
bool | update = false | |||
) | [inline] |
Definition at line 142 of file FlavourHistorgrams.h.
References GenMuonPlsPt100GeV_cfg::cout, lat::endl(), FlavourHistograms< T >::theArrayDimension, FlavourHistograms< T >::theBaseNameDescription, FlavourHistograms< T >::theBaseNameTitle, FlavourHistograms< T >::theCanvas, FlavourHistograms< T >::theHisto_all, FlavourHistograms< T >::theHisto_b, FlavourHistograms< T >::theHisto_c, FlavourHistograms< T >::theHisto_d, FlavourHistograms< T >::theHisto_dus, FlavourHistograms< T >::theHisto_dusg, FlavourHistograms< T >::theHisto_g, FlavourHistograms< T >::theHisto_ni, FlavourHistograms< T >::theHisto_s, FlavourHistograms< T >::theHisto_u, FlavourHistograms< T >::theIndexToPlot, FlavourHistograms< T >::theLowerBound, FlavourHistograms< T >::theMaxDimension, FlavourHistograms< T >::theNBins, FlavourHistograms< T >::thePlotFirst, FlavourHistograms< T >::theStatistics, and FlavourHistograms< T >::theUpperBound.
00147 : 00148 // BaseFlavourHistograms () , 00149 // theVariable ( variable_ ) , 00150 theBaseNameTitle ( baseNameTitle_ ) , theBaseNameDescription ( baseNameDescription_ ) , 00151 theNBins ( nBins_ ) , theLowerBound ( lowerBound_ ) , theUpperBound ( upperBound_ ) , 00152 theStatistics ( statistics_ ) , 00153 thePlotLog ( plotLog_ ) , 00154 thePlotNormalized ( plotNormalized_ ) , 00155 thePlotFirst ( plotFirst_ ), theMin(-1.), theMax(-1.) 00156 { 00157 // defaults for array dimensions 00158 theArrayDimension = 0 ; 00159 theMaxDimension = -1 ; 00160 theIndexToPlot = -1 ; 00161 00162 // check plot order string 00163 if ( thePlotFirst == "l" || thePlotFirst == "c" || thePlotFirst == "b" ) { 00164 // OK 00165 } 00166 else { 00167 // not correct: print warning and set default (l) 00168 cout << "FlavourHistograms::FlavourHistograms : thePlotFirst was not correct : " << thePlotFirst << endl ; 00169 cout << "FlavourHistograms::FlavourHistograms : Set it to default value (l)! " << endl ; 00170 thePlotFirst = "l" ; 00171 } 00172 00173 if (!update) { 00174 // book histos 00175 theHisto_all = new TH1F ( theBaseNameTitle + "ALL" , theBaseNameDescription + " all jets" , theNBins , theLowerBound , theUpperBound ) ; 00176 theHisto_d = new TH1F ( theBaseNameTitle + "D" , theBaseNameDescription + " d-jets" , theNBins , theLowerBound , theUpperBound ) ; 00177 theHisto_u = new TH1F ( theBaseNameTitle + "U" , theBaseNameDescription + " u-jets" , theNBins , theLowerBound , theUpperBound ) ; 00178 theHisto_s = new TH1F ( theBaseNameTitle + "S" , theBaseNameDescription + " s-jets" , theNBins , theLowerBound , theUpperBound ) ; 00179 theHisto_c = new TH1F ( theBaseNameTitle + "C" , theBaseNameDescription + " c-jets" , theNBins , theLowerBound , theUpperBound ) ; 00180 theHisto_b = new TH1F ( theBaseNameTitle + "B" , theBaseNameDescription + " b-jets" , theNBins , theLowerBound , theUpperBound ) ; 00181 theHisto_g = new TH1F ( theBaseNameTitle + "G" , theBaseNameDescription + " g-jets" , theNBins , theLowerBound , theUpperBound ) ; 00182 theHisto_ni = new TH1F ( theBaseNameTitle + "NI" , theBaseNameDescription + " ni-jets" , theNBins , theLowerBound , theUpperBound ) ; 00183 theHisto_dus = new TH1F ( theBaseNameTitle + "DUS" , theBaseNameDescription + " dus-jets" , theNBins , theLowerBound , theUpperBound ) ; 00184 theHisto_dusg = new TH1F ( theBaseNameTitle + "DUSG" , theBaseNameDescription + " dusg-jets" , theNBins , theLowerBound , theUpperBound ) ; 00185 // statistics if requested 00186 if ( theStatistics ) { 00187 theHisto_all ->Sumw2() ; 00188 theHisto_d ->Sumw2() ; 00189 theHisto_u ->Sumw2() ; 00190 theHisto_s ->Sumw2() ; 00191 theHisto_c ->Sumw2() ; 00192 theHisto_b ->Sumw2() ; 00193 theHisto_g ->Sumw2() ; 00194 theHisto_ni ->Sumw2() ; 00195 theHisto_dus ->Sumw2() ; 00196 theHisto_dusg->Sumw2() ; 00197 } 00198 } else { 00199 theHisto_all = (TH1F*) gDirectory->Get(theBaseNameTitle + "ALL" ) ; 00200 theHisto_d = (TH1F*) gDirectory->Get(theBaseNameTitle + "D" ) ; 00201 theHisto_u = (TH1F*) gDirectory->Get(theBaseNameTitle + "U" ) ; 00202 theHisto_s = (TH1F*) gDirectory->Get(theBaseNameTitle + "S" ) ; 00203 theHisto_c = (TH1F*) gDirectory->Get(theBaseNameTitle + "C" ) ; 00204 theHisto_b = (TH1F*) gDirectory->Get(theBaseNameTitle + "B" ) ; 00205 theHisto_g = (TH1F*) gDirectory->Get(theBaseNameTitle + "G" ) ; 00206 theHisto_ni = (TH1F*) gDirectory->Get(theBaseNameTitle + "NI" ) ; 00207 theHisto_dus = (TH1F*) gDirectory->Get(theBaseNameTitle + "DUS" ) ; 00208 theHisto_dusg = (TH1F*) gDirectory->Get(theBaseNameTitle + "DUSG") ; 00209 00210 } 00211 00212 // defaults for other data members 00213 theCanvas = 0 ; 00214 }
virtual FlavourHistograms< T >::~FlavourHistograms | ( | ) | [virtual] |
FlavourHistograms< T >::FlavourHistograms | ( | ) | [inline, private] |
TString FlavourHistograms< T >::baseNameDescription | ( | ) | const [inline] |
TString FlavourHistograms< T >::baseNameDescription | ( | ) | const [inline] |
Definition at line 74 of file FlavourHistorgrams.h.
Referenced by EffPurFromHistos::EffPurFromHistos().
00074 { return theBaseNameDescription ; }
TString FlavourHistograms< T >::baseNameTitle | ( | ) | const [inline] |
TString FlavourHistograms< T >::baseNameTitle | ( | ) | const [inline] |
Definition at line 73 of file FlavourHistorgrams.h.
Referenced by EffPurFromHistos::EffPurFromHistos().
00073 { return theBaseNameTitle ; }
void FlavourHistograms< T >::divide | ( | FlavourHistograms< T > & | bHD | ) | const |
void FlavourHistograms< T >::divide | ( | FlavourHistograms< T > & | bHD | ) | const [inline] |
Definition at line 466 of file FlavourHistorgrams.h.
References MonitorElement::getTH1F(), FlavourHistograms< T >::histo_all(), FlavourHistograms< T >::histo_b(), FlavourHistograms< T >::histo_c(), FlavourHistograms< T >::histo_d(), FlavourHistograms< T >::histo_dus(), FlavourHistograms< T >::histo_dusg(), FlavourHistograms< T >::histo_g(), FlavourHistograms< T >::histo_ni(), FlavourHistograms< T >::histo_s(), FlavourHistograms< T >::histo_u(), FlavourHistograms< T >::mcPlots_, FlavourHistograms< T >::theHisto_all, FlavourHistograms< T >::theHisto_b, FlavourHistograms< T >::theHisto_c, FlavourHistograms< T >::theHisto_d, FlavourHistograms< T >::theHisto_dus, FlavourHistograms< T >::theHisto_dusg, FlavourHistograms< T >::theHisto_g, FlavourHistograms< T >::theHisto_ni, FlavourHistograms< T >::theHisto_s, and FlavourHistograms< T >::theHisto_u.
Referenced by EffPurFromHistos::EffPurFromHistos().
00466 { 00467 // divide histos using binomial errors 00468 // 00469 // ATTENTION: It's the responsability of the user to make sure that the HistoDescriptions 00470 // involved in this operation have been constructed with the statistics option switched on!! 00471 // 00472 theHisto_all ->getTH1F()-> Divide ( theHisto_all->getTH1F() , bHD.histo_all () , 1.0 , 1.0 , "b" ) ; 00473 if (mcPlots_ == true) { 00474 theHisto_d ->getTH1F()-> Divide ( theHisto_d ->getTH1F() , bHD.histo_d () , 1.0 , 1.0 , "b" ) ; 00475 theHisto_u ->getTH1F()-> Divide ( theHisto_u ->getTH1F() , bHD.histo_u () , 1.0 , 1.0 , "b" ) ; 00476 theHisto_s ->getTH1F()-> Divide ( theHisto_s ->getTH1F() , bHD.histo_s () , 1.0 , 1.0 , "b" ) ; 00477 theHisto_c ->getTH1F()-> Divide ( theHisto_c ->getTH1F() , bHD.histo_c () , 1.0 , 1.0 , "b" ) ; 00478 theHisto_b ->getTH1F()-> Divide ( theHisto_b ->getTH1F() , bHD.histo_b () , 1.0 , 1.0 , "b" ) ; 00479 theHisto_g ->getTH1F()-> Divide ( theHisto_g ->getTH1F() , bHD.histo_g () , 1.0 , 1.0 , "b" ) ; 00480 theHisto_ni ->getTH1F()-> Divide ( theHisto_ni->getTH1F() , bHD.histo_ni () , 1.0 , 1.0 , "b" ) ; 00481 theHisto_dus ->getTH1F()-> Divide ( theHisto_dus->getTH1F() , bHD.histo_dus () , 1.0 , 1.0 , "b" ) ; 00482 theHisto_dusg ->getTH1F()-> Divide ( theHisto_dusg->getTH1F() , bHD.histo_dusg() , 1.0 , 1.0 , "b" ) ; 00483 } 00484 }
void FlavourHistograms< T >::epsPlot | ( | TString | name | ) |
void FlavourHistograms< T >::epsPlot | ( | TString | name | ) | [inline] |
Definition at line 454 of file FlavourHistorgrams.h.
References FlavourHistograms< T >::plot(), tc, FlavourHistograms< T >::theBaseNameDescription, and FlavourHistograms< T >::theBaseNameTitle.
Referenced by TrackProbabilityTagPlotter::epsPlot(), SoftLeptonTagPlotter::epsPlot(), JetTagPlotter::epsPlot(), TrackCountingTagPlotter::epsPlot(), EffPurFromHistos::epsPlot(), and TrackIPTagPlotter::epsPlot().
00455 { 00456 TCanvas tc(theBaseNameTitle , theBaseNameDescription); 00457 00458 plot(&tc); 00459 tc.Print(TString(name + theBaseNameTitle + ".eps")); 00460 }
void FlavourHistograms< T >::fill | ( | const int & | flavour, | |
const T * | variable | |||
) | const |
void FlavourHistograms< T >::fill | ( | const int & | flavour, | |
const T & | variable | |||
) | const |
void FlavourHistograms< T >::fill | ( | const int & | flavour, | |
const T * | variable | |||
) | const [inline] |
Definition at line 271 of file FlavourHistorgrams.h.
References FlavourHistograms< T >::fillVariable(), i, FlavourHistograms< T >::theArrayDimension, FlavourHistograms< T >::theIndexToPlot, and FlavourHistograms< T >::theMaxDimension.
00272 { 00273 if ( theArrayDimension == 0 ) { 00274 // single variable 00275 fillVariable ( flavour , *variable ) ; 00276 } else { 00277 // array 00278 int iMax = *theArrayDimension ; 00279 if ( *theArrayDimension > theMaxDimension ) iMax = theMaxDimension ; 00280 // 00281 for ( int i = 0 ; i < iMax ; i++ ) { 00282 // check if only one index to be plotted (<0: switched off -> plot all) 00283 if ( ( theIndexToPlot < 0 ) || ( i == theIndexToPlot ) ) { 00284 fillVariable ( flavour , *(variable+i) ) ; 00285 } 00286 } 00287 00288 // if single index to be filled but not enough entries: fill 0.0 (convention!) 00289 if ( theIndexToPlot >= iMax ) { 00290 // cout << "==>> The index to be filled is too big -> fill 0.0 : " << theBaseNameTitle << " : " << theIndexToPlot << " >= " << iMax << endl ; 00291 T theZero = static_cast<T> ( 0.0 ) ; 00292 fillVariable ( flavour , theZero ) ; 00293 } 00294 } 00295 }
void FlavourHistograms< T >::fill | ( | const int & | flavour, | |
const T & | variable | |||
) | const [inline] |
Definition at line 264 of file FlavourHistorgrams.h.
References FlavourHistograms< T >::fillVariable().
Referenced by TrackCountingTagPlotter::analyzeTag(), TrackIPTagPlotter::analyzeTag(), JetTagPlotter::analyzeTag(), and SoftLeptonTagPlotter::analyzeTag().
00265 { 00266 // For single variables and arrays (for arrays only a single index can be filled) 00267 fillVariable ( flavour , variable ) ; 00268 }
void FlavourHistograms< T >::fillVariable | ( | const int & | flavour, | |
const T & | var | |||
) | const [protected] |
void FlavourHistograms< T >::fillVariable | ( | const int & | flavour, | |
const T & | var | |||
) | const [inline, protected] |
Definition at line 488 of file FlavourHistorgrams.h.
References MonitorElement::Fill(), RecoBTag::flavourIsB(), RecoBTag::flavourIsC(), RecoBTag::flavourIsD(), RecoBTag::flavourIsDUS(), RecoBTag::flavourIsDUSG(), RecoBTag::flavourIsG(), RecoBTag::flavourIsNI(), RecoBTag::flavourIsS(), RecoBTag::flavourIsU(), FlavourHistograms< T >::mcPlots_, FlavourHistograms< T >::theHisto_all, FlavourHistograms< T >::theHisto_b, FlavourHistograms< T >::theHisto_c, FlavourHistograms< T >::theHisto_d, FlavourHistograms< T >::theHisto_dus, FlavourHistograms< T >::theHisto_dusg, FlavourHistograms< T >::theHisto_g, FlavourHistograms< T >::theHisto_ni, FlavourHistograms< T >::theHisto_s, and FlavourHistograms< T >::theHisto_u.
Referenced by FlavourHistograms< T >::fill().
00488 { 00489 // all 00490 theHisto_all ->Fill ( var ) ; 00491 // flavour specific 00492 if (mcPlots_ != true) return; 00493 00494 if ( flavourIsD (flavour) ) theHisto_d ->Fill ( var ) ; 00495 if ( flavourIsU (flavour) ) theHisto_u ->Fill ( var ) ; 00496 if ( flavourIsS (flavour) ) theHisto_s ->Fill ( var ) ; 00497 if ( flavourIsC (flavour) ) theHisto_c ->Fill ( var ) ; 00498 if ( flavourIsB (flavour) ) theHisto_b ->Fill ( var ) ; 00499 if ( flavourIsG (flavour) ) theHisto_g ->Fill ( var ) ; 00500 if ( flavourIsNI (flavour) ) theHisto_ni ->Fill ( var ) ; 00501 if ( flavourIsDUS (flavour) ) theHisto_dus ->Fill ( var ) ; 00502 if ( flavourIsDUSG(flavour) ) theHisto_dusg ->Fill ( var ) ; 00503 }
vector<TH1F*> FlavourHistograms< T >::getHistoVector | ( | ) | const |
vector< TH1F * > FlavourHistograms< T >::getHistoVector | ( | ) | const [inline] |
Definition at line 506 of file FlavourHistorgrams.h.
References MonitorElement::getTH1F(), FlavourHistograms< T >::mcPlots_, FlavourHistograms< T >::theHisto_all, FlavourHistograms< T >::theHisto_b, FlavourHistograms< T >::theHisto_c, FlavourHistograms< T >::theHisto_d, FlavourHistograms< T >::theHisto_dus, FlavourHistograms< T >::theHisto_dusg, FlavourHistograms< T >::theHisto_g, FlavourHistograms< T >::theHisto_ni, FlavourHistograms< T >::theHisto_s, and FlavourHistograms< T >::theHisto_u.
Referenced by EffPurFromHistos::EffPurFromHistos().
00507 { 00508 vector<TH1F*> histoVector; 00509 histoVector.push_back ( theHisto_all->getTH1F() ); 00510 if (mcPlots_ == true) { 00511 histoVector.push_back ( theHisto_d->getTH1F() ); 00512 histoVector.push_back ( theHisto_u->getTH1F() ); 00513 histoVector.push_back ( theHisto_s->getTH1F() ); 00514 histoVector.push_back ( theHisto_c->getTH1F() ); 00515 histoVector.push_back ( theHisto_b->getTH1F() ); 00516 histoVector.push_back ( theHisto_g ->getTH1F() ); 00517 histoVector.push_back ( theHisto_ni->getTH1F() ); 00518 histoVector.push_back ( theHisto_dus->getTH1F() ); 00519 histoVector.push_back ( theHisto_dusg->getTH1F()); 00520 } 00521 return histoVector; 00522 }
TH1F* FlavourHistograms< T >::histo_all | ( | ) | const [inline] |
TH1F* FlavourHistograms< T >::histo_all | ( | ) | const [inline] |
Definition at line 84 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::divide().
00084 { return theHisto_all->getTH1F() ; }
TH1F* FlavourHistograms< T >::histo_b | ( | ) | const [inline] |
TH1F* FlavourHistograms< T >::histo_b | ( | ) | const [inline] |
Definition at line 89 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::divide(), and EffPurFromHistos::EffPurFromHistos().
00089 { return theHisto_b->getTH1F() ; }
TH1F* FlavourHistograms< T >::histo_c | ( | ) | const [inline] |
TH1F* FlavourHistograms< T >::histo_c | ( | ) | const [inline] |
Definition at line 88 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::divide(), and EffPurFromHistos::EffPurFromHistos().
00088 { return theHisto_c->getTH1F() ; }
TH1F* FlavourHistograms< T >::histo_d | ( | ) | const [inline] |
TH1F* FlavourHistograms< T >::histo_d | ( | ) | const [inline] |
Definition at line 85 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::divide(), and EffPurFromHistos::EffPurFromHistos().
00085 { return theHisto_d ->getTH1F() ; }
TH1F* FlavourHistograms< T >::histo_dus | ( | ) | const [inline] |
TH1F* FlavourHistograms< T >::histo_dus | ( | ) | const [inline] |
Definition at line 92 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::divide(), and EffPurFromHistos::EffPurFromHistos().
00092 { return theHisto_dus->getTH1F() ; }
TH1F* FlavourHistograms< T >::histo_dusg | ( | ) | const [inline] |
TH1F* FlavourHistograms< T >::histo_dusg | ( | ) | const [inline] |
Definition at line 93 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::divide(), and EffPurFromHistos::EffPurFromHistos().
00093 { return theHisto_dusg->getTH1F() ; }
TH1F* FlavourHistograms< T >::histo_g | ( | ) | const [inline] |
TH1F* FlavourHistograms< T >::histo_g | ( | ) | const [inline] |
Definition at line 90 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::divide(), and EffPurFromHistos::EffPurFromHistos().
00090 { return theHisto_g->getTH1F() ; }
TH1F* FlavourHistograms< T >::histo_ni | ( | ) | const [inline] |
TH1F* FlavourHistograms< T >::histo_ni | ( | ) | const [inline] |
Definition at line 91 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::divide(), and EffPurFromHistos::EffPurFromHistos().
00091 { return theHisto_ni->getTH1F() ; }
TH1F* FlavourHistograms< T >::histo_s | ( | ) | const [inline] |
TH1F* FlavourHistograms< T >::histo_s | ( | ) | const [inline] |
Definition at line 87 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::divide(), and EffPurFromHistos::EffPurFromHistos().
00087 { return theHisto_s->getTH1F() ; }
TH1F* FlavourHistograms< T >::histo_u | ( | ) | const [inline] |
TH1F* FlavourHistograms< T >::histo_u | ( | ) | const [inline] |
Definition at line 86 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::divide(), and EffPurFromHistos::EffPurFromHistos().
00086 { return theHisto_u->getTH1F() ; }
double FlavourHistograms< T >::lowerBound | ( | ) | const [inline] |
double FlavourHistograms< T >::lowerBound | ( | ) | const [inline] |
Definition at line 76 of file FlavourHistorgrams.h.
Referenced by EffPurFromHistos::EffPurFromHistos().
00076 { return theLowerBound ; }
int FlavourHistograms< T >::nBins | ( | ) | const [inline] |
int FlavourHistograms< T >::nBins | ( | ) | const [inline] |
Definition at line 75 of file FlavourHistorgrams.h.
Referenced by EffPurFromHistos::EffPurFromHistos().
00075 { return theNBins ; }
void FlavourHistograms< T >::plot | ( | TPad * | theCanvas = 0 |
) |
void FlavourHistograms< T >::plot | ( | TPad * | theCanvas = 0 |
) | [inline] |
Definition at line 317 of file FlavourHistorgrams.h.
References parsecf::pyparsing::col(), MonitorElement::getTH1F(), histo, i, max, RecoBTag::setTDRStyle(), FlavourHistograms< T >::theBaseNameDescription, FlavourHistograms< T >::theHisto_b, FlavourHistograms< T >::theHisto_c, FlavourHistograms< T >::theHisto_dusg, FlavourHistograms< T >::theHisto_ni, FlavourHistograms< T >::theMax, FlavourHistograms< T >::theMin, FlavourHistograms< T >::thePlotFirst, FlavourHistograms< T >::thePlotLog, and FlavourHistograms< T >::thePlotNormalized.
Referenced by FlavourHistograms< T >::epsPlot(), SoftLeptonTagPlotter::psPlot(), JetTagPlotter::psPlot(), TrackCountingTagPlotter::psPlot(), TrackIPTagPlotter::psPlot(), and TrackProbabilityTagPlotter::psPlot().
00317 { 00318 00319 //fixme: 00320 bool btppNI = false; 00321 bool btppColour = true; 00322 00323 if (theCanvas) 00324 theCanvas->cd(); 00325 00326 setTDRStyle()->cd(); 00327 gPad->UseCurrentStyle(); 00328 // if ( !btppTitle ) gStyle->SetOptTitle ( 0 ) ; 00329 // 00330 // // here: plot histograms in a canvas 00331 // theCanvas = new TCanvas ( "C" + theBaseNameTitle , "C" + theBaseNameDescription , 00332 // btppXCanvas , btppYCanvas ) ; 00333 // theCanvas->SetFillColor ( 0 ) ; 00334 // theCanvas->cd ( 1 ) ; 00335 gPad->SetLogy ( 0 ) ; 00336 if ( thePlotLog ) gPad->SetLogy ( 1 ) ; 00337 gPad->SetGridx ( 0 ) ; 00338 gPad->SetGridy ( 0 ) ; 00339 gPad->SetTitle ( false ) ; 00340 00341 MonitorElement * histo[4]; 00342 int col[4], lineStyle[4], markerStyle[4]; 00343 int lineWidth = 1 ; 00344 00345 double markerSize = gPad->GetWh() * gPad->GetHNDC() / 500.; 00346 00347 // default (l) 00348 histo[0] = theHisto_dusg ; 00349 //CW histo_1 = theHisto_dus ; 00350 histo[1] = theHisto_b ; 00351 histo[2] = theHisto_c ; 00352 histo[3]= 0 ; 00353 00354 double max = theMax; 00355 if (theMax<=0.) { 00356 max = theHisto_dusg->getTH1F()->GetMaximum(); 00357 if (theHisto_b->getTH1F()->GetMaximum() > max) max = theHisto_b->getTH1F()->GetMaximum(); 00358 if (theHisto_c->getTH1F()->GetMaximum() > max) max = theHisto_c->getTH1F()->GetMaximum(); 00359 } 00360 00361 if (btppNI) { 00362 histo[3] = theHisto_ni ; 00363 if (theHisto_ni->getTH1F()->GetMaximum() > max) max = theHisto_ni->getTH1F()->GetMaximum(); 00364 } 00365 00366 if ( btppColour ) { // print colours 00367 col[0] = 4 ; 00368 col[1] = 2 ; 00369 col[2] = 6 ; 00370 col[3] = 3 ; 00371 lineStyle[0] = 1 ; 00372 lineStyle[1] = 1 ; 00373 lineStyle[2] = 1 ; 00374 lineStyle[3] = 1 ; 00375 markerStyle[0] = 20 ; 00376 markerStyle[1] = 21 ; 00377 markerStyle[2] = 22 ; 00378 markerStyle[3] = 23 ; 00379 lineWidth = 1 ; 00380 } 00381 else { // different marker/line styles 00382 col[1] = 1 ; 00383 col[2] = 1 ; 00384 col[3] = 1 ; 00385 col[0] = 1 ; 00386 lineStyle[0] = 2 ; 00387 lineStyle[1] = 1 ; 00388 lineStyle[2] = 3 ; 00389 lineStyle[3] = 4 ; 00390 markerStyle[0] = 20 ; 00391 markerStyle[1] = 21 ; 00392 markerStyle[2] = 22 ; 00393 markerStyle[3] = 23 ; 00394 } 00395 00396 // if changing order (NI stays always last) 00397 00398 // c to plot first 00399 if ( thePlotFirst == "c" ) { 00400 histo[0] = theHisto_c ; 00401 if ( btppColour ) col[0] = 6 ; 00402 if ( !btppColour ) lineStyle[0] = 3 ; 00403 histo[2] = theHisto_dusg ; 00404 if ( btppColour ) col[2] = 4 ; 00405 if ( !btppColour ) lineStyle[2] = 2 ; 00406 } 00407 00408 // b to plot first 00409 if ( thePlotFirst == "b" ) { 00410 histo[0] = theHisto_b ; 00411 if ( btppColour ) col[0] = 2 ; 00412 if ( !btppColour ) lineStyle[0] = 1 ; 00413 histo[1] = theHisto_dusg ; 00414 if ( btppColour ) col[1] = 4 ; 00415 if ( !btppColour ) lineStyle[1] = 2 ; 00416 } 00417 00418 00419 histo[0] ->getTH1F()->GetXaxis()->SetTitle ( theBaseNameDescription ) ; 00420 histo[0] ->getTH1F()->GetYaxis()->SetTitle ( "Arbitrary Units" ) ; 00421 histo[0] ->getTH1F()->GetYaxis()->SetTitleOffset(1.25) ; 00422 00423 for (int i=0; i < 4; ++i) { 00424 if (histo[i]== 0 ) continue; 00425 histo[i] ->getTH1F()->SetStats ( false ) ; 00426 histo[i] ->getTH1F()->SetLineStyle ( lineStyle[i] ) ; 00427 histo[i] ->getTH1F()->SetLineWidth ( lineWidth ) ; 00428 histo[i] ->getTH1F()->SetLineColor ( col[i] ) ; 00429 histo[i] ->getTH1F()->SetMarkerStyle ( markerStyle[i] ) ; 00430 histo[i] ->getTH1F()->SetMarkerColor ( col[i] ) ; 00431 histo[i] ->getTH1F()->SetMarkerSize ( markerSize ) ; 00432 } 00433 00434 if ( thePlotNormalized ) { 00435 // cout <<histo[0]->GetEntries() <<" "<< histo[1]->GetEntries() <<" "<< histo[2]->GetEntries()<<" "<<histo[3]->GetEntries()<<endl; 00436 if (histo[0]->getTH1F()->GetEntries() != 0) {histo[0]->getTH1F() ->DrawNormalized() ;} else { histo[0]->getTH1F() ->SetMaximum(1.0); 00437 histo[0] ->getTH1F()->Draw() ;} 00438 if (histo[1]->getTH1F()->GetEntries() != 0) histo[1] ->getTH1F()->DrawNormalized("Same") ; 00439 if (histo[2]->getTH1F()->GetEntries() != 0) histo[2]->getTH1F() ->DrawNormalized("Same") ; 00440 if ((histo[3] != 0) && (histo[3]->getTH1F()->GetEntries() != 0)) histo[3] ->getTH1F()->DrawNormalized("Same") ; 00441 } 00442 else { 00443 histo[0]->getTH1F()->SetMaximum(max*1.05); 00444 if (theMin!=-1.) histo[0]->getTH1F()->SetMinimum(theMin); 00445 histo[0]->getTH1F()->Draw() ; 00446 histo[1]->getTH1F()->Draw("Same") ; 00447 histo[2]->getTH1F()->Draw("Same") ; 00448 if ( histo[3] != 0 ) histo[3]->getTH1F()->Draw("Same") ; 00449 } 00450 00451 }
TString FlavourHistograms< T >::plotFirst | ( | ) | const [inline] |
TString FlavourHistograms< T >::plotFirst | ( | ) | const [inline] |
bool FlavourHistograms< T >::plotLog | ( | ) | const [inline] |
bool FlavourHistograms< T >::plotLog | ( | ) | const [inline] |
bool FlavourHistograms< T >::plotNormalized | ( | ) | const [inline] |
bool FlavourHistograms< T >::plotNormalized | ( | ) | const [inline] |
void FlavourHistograms< T >::SetMaximum | ( | const double | max | ) | [inline] |
void FlavourHistograms< T >::SetMaximum | ( | const double | max | ) | [inline] |
void FlavourHistograms< T >::SetMinimum | ( | const double | min | ) | [inline] |
void FlavourHistograms< T >::SetMinimum | ( | const double | min | ) | [inline] |
Definition at line 69 of file FlavourHistorgrams.h.
Referenced by EffPurFromHistos::EffPurFromHistos().
void FlavourHistograms< T >::settitle | ( | const char * | title | ) |
void FlavourHistograms< T >::settitle | ( | const char * | title | ) | [inline] |
Definition at line 299 of file FlavourHistorgrams.h.
References FlavourHistograms< T >::mcPlots_, MonitorElement::setAxisTitle(), FlavourHistograms< T >::theHisto_all, FlavourHistograms< T >::theHisto_b, FlavourHistograms< T >::theHisto_c, FlavourHistograms< T >::theHisto_d, FlavourHistograms< T >::theHisto_dus, FlavourHistograms< T >::theHisto_dusg, FlavourHistograms< T >::theHisto_g, FlavourHistograms< T >::theHisto_ni, FlavourHistograms< T >::theHisto_s, and FlavourHistograms< T >::theHisto_u.
Referenced by JetTagPlotter::JetTagPlotter().
00299 { 00300 if(theHisto_all) theHisto_all ->setAxisTitle(title) ; 00301 if (mcPlots_ == true) { 00302 00303 if(theHisto_d) theHisto_d ->setAxisTitle(title) ; 00304 if(theHisto_u) theHisto_u ->setAxisTitle(title) ; 00305 if(theHisto_s) theHisto_s ->setAxisTitle(title) ; 00306 if(theHisto_c) theHisto_c ->setAxisTitle(title) ; 00307 if(theHisto_b) theHisto_b ->setAxisTitle(title) ; 00308 if(theHisto_g) theHisto_g ->setAxisTitle(title) ; 00309 if(theHisto_ni) theHisto_ni ->setAxisTitle(title) ; 00310 if(theHisto_dus) theHisto_dus ->setAxisTitle(title) ; 00311 if(theHisto_dusg)theHisto_dusg->setAxisTitle(title) ; 00312 } 00313 }
bool FlavourHistograms< T >::statistics | ( | ) | const [inline] |
bool FlavourHistograms< T >::statistics | ( | ) | const [inline] |
double FlavourHistograms< T >::upperBound | ( | ) | const [inline] |
double FlavourHistograms< T >::upperBound | ( | ) | const [inline] |
Definition at line 77 of file FlavourHistorgrams.h.
Referenced by EffPurFromHistos::EffPurFromHistos().
00077 { return theUpperBound ; }
void FlavourHistograms< T >::write | ( | const bool | allHisto | ) | const [inline] |
Definition at line 281 of file FlavourHistorgrams.h.
References FlavourHistograms< T >::theHisto_all, FlavourHistograms< T >::theHisto_b, FlavourHistograms< T >::theHisto_c, FlavourHistograms< T >::theHisto_d, FlavourHistograms< T >::theHisto_dus, FlavourHistograms< T >::theHisto_dusg, FlavourHistograms< T >::theHisto_g, FlavourHistograms< T >::theHisto_ni, FlavourHistograms< T >::theHisto_s, and FlavourHistograms< T >::theHisto_u.
Referenced by TrackIPTagPlotter::write(), TrackProbabilityTagPlotter::write(), EffPurFromHistos::write(), JetTagPlotter::write(), SoftLeptonTagPlotter::write(), and TrackCountingTagPlotter::write().
00281 { 00282 // here: write histogram to specified output file 00283 if (allHisto && theHisto_all) theHisto_all ->Write() ; 00284 if (allHisto && theHisto_d) theHisto_d ->Write() ; 00285 if (allHisto && theHisto_u) theHisto_u ->Write() ; 00286 if (allHisto && theHisto_s) theHisto_s ->Write() ; 00287 if (theHisto_c)theHisto_c ->Write() ; 00288 if (theHisto_b)theHisto_b ->Write() ; 00289 if (theHisto_g)theHisto_g ->Write() ; 00290 if (allHisto && theHisto_ni) theHisto_ni ->Write() ; 00291 if (theHisto_dus)theHisto_dus ->Write() ; 00292 if (theHisto_dusg)theHisto_dusg->Write() ; 00293 }
bool FlavourHistograms< T >::mcPlots_ [private] |
Definition at line 145 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::divide(), FlavourHistograms< T >::fillVariable(), FlavourHistograms< T >::FlavourHistograms(), FlavourHistograms< T >::getHistoVector(), and FlavourHistograms< T >::settitle().
int* FlavourHistograms< T >::theArrayDimension [protected] |
Definition at line 104 of file FlavourHistorgrams.h.
int* FlavourHistograms< T >::theArrayDimension [protected] |
Definition at line 110 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::fill(), and FlavourHistograms< T >::FlavourHistograms().
TString FlavourHistograms< T >::theBaseNameDescription [protected] |
Definition at line 115 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< int >::baseNameDescription(), FlavourHistograms< T >::epsPlot(), FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< T >::plot().
TString FlavourHistograms< T >::theBaseNameTitle [protected] |
Definition at line 114 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< int >::baseNameTitle(), FlavourHistograms< T >::epsPlot(), and FlavourHistograms< T >::FlavourHistograms().
TCanvas* FlavourHistograms< T >::theCanvas [protected] |
Definition at line 133 of file FlavourHistorgrams.h.
TCanvas* FlavourHistograms< T >::theCanvas [protected] |
Definition at line 141 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< T >::~FlavourHistograms().
TH1F* FlavourHistograms< T >::theHisto_all [protected] |
Definition at line 120 of file FlavourHistorgrams.h.
MonitorElement* FlavourHistograms< T >::theHisto_all [protected] |
Definition at line 126 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::divide(), FlavourHistograms< T >::fillVariable(), FlavourHistograms< T >::FlavourHistograms(), FlavourHistograms< T >::getHistoVector(), FlavourHistograms< int >::histo_all(), FlavourHistograms< T >::settitle(), and FlavourHistograms< T >::write().
TH1F* FlavourHistograms< T >::theHisto_b [protected] |
Definition at line 125 of file FlavourHistorgrams.h.
MonitorElement* FlavourHistograms< T >::theHisto_b [protected] |
Definition at line 131 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::divide(), FlavourHistograms< T >::fillVariable(), FlavourHistograms< T >::FlavourHistograms(), FlavourHistograms< T >::getHistoVector(), FlavourHistograms< int >::histo_b(), FlavourHistograms< T >::plot(), FlavourHistograms< T >::settitle(), and FlavourHistograms< T >::write().
TH1F* FlavourHistograms< T >::theHisto_c [protected] |
Definition at line 124 of file FlavourHistorgrams.h.
MonitorElement* FlavourHistograms< T >::theHisto_c [protected] |
Definition at line 130 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::divide(), FlavourHistograms< T >::fillVariable(), FlavourHistograms< T >::FlavourHistograms(), FlavourHistograms< T >::getHistoVector(), FlavourHistograms< int >::histo_c(), FlavourHistograms< T >::plot(), FlavourHistograms< T >::settitle(), and FlavourHistograms< T >::write().
TH1F* FlavourHistograms< T >::theHisto_d [protected] |
Definition at line 121 of file FlavourHistorgrams.h.
MonitorElement* FlavourHistograms< T >::theHisto_d [protected] |
Definition at line 127 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::divide(), FlavourHistograms< T >::fillVariable(), FlavourHistograms< T >::FlavourHistograms(), FlavourHistograms< T >::getHistoVector(), FlavourHistograms< int >::histo_d(), FlavourHistograms< T >::settitle(), and FlavourHistograms< T >::write().
TH1F* FlavourHistograms< T >::theHisto_dus [protected] |
Definition at line 128 of file FlavourHistorgrams.h.
MonitorElement* FlavourHistograms< T >::theHisto_dus [protected] |
Definition at line 134 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::divide(), FlavourHistograms< T >::fillVariable(), FlavourHistograms< T >::FlavourHistograms(), FlavourHistograms< T >::getHistoVector(), FlavourHistograms< int >::histo_dus(), FlavourHistograms< T >::settitle(), and FlavourHistograms< T >::write().
TH1F* FlavourHistograms< T >::theHisto_dusg [protected] |
Definition at line 129 of file FlavourHistorgrams.h.
MonitorElement* FlavourHistograms< T >::theHisto_dusg [protected] |
Definition at line 135 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::divide(), FlavourHistograms< T >::fillVariable(), FlavourHistograms< T >::FlavourHistograms(), FlavourHistograms< T >::getHistoVector(), FlavourHistograms< int >::histo_dusg(), FlavourHistograms< T >::plot(), FlavourHistograms< T >::settitle(), and FlavourHistograms< T >::write().
TH1F* FlavourHistograms< T >::theHisto_g [protected] |
Definition at line 126 of file FlavourHistorgrams.h.
MonitorElement* FlavourHistograms< T >::theHisto_g [protected] |
Definition at line 132 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::divide(), FlavourHistograms< T >::fillVariable(), FlavourHistograms< T >::FlavourHistograms(), FlavourHistograms< T >::getHistoVector(), FlavourHistograms< int >::histo_g(), FlavourHistograms< T >::settitle(), and FlavourHistograms< T >::write().
TH1F* FlavourHistograms< T >::theHisto_ni [protected] |
Definition at line 127 of file FlavourHistorgrams.h.
MonitorElement* FlavourHistograms< T >::theHisto_ni [protected] |
Definition at line 133 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::divide(), FlavourHistograms< T >::fillVariable(), FlavourHistograms< T >::FlavourHistograms(), FlavourHistograms< T >::getHistoVector(), FlavourHistograms< int >::histo_ni(), FlavourHistograms< T >::plot(), FlavourHistograms< T >::settitle(), and FlavourHistograms< T >::write().
TH1F* FlavourHistograms< T >::theHisto_s [protected] |
Definition at line 123 of file FlavourHistorgrams.h.
MonitorElement* FlavourHistograms< T >::theHisto_s [protected] |
Definition at line 129 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::divide(), FlavourHistograms< T >::fillVariable(), FlavourHistograms< T >::FlavourHistograms(), FlavourHistograms< T >::getHistoVector(), FlavourHistograms< int >::histo_s(), FlavourHistograms< T >::settitle(), and FlavourHistograms< T >::write().
TH1F* FlavourHistograms< T >::theHisto_u [protected] |
Definition at line 122 of file FlavourHistorgrams.h.
MonitorElement* FlavourHistograms< T >::theHisto_u [protected] |
Definition at line 128 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::divide(), FlavourHistograms< T >::fillVariable(), FlavourHistograms< T >::FlavourHistograms(), FlavourHistograms< T >::getHistoVector(), FlavourHistograms< int >::histo_u(), FlavourHistograms< T >::settitle(), and FlavourHistograms< T >::write().
int FlavourHistograms< T >::theIndexToPlot [protected] |
Definition at line 112 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::fill(), and FlavourHistograms< T >::FlavourHistograms().
double FlavourHistograms< T >::theLowerBound [protected] |
Definition at line 117 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< int >::lowerBound().
double FlavourHistograms< T >::theMax [protected] |
Definition at line 123 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::plot(), and FlavourHistograms< int >::SetMaximum().
int FlavourHistograms< T >::theMaxDimension [protected] |
Definition at line 111 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::fill(), and FlavourHistograms< T >::FlavourHistograms().
double FlavourHistograms< T >::theMin [protected] |
Definition at line 123 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::plot(), and FlavourHistograms< int >::SetMinimum().
int FlavourHistograms< T >::theNBins [protected] |
Definition at line 116 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< int >::nBins().
TString FlavourHistograms< T >::thePlotFirst [protected] |
Definition at line 122 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), FlavourHistograms< T >::plot(), and FlavourHistograms< int >::plotFirst().
bool FlavourHistograms< T >::thePlotLog [protected] |
Definition at line 120 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::plot(), and FlavourHistograms< int >::plotLog().
bool FlavourHistograms< T >::thePlotNormalized [protected] |
Definition at line 121 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::plot(), and FlavourHistograms< int >::plotNormalized().
bool FlavourHistograms< T >::theStatistics [protected] |
Definition at line 119 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< int >::statistics().
double FlavourHistograms< T >::theUpperBound [protected] |
Definition at line 118 of file FlavourHistorgrams.h.
Referenced by FlavourHistograms< T >::FlavourHistograms(), and FlavourHistograms< int >::upperBound().