CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes
FlavourHistograms2D< T, G > Class Template Reference

#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 float &w) 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 float &w) const
 
 FlavourHistograms2D (TString baseNameTitle_, TString baseNameDescription_, int nBinsX_, double lowerBoundX_, double upperBoundX_, int nBinsY_, double lowerBoundY_, double upperBoundY_, std::string folder, unsigned int mc, bool createProfile, DQMStore::IGetter &iget)
 
 FlavourHistograms2D (TString baseNameTitle_, TString baseNameDescription_, int nBinsX_, double lowerBoundX_, double upperBoundX_, int nBinsY_, double lowerBoundY_, double upperBoundY_, bool statistics_, std::string folder, unsigned int mc, bool createProfile, DQMStore::IBooker &ibook)
 
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_pu () 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_pu () 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 float &w) const
 

Protected Attributes

int * theArrayDimension
 
std::string theBaseNameDescription
 
std::string theBaseNameTitle
 
MonitorElementtheHisto_all
 
MonitorElementtheHisto_b
 
MonitorElementtheHisto_c
 
MonitorElementtheHisto_d
 
MonitorElementtheHisto_dus
 
MonitorElementtheHisto_dusg
 
MonitorElementtheHisto_g
 
MonitorElementtheHisto_ni
 
MonitorElementtheHisto_pu
 
MonitorElementtheHisto_s
 
MonitorElementtheHisto_u
 
int theIndexToPlot
 
double theLowerBoundX
 
double theLowerBoundY
 
double theMax
 
int theMaxDimension
 
double theMin
 
int theNBinsX
 
int theNBinsY
 
MonitorElementtheProfile_all
 
MonitorElementtheProfile_b
 
MonitorElementtheProfile_c
 
MonitorElementtheProfile_d
 
MonitorElementtheProfile_dus
 
MonitorElementtheProfile_dusg
 
MonitorElementtheProfile_g
 
MonitorElementtheProfile_ni
 
MonitorElementtheProfile_pu
 
MonitorElementtheProfile_s
 
MonitorElementtheProfile_u
 
bool theStatistics
 
double theUpperBoundX
 
double theUpperBoundY
 

Private Member Functions

 FlavourHistograms2D ()
 

Private Attributes

bool createProfile_
 
unsigned int mcPlots_
 

Detailed Description

template<class T, class G>
class FlavourHistograms2D< T, G >

Definition at line 30 of file FlavourHistorgrams2D.h.

Constructor & Destructor Documentation

template<class T , class G >
FlavourHistograms2D< T, G >::FlavourHistograms2D ( TString  baseNameTitle_,
TString  baseNameDescription_,
int  nBinsX_,
double  lowerBoundX_,
double  upperBoundX_,
int  nBinsY_,
double  lowerBoundY_,
double  upperBoundY_,
std::string  folder,
unsigned int  mc,
bool  createProfile,
DQMStore::IGetter iget 
)

Definition at line 181 of file FlavourHistorgrams2D.h.

References FlavourHistograms2D< T, G >::createProfile_, DQMStore::IGetter::get(), FlavourHistograms2D< T, G >::mcPlots_, FlavourHistograms2D< T, G >::theArrayDimension, 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_pu, FlavourHistograms2D< T, G >::theHisto_s, FlavourHistograms2D< T, G >::theHisto_u, 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_pu, FlavourHistograms2D< T, G >::theProfile_s, and FlavourHistograms2D< T, G >::theProfile_u.

184  :
185  // BaseFlavourHistograms2D () ,
186  // theVariable ( variable_ ) ,
187  theMaxDimension(-1), theIndexToPlot(-1), theBaseNameTitle ( baseNameTitle_ ) , theBaseNameDescription ( baseNameDescription_ ) ,
188  theNBinsX ( nBinsX_ ) , theNBinsY (nBinsY_),
189  theLowerBoundX ( lowerBoundX_ ) , theUpperBoundX ( upperBoundX_ ) ,
190  theLowerBoundY ( lowerBoundY_ ) , theUpperBoundY ( upperBoundY_ ) ,
191  theMin(-1.), theMax(-1.), mcPlots_(mc), createProfile_(createProfile)
192 {
193  // defaults for array dimensions
194  theArrayDimension = 0 ;
195 
196  if(mcPlots_%2 == 0) theHisto_all = iget.get("Btag/" + folder + "/" + theBaseNameTitle + "ALL" ) ;
197  else theHisto_all = 0;
198  if (mcPlots_) {
199  if (mcPlots_>2) {
200  theHisto_d = iget.get("Btag/" + folder + "/" + theBaseNameTitle + "D" ) ;
201  theHisto_u = iget.get("Btag/" + folder + "/" + theBaseNameTitle + "U" ) ;
202  theHisto_s = iget.get("Btag/" + folder + "/" + theBaseNameTitle + "S" ) ;
203  theHisto_g = iget.get("Btag/" + folder + "/" + theBaseNameTitle + "G" ) ;
204  theHisto_dus = iget.get("Btag/" + folder + "/" + theBaseNameTitle + "DUS" ) ;
205  }
206  else {
207  theHisto_d = 0;
208  theHisto_u = 0;
209  theHisto_s = 0;
210  theHisto_g = 0;
211  theHisto_dus = 0;
212  }
213  theHisto_c = iget.get("Btag/" + folder + "/" + theBaseNameTitle + "C" ) ;
214  theHisto_b = iget.get("Btag/" + folder + "/" + theBaseNameTitle + "B" ) ;
215  theHisto_ni = iget.get("Btag/" + folder + "/" + theBaseNameTitle + "NI" ) ;
216  theHisto_dusg = iget.get("Btag/" + folder + "/" + theBaseNameTitle + "DUSG") ;
217  theHisto_pu = iget.get("Btag/" + folder + "/" + theBaseNameTitle + "PU" ) ;
218  }
219  else{
220  theHisto_d = 0;
221  theHisto_u = 0;
222  theHisto_s = 0;
223  theHisto_c = 0;
224  theHisto_b = 0;
225  theHisto_g = 0;
226  theHisto_ni = 0;
227  theHisto_dus = 0;
228  theHisto_dusg = 0;
229  theHisto_pu = 0;
230  }
231 
232  if(createProfile_) {
233  if(mcPlots_%2 == 0) theProfile_all = iget.get("Btag/" + folder + "/" + theBaseNameTitle + "_Profile_ALL");
234  else theProfile_all = 0;
235  if(mcPlots_) {
236  if (mcPlots_>2) {
237  theProfile_d = iget.get("Btag/" + folder + "/" + theBaseNameTitle + "_Profile_D" ) ;
238  theProfile_u = iget.get("Btag/" + folder + "/" + theBaseNameTitle + "_Profile_U" ) ;
239  theProfile_s = iget.get("Btag/" + folder + "/" + theBaseNameTitle + "_Profile_S" ) ;
240  theProfile_g = iget.get("Btag/" + folder + "/" + theBaseNameTitle + "_Profile_G" ) ;
241  theProfile_dus = iget.get("Btag/" + folder + "/" + theBaseNameTitle + "_Profile_DUS" ) ;
242  }
243  else {
244  theProfile_d = 0;
245  theProfile_u = 0;
246  theProfile_s = 0;
247  theProfile_g = 0;
248  theProfile_dus = 0;
249  }
250  theProfile_c = iget.get("Btag/" + folder + "/" + theBaseNameTitle + "_Profile_C" ) ;
251  theProfile_b = iget.get("Btag/" + folder + "/" + theBaseNameTitle + "_Profile_B" ) ;
252  theProfile_ni = iget.get("Btag/" + folder + "/" + theBaseNameTitle + "_Profile_NI" ) ;
253  theProfile_dusg = iget.get("Btag/" + folder + "/" + theBaseNameTitle + "_Profile_DUSG") ;
254  theProfile_pu = iget.get("Btag/" + folder + "/" + theBaseNameTitle + "_Profile_PU" ) ;
255  }
256  else{
257  theProfile_d = 0;
258  theProfile_u = 0;
259  theProfile_s = 0;
260  theProfile_c = 0;
261  theProfile_b = 0;
262  theProfile_g = 0;
263  theProfile_ni = 0;
264  theProfile_dus = 0;
265  theProfile_dusg = 0;
266  theProfile_pu = 0;
267  }
268  }
269  else {
270  theProfile_all = 0;
271  theProfile_d = 0;
272  theProfile_u = 0;
273  theProfile_s = 0;
274  theProfile_c = 0;
275  theProfile_b = 0;
276  theProfile_g = 0;
277  theProfile_ni = 0;
278  theProfile_dus = 0;
279  theProfile_dusg = 0;
280  theProfile_pu = 0;
281  }
282 }
std::string theBaseNameDescription
MonitorElement * theProfile_s
MonitorElement * theProfile_pu
MonitorElement * theHisto_g
MonitorElement * theProfile_dusg
MonitorElement * theHisto_dusg
MonitorElement * get(const std::string &path)
Definition: DQMStore.cc:302
MonitorElement * theHisto_u
MonitorElement * theHisto_c
MonitorElement * theHisto_pu
MonitorElement * theProfile_all
MonitorElement * theProfile_ni
MonitorElement * theHisto_dus
MonitorElement * theProfile_u
MonitorElement * theHisto_s
MonitorElement * theProfile_b
MonitorElement * theProfile_c
MonitorElement * theProfile_d
MonitorElement * theProfile_dus
MonitorElement * theHisto_all
MonitorElement * theProfile_g
MonitorElement * theHisto_b
MonitorElement * theHisto_ni
MonitorElement * theHisto_d
template<class T , class G >
FlavourHistograms2D< T, G >::FlavourHistograms2D ( TString  baseNameTitle_,
TString  baseNameDescription_,
int  nBinsX_,
double  lowerBoundX_,
double  upperBoundX_,
int  nBinsY_,
double  lowerBoundY_,
double  upperBoundY_,
bool  statistics_,
std::string  folder,
unsigned int  mc,
bool  createProfile,
DQMStore::IBooker ibook 
)

Definition at line 285 of file FlavourHistorgrams2D.h.

References 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_pu, 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_pu, FlavourHistograms2D< T, G >::theProfile_s, FlavourHistograms2D< T, G >::theProfile_u, FlavourHistograms2D< T, G >::theStatistics, FlavourHistograms2D< T, G >::theUpperBoundX, and FlavourHistograms2D< T, G >::theUpperBoundY.

289  :
290  theMaxDimension(-1), theIndexToPlot(-1), theBaseNameTitle ( baseNameTitle_ ) , theBaseNameDescription ( baseNameDescription_ ) ,
291  theNBinsX ( nBinsX_ ) , theNBinsY (nBinsY_),
292  theLowerBoundX ( lowerBoundX_ ) , theUpperBoundX ( upperBoundX_ ) ,
293  theLowerBoundY ( lowerBoundY_ ) , theUpperBoundY ( upperBoundY_ ) ,
294  theStatistics ( statistics_ ) , theMin(-1.), theMax(-1.), mcPlots_(mc), createProfile_(createProfile)
295 {
296  // defaults for array dimensions
297  theArrayDimension = 0 ;
298 
299  // book histos
300  HistoProviderDQM prov("Btag",folder,ibook);
302  else theHisto_all = 0;
303  if (mcPlots_) {
304  if (mcPlots_>2) {
310  }
311  else {
312  theHisto_d = 0;
313  theHisto_u = 0;
314  theHisto_s = 0;
315  theHisto_g = 0;
316  theHisto_dus = 0;
317  }
323  }else{
324  theHisto_d = 0;
325  theHisto_u = 0;
326  theHisto_s = 0;
327  theHisto_c = 0;
328  theHisto_b = 0;
329  theHisto_g = 0;
330  theHisto_ni = 0;
331  theHisto_dus = 0;
332  theHisto_dusg = 0;
333  theHisto_pu = 0;
334  }
335 
336  if (createProfile_) {
337  if(mcPlots_%2 == 0) theProfile_all = (prov.bookProfile( theBaseNameTitle + "_Profile_ALL" , theBaseNameDescription + " all jets" , theNBinsX, theLowerBoundX, theUpperBoundX, theNBinsY, theLowerBoundY, theUpperBoundY));
338  else theProfile_all = 0;
339  if (mcPlots_) {
340  if (mcPlots_>2) {
345  theProfile_dus = (prov.bookProfile ( theBaseNameTitle + "_Profile_DUS" , theBaseNameDescription + " dus-jets" , theNBinsX , theLowerBoundX , theUpperBoundX , theNBinsY, theLowerBoundY, theUpperBoundY)) ;
346  }
347  else {
348  theProfile_d = 0;
349  theProfile_u = 0;
350  theProfile_s = 0;
351  theProfile_g = 0;
352  theProfile_dus = 0;
353  }
357  theProfile_dusg = (prov.bookProfile ( theBaseNameTitle + "_Profile_DUSG" , theBaseNameDescription + " dusg-jets" , theNBinsX , theLowerBoundX , theUpperBoundX , theNBinsY, theLowerBoundY, theUpperBoundY)) ;
359  } else{
360  theProfile_d = 0;
361  theProfile_u = 0;
362  theProfile_s = 0;
363  theProfile_c = 0;
364  theProfile_b = 0;
365  theProfile_g = 0;
366  theProfile_ni = 0;
367  theProfile_dus = 0;
368  theProfile_dusg = 0;
369  theProfile_pu = 0;
370  }
371  } else {
372  theProfile_all = 0;
373  theProfile_d = 0;
374  theProfile_u = 0;
375  theProfile_s = 0;
376  theProfile_c = 0;
377  theProfile_b = 0;
378  theProfile_g = 0;
379  theProfile_ni = 0;
380  theProfile_dus = 0;
381  theProfile_dusg = 0;
382  theProfile_pu = 0;
383  }
384  // statistics if requested
385  if ( theStatistics ) {
386  if(theHisto_all) theHisto_all ->getTH2F()->Sumw2() ;
387  if(createProfile)
388  if(theProfile_all) theProfile_all ->getTProfile()->Sumw2() ;
389  if (mcPlots_) {
390  if (mcPlots_>2) {
391  theHisto_d ->getTH2F()->Sumw2() ;
392  theHisto_u ->getTH2F()->Sumw2() ;
393  theHisto_s ->getTH2F()->Sumw2() ;
394  theHisto_g ->getTH2F()->Sumw2() ;
395  theHisto_dus ->getTH2F()->Sumw2() ;
396  }
397  theHisto_c ->getTH2F()->Sumw2() ;
398  theHisto_b ->getTH2F()->Sumw2() ;
399  theHisto_ni ->getTH2F()->Sumw2() ;
400  theHisto_dusg->getTH2F()->Sumw2() ;
401  theHisto_pu ->getTH2F()->Sumw2() ;
402 
403  if(createProfile) {
404  if (mcPlots_>2) {
405  theProfile_d ->getTProfile()->Sumw2() ;
406  theProfile_u ->getTProfile()->Sumw2() ;
407  theProfile_s ->getTProfile()->Sumw2() ;
408  theProfile_g ->getTProfile()->Sumw2() ;
409  theProfile_dus ->getTProfile()->Sumw2() ;
410  }
411  theProfile_c ->getTProfile()->Sumw2() ;
412  theProfile_b ->getTProfile()->Sumw2() ;
413  theProfile_ni ->getTProfile()->Sumw2() ;
414  theProfile_dusg->getTProfile()->Sumw2() ;
415  theProfile_pu ->getTProfile()->Sumw2() ;
416  }
417  }
418  }
419 }
std::string theBaseNameDescription
MonitorElement * theProfile_s
MonitorElement * theProfile_pu
MonitorElement * theHisto_g
MonitorElement * theProfile_dusg
MonitorElement * theHisto_dusg
MonitorElement * theHisto_u
MonitorElement * theHisto_c
MonitorElement * theHisto_pu
MonitorElement * theProfile_all
MonitorElement * theProfile_ni
MonitorElement * theHisto_dus
MonitorElement * theProfile_u
MonitorElement * theHisto_s
MonitorElement * theProfile_b
MonitorElement * theProfile_c
MonitorElement * theProfile_d
MonitorElement * theProfile_dus
MonitorElement * theHisto_all
TProfile * getTProfile(void) const
TH2F * getTH2F(void) const
MonitorElement * theProfile_g
MonitorElement * theHisto_b
MonitorElement * theHisto_ni
MonitorElement * theHisto_d
template<class T , class G >
FlavourHistograms2D< T, G >::~FlavourHistograms2D ( )
virtual

Definition at line 422 of file FlavourHistorgrams2D.h.

422 {}
template<class T, class G>
FlavourHistograms2D< T, G >::FlavourHistograms2D ( )
inlineprivate

Definition at line 171 of file FlavourHistorgrams2D.h.

171 {}

Member Function Documentation

template<class T, class G>
std::string FlavourHistograms2D< T, G >::baseNameDescription ( ) const
inline

Definition at line 74 of file FlavourHistorgrams2D.h.

74 { return theBaseNameDescription ; }
std::string theBaseNameDescription
template<class T, class G>
std::string FlavourHistograms2D< T, G >::baseNameTitle ( ) const
inline

Definition at line 73 of file FlavourHistorgrams2D.h.

73 { return theBaseNameTitle ; }
template<class T, class G>
void FlavourHistograms2D< T, G >::divide ( const FlavourHistograms2D< T, G > &  bHD) const

Definition at line 530 of file FlavourHistorgrams2D.h.

References MultipleCompare::Divide(), 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_pu(), FlavourHistograms2D< T, G >::histo_s(), and FlavourHistograms2D< T, G >::histo_u().

Referenced by python.rootplot.utilities.Hist::__div__(), and cuy.FindIssue::__init__().

530  {
531  // divide histos using binomial errors
532  //
533  // ATTENTION: It's the responsability of the user to make sure that the HistoDescriptions
534  // involved in this operation have been constructed with the statistics option switched on!!
535  //
536  if(theHisto_all) theHisto_all ->getTH2F()-> Divide ( theHisto_all->getTH2F() , bHD.histo_all () , 1.0 , 1.0 , "b" ) ;
537  if (mcPlots_) {
538  if (mcPlots_>2) {
539  theHisto_d ->getTH2F()-> Divide ( theHisto_d ->getTH2F() , bHD.histo_d () , 1.0 , 1.0 , "b" ) ;
540  theHisto_u ->getTH2F()-> Divide ( theHisto_u ->getTH2F() , bHD.histo_u () , 1.0 , 1.0 , "b" ) ;
541  theHisto_s ->getTH2F()-> Divide ( theHisto_s ->getTH2F() , bHD.histo_s () , 1.0 , 1.0 , "b" ) ;
542  theHisto_g ->getTH2F()-> Divide ( theHisto_g ->getTH2F() , bHD.histo_g () , 1.0 , 1.0 , "b" ) ;
543  theHisto_dus ->getTH2F()-> Divide ( theHisto_dus->getTH2F() , bHD.histo_dus () , 1.0 , 1.0 , "b" ) ;
544  }
545  theHisto_c ->getTH2F()-> Divide ( theHisto_c ->getTH2F() , bHD.histo_c () , 1.0 , 1.0 , "b" ) ;
546  theHisto_b ->getTH2F()-> Divide ( theHisto_b ->getTH2F() , bHD.histo_b () , 1.0 , 1.0 , "b" ) ;
547  theHisto_ni ->getTH2F()-> Divide ( theHisto_ni->getTH2F() , bHD.histo_ni () , 1.0 , 1.0 , "b" ) ;
548  theHisto_dusg ->getTH2F()-> Divide ( theHisto_dusg->getTH2F() , bHD.histo_dusg() , 1.0 , 1.0 , "b" ) ;
549  theHisto_pu ->getTH2F()-> Divide ( theHisto_pu->getTH2F() , bHD.histo_pu () , 1.0 , 1.0 , "b" ) ;
550  }
551 }
MonitorElement * theHisto_g
TH2F * histo_all() const
MonitorElement * theHisto_dusg
MonitorElement * theHisto_u
MonitorElement * theHisto_c
MonitorElement * theHisto_pu
MonitorElement * theHisto_dus
TH2F * histo_dusg() const
MonitorElement * theHisto_s
TH2F * histo_dus() const
TH2F * histo_pu() const
TH2F * histo_ni() const
MonitorElement * theHisto_all
TH2F * getTH2F(std::string name, std::string process, std::string rootfolder, DQMStore *dbe_, bool verb, bool clone)
TH2F * getTH2F(void) const
MonitorElement * theHisto_b
MonitorElement * theHisto_ni
MonitorElement * theHisto_d
template<class T, class G>
void FlavourHistograms2D< T, G >::fill ( const int &  flavour,
const T variableX,
const G &  variableY 
) const

Definition at line 433 of file FlavourHistorgrams2D.h.

References lumiContext::fill.

Referenced by TagCorrelationPlotter::analyzeTags().

434 {
435  fill ( flavour , variableX , variableY , 1. ) ;
436 }
void fill(const int &flavour, const T &variableX, const G &variableY) const
int flavour(const Candidate &part)
Definition: pdgIdUtils.h:31
template<class T, class G>
void FlavourHistograms2D< T, G >::fill ( const int &  flavour,
const T variableX,
const G &  variableY,
const float &  w 
) const

Definition at line 426 of file FlavourHistorgrams2D.h.

427 {
428  // For single variables and arrays (for arrays only a single index can be filled)
429  fillVariable ( flavour , variableX , variableY , w ) ;
430 }
const double w
Definition: UKUtility.cc:23
int flavour(const Candidate &part)
Definition: pdgIdUtils.h:31
void fillVariable(const int &flavour, const T &varX, const G &varY, const float &w) const
template<class T, class G>
void FlavourHistograms2D< T, G >::fill ( const int &  flavour,
const T variableX,
const G *  variableY 
) const

Definition at line 467 of file FlavourHistorgrams2D.h.

References lumiContext::fill.

468 {
469  fill ( flavour, variableX , variableY , 1. );
470 }
void fill(const int &flavour, const T &variableX, const G &variableY) const
int flavour(const Candidate &part)
Definition: pdgIdUtils.h:31
template<class T, class G>
void FlavourHistograms2D< T, G >::fill ( const int &  flavour,
const T variableX,
const G *  variableY,
const float &  w 
) const

Definition at line 439 of file FlavourHistorgrams2D.h.

References callgraph::G, and i.

440 {
441  if ( theArrayDimension == 0 ) {
442  // single variable
443  fillVariable ( flavour , *variableX, *variableY , w) ;
444  } else {
445  // array
446  int iMax = *theArrayDimension ;
448  //
449  for ( int i = 0 ; i != iMax ; ++i ) {
450  // check if only one index to be plotted (<0: switched off -> plot all)
451  if ( ( theIndexToPlot < 0 ) || ( i == theIndexToPlot ) ) {
452  fillVariable ( flavour , *(variableX+i) , *(variableY+i) , w) ;
453  }
454  }
455 
456  // if single index to be filled but not enough entries: fill 0.0 (convention!)
457  if ( theIndexToPlot >= iMax ) {
458  // cout << "==>> The index to be filled is too big -> fill 0.0 : " << theBaseNameTitle << " : " << theIndexToPlot << " >= " << iMax << endl ;
459  const T& theZeroT = static_cast<T> ( 0.0) ;
460  const G& theZeroG = static_cast<T> ( 0.0 );
461  fillVariable ( flavour , theZeroT , theZeroG , w ) ;
462  }
463  }
464 }
int i
Definition: DBlmapReader.cc:9
const double w
Definition: UKUtility.cc:23
tuple G
Definition: callgraph.py:12
long double T
int flavour(const Candidate &part)
Definition: pdgIdUtils.h:31
void fillVariable(const int &flavour, const T &varX, const G &varY, const float &w) const
template<class T, class G>
void FlavourHistograms2D< T, G >::fillVariable ( const int &  flavour,
const T varX,
const G &  varY,
const float &  w 
) const
protected

Definition at line 555 of file FlavourHistorgrams2D.h.

555  {
556  // all
557  if(theHisto_all) theHisto_all->Fill ( varX, varY,w ) ;
558  if(createProfile_)
559  //if(theProfile_all) theProfile_all->Fill( varX, varY, w );
560  if(theProfile_all) theProfile_all->Fill( varX, varY);
561 
562  //exit(-1);
563  // flavour specific
564  if (!mcPlots_) return;
565 
566  switch( flavour ) {
567  case 1:
568  if (mcPlots_>2) {
569  theHisto_d->Fill( varX, varY,w );
570  theHisto_dus->Fill( varX, varY,w );
571  }
572  theHisto_dusg->Fill( varX, varY,w );
573  if(createProfile_) {
574  //theProfile_d->Fill(varX, varY,w);
575  //theProfile_dus->Fill(varX, varY,w);
576  //theProfile_dusg->Fill(varX, varY,w);
577  if (mcPlots_>2) {
578  theProfile_d->Fill(varX, varY);
579  theProfile_dus->Fill(varX, varY);
580  }
581  theProfile_dusg->Fill(varX, varY);
582  }
583  return;
584  case 2:
585  if (mcPlots_>2) {
586  theHisto_u->Fill( varX, varY,w );
587  theHisto_dus->Fill( varX, varY,w );
588  }
589  theHisto_dusg->Fill( varX, varY,w );
590  if(createProfile_) {
591  //theProfile_u->Fill(varX, varY,w);
592  //theProfile_dus->Fill(varX, varY,w);
593  //theProfile_dusg->Fill(varX, varY,w);
594  if (mcPlots_>2) {
595  theProfile_u->Fill(varX, varY);
596  theProfile_dus->Fill(varX, varY);
597  }
598  theProfile_dusg->Fill(varX, varY);
599  }
600  return;
601  case 3:
602  if (mcPlots_>2) {
603  theHisto_s->Fill( varX, varY,w );
604  theHisto_dus->Fill( varX, varY,w );
605  }
606  theHisto_dusg->Fill( varX, varY,w );
607  if(createProfile_) {
608  //theProfile_s->Fill(varX, varY,w);
609  //theProfile_dus->Fill(varX, varY,w);
610  //theProfile_dusg->Fill(varX, varY,w);
611  if (mcPlots_>2) {
612  theProfile_s->Fill(varX, varY);
613  theProfile_dus->Fill(varX, varY);
614  }
615  theProfile_dusg->Fill(varX, varY);
616  }
617  return;
618  case 4:
619  theHisto_c->Fill( varX, varY,w );
620  //if(createProfile_) theProfile_c->Fill(varX, varY,w);
621  if(createProfile_) theProfile_c->Fill(varX, varY);
622  return;
623  case 5:
624  theHisto_b->Fill( varX, varY,w );
625  //if(createProfile_) theProfile_b->Fill(varX, varY,w);
626  if(createProfile_) theProfile_b->Fill(varX, varY);
627  return;
628  case 21:
629  if (mcPlots_>2) theHisto_g->Fill( varX, varY,w );
630  theHisto_dusg->Fill( varX, varY,w );
631  if(createProfile_) {
632  //theProfile_g->Fill(varX, varY,w);
633  //theProfile_dusg->Fill(varX, varY,w);
634  if (mcPlots_>2) theProfile_g->Fill(varX, varY);
635  theProfile_dusg->Fill(varX, varY);
636  }
637  return;
638  case 20:
639  theHisto_pu->Fill( varX, varY,w );
640  //if(createProfile_) theProfile_pu->Fill(varX, varY,w);
641  if(createProfile_) theProfile_pu->Fill(varX, varY);
642  return;
643  default:
644  theHisto_ni->Fill( varX, varY,w );
645  //if(createProfile_) theProfile_ni->Fill(varX, varY,w);
646  if(createProfile_) theProfile_ni->Fill(varX, varY);
647  return;
648  }
649 }
MonitorElement * theProfile_s
MonitorElement * theProfile_pu
const double w
Definition: UKUtility.cc:23
MonitorElement * theHisto_g
MonitorElement * theProfile_dusg
MonitorElement * theHisto_dusg
MonitorElement * theHisto_u
void Fill(long long x)
MonitorElement * theHisto_c
MonitorElement * theHisto_pu
MonitorElement * theProfile_all
MonitorElement * theProfile_ni
MonitorElement * theHisto_dus
MonitorElement * theProfile_u
MonitorElement * theHisto_s
MonitorElement * theProfile_b
MonitorElement * theProfile_c
MonitorElement * theProfile_d
MonitorElement * theProfile_dus
MonitorElement * theHisto_all
MonitorElement * theProfile_g
MonitorElement * theHisto_b
int flavour(const Candidate &part)
Definition: pdgIdUtils.h:31
MonitorElement * theHisto_ni
MonitorElement * theHisto_d
template<class T , class G >
std::vector< TH2F * > FlavourHistograms2D< T, G >::getHistoVector ( ) const

Definition at line 652 of file FlavourHistorgrams2D.h.

References getTH2F().

653 {
654  std::vector<TH2F*> histoVector;
655  if(theHisto_all) histoVector.push_back ( theHisto_all->getTH2F() );
656  if (mcPlots_) {
657  if (mcPlots_>2) {
658  histoVector.push_back ( theHisto_d->getTH2F() );
659  histoVector.push_back ( theHisto_u->getTH2F() );
660  histoVector.push_back ( theHisto_s->getTH2F() );
661  histoVector.push_back ( theHisto_g ->getTH2F() );
662  histoVector.push_back ( theHisto_dus->getTH2F() );
663  }
664  histoVector.push_back ( theHisto_c->getTH2F() );
665  histoVector.push_back ( theHisto_b->getTH2F() );
666  histoVector.push_back ( theHisto_ni->getTH2F() );
667  histoVector.push_back ( theHisto_dusg->getTH2F());
668  histoVector.push_back ( theHisto_pu->getTH2F() );
669  }
670  return histoVector;
671 }
MonitorElement * theHisto_g
MonitorElement * theHisto_dusg
MonitorElement * theHisto_u
MonitorElement * theHisto_c
MonitorElement * theHisto_pu
MonitorElement * theHisto_dus
MonitorElement * theHisto_s
MonitorElement * theHisto_all
TH2F * getTH2F(std::string name, std::string process, std::string rootfolder, DQMStore *dbe_, bool verb, bool clone)
TH2F * getTH2F(void) const
MonitorElement * theHisto_b
MonitorElement * theHisto_ni
MonitorElement * theHisto_d
template<class T , class G >
std::vector< TProfile * > FlavourHistograms2D< T, G >::getProfileVector ( ) const

Definition at line 674 of file FlavourHistorgrams2D.h.

References getTProfile().

675 {
676  std::vector<TProfile*> profileVector;
677  if(createProfile_) {
678  if(theProfile_all) profileVector.push_back ( theProfile_all->getTProfile() );
679  if (mcPlots_) {
680  if (mcPlots_>2) {
681  profileVector.push_back ( theProfile_d->getTProfile() );
682  profileVector.push_back ( theProfile_u->getTProfile() );
683  profileVector.push_back ( theProfile_s->getTProfile() );
684  profileVector.push_back ( theProfile_g ->getTProfile() );
685  profileVector.push_back ( theProfile_dus->getTProfile() );
686  }
687  profileVector.push_back ( theProfile_c->getTProfile() );
688  profileVector.push_back ( theProfile_b->getTProfile() );
689  profileVector.push_back ( theProfile_ni->getTProfile() );
690  profileVector.push_back ( theProfile_dusg->getTProfile());
691  profileVector.push_back ( theProfile_pu->getTProfile() );
692  }
693  }
694  return profileVector;
695 }
MonitorElement * theProfile_s
MonitorElement * theProfile_pu
TProfile * getTProfile(std::string name, std::string process, std::string rootfolder, DQMStore *dbe_, bool verb, bool clone)
MonitorElement * theProfile_dusg
MonitorElement * theProfile_all
MonitorElement * theProfile_ni
MonitorElement * theProfile_u
MonitorElement * theProfile_b
MonitorElement * theProfile_c
MonitorElement * theProfile_d
MonitorElement * theProfile_dus
TProfile * getTProfile(void) const
MonitorElement * theProfile_g
template<class T, class G>
TH2F* FlavourHistograms2D< T, G >::histo_all ( ) const
inline

Definition at line 84 of file FlavourHistorgrams2D.h.

Referenced by FlavourHistograms2D< T, G >::divide().

84 { return theHisto_all->getTH2F() ; }
MonitorElement * theHisto_all
TH2F * getTH2F(void) const
template<class T, class G>
TH2F* FlavourHistograms2D< T, G >::histo_b ( ) const
inline

Definition at line 89 of file FlavourHistorgrams2D.h.

Referenced by FlavourHistograms2D< T, G >::divide().

89 { return theHisto_b->getTH2F() ; }
TH2F * getTH2F(void) const
MonitorElement * theHisto_b
template<class T, class G>
TH2F* FlavourHistograms2D< T, G >::histo_c ( ) const
inline

Definition at line 88 of file FlavourHistorgrams2D.h.

Referenced by FlavourHistograms2D< T, G >::divide().

88 { return theHisto_c->getTH2F() ; }
MonitorElement * theHisto_c
TH2F * getTH2F(void) const
template<class T, class G>
TH2F* FlavourHistograms2D< T, G >::histo_d ( ) const
inline

Definition at line 85 of file FlavourHistorgrams2D.h.

Referenced by FlavourHistograms2D< T, G >::divide().

85 { return theHisto_d ->getTH2F() ; }
TH2F * getTH2F(void) const
MonitorElement * theHisto_d
template<class T, class G>
TH2F* FlavourHistograms2D< T, G >::histo_dus ( ) const
inline

Definition at line 92 of file FlavourHistorgrams2D.h.

Referenced by FlavourHistograms2D< T, G >::divide().

92 { return theHisto_dus->getTH2F() ; }
MonitorElement * theHisto_dus
TH2F * getTH2F(void) const
template<class T, class G>
TH2F* FlavourHistograms2D< T, G >::histo_dusg ( ) const
inline

Definition at line 93 of file FlavourHistorgrams2D.h.

Referenced by FlavourHistograms2D< T, G >::divide().

93 { return theHisto_dusg->getTH2F() ; }
MonitorElement * theHisto_dusg
TH2F * getTH2F(void) const
template<class T, class G>
TH2F* FlavourHistograms2D< T, G >::histo_g ( ) const
inline

Definition at line 90 of file FlavourHistorgrams2D.h.

Referenced by FlavourHistograms2D< T, G >::divide().

90 { return theHisto_g->getTH2F() ; }
MonitorElement * theHisto_g
TH2F * getTH2F(void) const
template<class T, class G>
TH2F* FlavourHistograms2D< T, G >::histo_ni ( ) const
inline

Definition at line 91 of file FlavourHistorgrams2D.h.

Referenced by FlavourHistograms2D< T, G >::divide().

91 { return theHisto_ni->getTH2F() ; }
TH2F * getTH2F(void) const
MonitorElement * theHisto_ni
template<class T, class G>
TH2F* FlavourHistograms2D< T, G >::histo_pu ( ) const
inline

Definition at line 94 of file FlavourHistorgrams2D.h.

Referenced by FlavourHistograms2D< T, G >::divide().

94 { return theHisto_pu->getTH2F() ; }
MonitorElement * theHisto_pu
TH2F * getTH2F(void) const
template<class T, class G>
TH2F* FlavourHistograms2D< T, G >::histo_s ( ) const
inline

Definition at line 87 of file FlavourHistorgrams2D.h.

Referenced by FlavourHistograms2D< T, G >::divide().

87 { return theHisto_s->getTH2F() ; }
MonitorElement * theHisto_s
TH2F * getTH2F(void) const
template<class T, class G>
TH2F* FlavourHistograms2D< T, G >::histo_u ( ) const
inline

Definition at line 86 of file FlavourHistorgrams2D.h.

Referenced by FlavourHistograms2D< T, G >::divide().

86 { return theHisto_u->getTH2F() ; }
MonitorElement * theHisto_u
TH2F * getTH2F(void) const
template<class T, class G>
double FlavourHistograms2D< T, G >::lowerBoundX ( ) const
inline

Definition at line 77 of file FlavourHistorgrams2D.h.

77 { return theLowerBoundX ; }
template<class T, class G>
double FlavourHistograms2D< T, G >::lowerBoundY ( ) const
inline

Definition at line 79 of file FlavourHistorgrams2D.h.

79 { return theLowerBoundY ; }
template<class T, class G>
int FlavourHistograms2D< T, G >::nBinsX ( ) const
inline

Definition at line 75 of file FlavourHistorgrams2D.h.

75 { return theNBinsX ; }
template<class T, class G>
int FlavourHistograms2D< T, G >::nBinsY ( ) const
inline

Definition at line 76 of file FlavourHistorgrams2D.h.

76 { return theNBinsY ; }
template<class T, class G>
TProfile* FlavourHistograms2D< T, G >::profile_all ( ) const
inline

Definition at line 96 of file FlavourHistorgrams2D.h.

96 { return theProfile_all->getTProfile() ; }
MonitorElement * theProfile_all
TProfile * getTProfile(void) const
template<class T, class G>
TProfile* FlavourHistograms2D< T, G >::profile_b ( ) const
inline

Definition at line 101 of file FlavourHistorgrams2D.h.

101 { return theProfile_b->getTProfile() ; }
MonitorElement * theProfile_b
TProfile * getTProfile(void) const
template<class T, class G>
TProfile* FlavourHistograms2D< T, G >::profile_c ( ) const
inline

Definition at line 100 of file FlavourHistorgrams2D.h.

100 { return theProfile_c->getTProfile() ; }
MonitorElement * theProfile_c
TProfile * getTProfile(void) const
template<class T, class G>
TProfile* FlavourHistograms2D< T, G >::profile_d ( ) const
inline

Definition at line 97 of file FlavourHistorgrams2D.h.

97 { return theProfile_d ->getTProfile() ; }
MonitorElement * theProfile_d
TProfile * getTProfile(void) const
template<class T, class G>
TProfile* FlavourHistograms2D< T, G >::profile_dus ( ) const
inline

Definition at line 104 of file FlavourHistorgrams2D.h.

104 { return theProfile_dus->getTProfile() ; }
MonitorElement * theProfile_dus
TProfile * getTProfile(void) const
template<class T, class G>
TProfile* FlavourHistograms2D< T, G >::profile_dusg ( ) const
inline

Definition at line 105 of file FlavourHistorgrams2D.h.

105 { return theProfile_dusg->getTProfile() ; }
MonitorElement * theProfile_dusg
TProfile * getTProfile(void) const
template<class T, class G>
TProfile* FlavourHistograms2D< T, G >::profile_g ( ) const
inline

Definition at line 102 of file FlavourHistorgrams2D.h.

102 { return theProfile_g->getTProfile() ; }
TProfile * getTProfile(void) const
MonitorElement * theProfile_g
template<class T, class G>
TProfile* FlavourHistograms2D< T, G >::profile_ni ( ) const
inline

Definition at line 103 of file FlavourHistorgrams2D.h.

103 { return theProfile_ni->getTProfile() ; }
MonitorElement * theProfile_ni
TProfile * getTProfile(void) const
template<class T, class G>
TProfile* FlavourHistograms2D< T, G >::profile_pu ( ) const
inline

Definition at line 106 of file FlavourHistorgrams2D.h.

106 { return theProfile_pu->getTProfile() ; }
MonitorElement * theProfile_pu
TProfile * getTProfile(void) const
template<class T, class G>
TProfile* FlavourHistograms2D< T, G >::profile_s ( ) const
inline

Definition at line 99 of file FlavourHistorgrams2D.h.

99 { return theProfile_s->getTProfile() ; }
MonitorElement * theProfile_s
TProfile * getTProfile(void) const
template<class T, class G>
TProfile* FlavourHistograms2D< T, G >::profile_u ( ) const
inline

Definition at line 98 of file FlavourHistorgrams2D.h.

98 { return theProfile_u->getTProfile() ; }
MonitorElement * theProfile_u
TProfile * getTProfile(void) const
template<class T, class G>
void FlavourHistograms2D< T, G >::SetMaximum ( const double &  max)
inline

Definition at line 68 of file FlavourHistorgrams2D.h.

template<class T, class G>
void FlavourHistograms2D< T, G >::SetMinimum ( const double &  min)
inline

Definition at line 69 of file FlavourHistorgrams2D.h.

69 { theMin = min;}
T min(T a, T b)
Definition: MathUtil.h:58
template<class T , class G >
void FlavourHistograms2D< T, G >::settitle ( const char *  titleX,
const char *  titleY 
)

Definition at line 473 of file FlavourHistorgrams2D.h.

Referenced by TagCorrelationPlotter::TagCorrelationPlotter().

473  {
474  if(theHisto_all) theHisto_all ->setAxisTitle(titleX) ;
475  if(theHisto_all) theHisto_all ->setAxisTitle(titleY, 2) ;
476  if (mcPlots_) {
477 
478  if(theHisto_d) theHisto_d ->setAxisTitle(titleX) ;
479  if(theHisto_u) theHisto_u ->setAxisTitle(titleX) ;
480  if(theHisto_s) theHisto_s ->setAxisTitle(titleX) ;
481  if(theHisto_c) theHisto_c ->setAxisTitle(titleX) ;
482  if(theHisto_b) theHisto_b ->setAxisTitle(titleX) ;
483  if(theHisto_g) theHisto_g ->setAxisTitle(titleX) ;
484  if(theHisto_ni) theHisto_ni ->setAxisTitle(titleX) ;
485  if(theHisto_dus) theHisto_dus ->setAxisTitle(titleX) ;
487  if(theHisto_d) theHisto_d ->setAxisTitle(titleY, 2) ;
488  if(theHisto_u) theHisto_u ->setAxisTitle(titleY, 2) ;
489  if(theHisto_s) theHisto_s ->setAxisTitle(titleY, 2) ;
490  if(theHisto_c) theHisto_c ->setAxisTitle(titleY, 2) ;
491  if(theHisto_b) theHisto_b ->setAxisTitle(titleY, 2) ;
492  if(theHisto_g) theHisto_g ->setAxisTitle(titleY, 2) ;
493  if(theHisto_ni) theHisto_ni ->setAxisTitle(titleY, 2) ;
494  if(theHisto_dus) theHisto_dus ->setAxisTitle(titleY, 2) ;
495  if(theHisto_dusg)theHisto_dusg->setAxisTitle(titleY, 2) ;
496  if(theHisto_pu) theHisto_pu ->setAxisTitle(titleY, 2) ;
497  }
498 
499  if(createProfile_) {
501  if(theProfile_all) theProfile_all ->setAxisTitle(titleY, 2) ;
502  if (mcPlots_) {
503 
504  if(theProfile_d) theProfile_d ->setAxisTitle(titleX) ;
505  if(theProfile_u) theProfile_u ->setAxisTitle(titleX) ;
506  if(theProfile_s) theProfile_s ->setAxisTitle(titleX) ;
507  if(theProfile_c) theProfile_c ->setAxisTitle(titleX) ;
508  if(theProfile_b) theProfile_b ->setAxisTitle(titleX) ;
509  if(theProfile_g) theProfile_g ->setAxisTitle(titleX) ;
513  if(theProfile_d) theProfile_d ->setAxisTitle(titleY, 2) ;
514  if(theProfile_u) theProfile_u ->setAxisTitle(titleY, 2) ;
515  if(theProfile_s) theProfile_s ->setAxisTitle(titleY, 2) ;
516  if(theProfile_c) theProfile_c ->setAxisTitle(titleY, 2) ;
517  if(theProfile_b) theProfile_b ->setAxisTitle(titleY, 2) ;
518  if(theProfile_g) theProfile_g ->setAxisTitle(titleY, 2) ;
519  if(theProfile_ni) theProfile_ni ->setAxisTitle(titleY, 2) ;
520  if(theProfile_dus) theProfile_dus ->setAxisTitle(titleY, 2) ;
522  if(theProfile_pu) theProfile_pu ->setAxisTitle(titleY, 2) ;
523  }
524  }
525 }
MonitorElement * theProfile_s
MonitorElement * theProfile_pu
MonitorElement * theHisto_g
MonitorElement * theProfile_dusg
MonitorElement * theHisto_dusg
MonitorElement * theHisto_u
MonitorElement * theHisto_c
MonitorElement * theHisto_pu
MonitorElement * theProfile_all
MonitorElement * theProfile_ni
MonitorElement * theHisto_dus
MonitorElement * theProfile_u
MonitorElement * theHisto_s
MonitorElement * theProfile_b
MonitorElement * theProfile_c
MonitorElement * theProfile_d
MonitorElement * theProfile_dus
MonitorElement * theHisto_all
MonitorElement * theProfile_g
MonitorElement * theHisto_b
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
MonitorElement * theHisto_ni
MonitorElement * theHisto_d
template<class T, class G>
bool FlavourHistograms2D< T, G >::statistics ( ) const
inline

Definition at line 81 of file FlavourHistorgrams2D.h.

81 { return theStatistics ; }
template<class T, class G>
double FlavourHistograms2D< T, G >::upperBoundX ( ) const
inline

Definition at line 78 of file FlavourHistorgrams2D.h.

78 { return theUpperBoundX ; }
template<class T, class G>
double FlavourHistograms2D< T, G >::upperBoundY ( ) const
inline

Definition at line 80 of file FlavourHistorgrams2D.h.

80 { return theUpperBoundY ; }

Member Data Documentation

template<class T, class G>
bool FlavourHistograms2D< T, G >::createProfile_
private
template<class T, class G>
unsigned int FlavourHistograms2D< T, G >::mcPlots_
private
template<class T, class G>
int* FlavourHistograms2D< T, G >::theArrayDimension
protected
template<class T, class G>
std::string FlavourHistograms2D< T, G >::theBaseNameDescription
protected
template<class T, class G>
std::string FlavourHistograms2D< T, G >::theBaseNameTitle
protected
template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theHisto_all
protected
template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theHisto_b
protected
template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theHisto_c
protected
template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theHisto_d
protected
template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theHisto_dus
protected
template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theHisto_dusg
protected
template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theHisto_g
protected
template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theHisto_ni
protected
template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theHisto_pu
protected
template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theHisto_s
protected
template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theHisto_u
protected
template<class T, class G>
int FlavourHistograms2D< T, G >::theIndexToPlot
protected

Definition at line 127 of file FlavourHistorgrams2D.h.

template<class T, class G>
double FlavourHistograms2D< T, G >::theLowerBoundX
protected
template<class T, class G>
double FlavourHistograms2D< T, G >::theLowerBoundY
protected
template<class T, class G>
double FlavourHistograms2D< T, G >::theMax
protected
template<class T, class G>
int FlavourHistograms2D< T, G >::theMaxDimension
protected

Definition at line 126 of file FlavourHistorgrams2D.h.

template<class T, class G>
double FlavourHistograms2D< T, G >::theMin
protected
template<class T, class G>
int FlavourHistograms2D< T, G >::theNBinsX
protected
template<class T, class G>
int FlavourHistograms2D< T, G >::theNBinsY
protected
template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theProfile_all
protected
template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theProfile_b
protected
template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theProfile_c
protected
template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theProfile_d
protected
template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theProfile_dus
protected
template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theProfile_dusg
protected
template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theProfile_g
protected
template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theProfile_ni
protected
template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theProfile_pu
protected
template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theProfile_s
protected
template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theProfile_u
protected
template<class T, class G>
bool FlavourHistograms2D< T, G >::theStatistics
protected
template<class T, class G>
double FlavourHistograms2D< T, G >::theUpperBoundX
protected
template<class T, class G>
double FlavourHistograms2D< T, G >::theUpperBoundY
protected