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 epsPlot (const std::string &name)
 
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
 
void plot (TPad *theCanvas=0)
 
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 setEfficiencyFlag ()
 
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 185 of file FlavourHistorgrams2D.h.

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 289 of file FlavourHistorgrams2D.h.

template<class T , class G >
FlavourHistograms2D< T, G >::~FlavourHistograms2D ( )
virtual

Definition at line 426 of file FlavourHistorgrams2D.h.

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

Definition at line 175 of file FlavourHistorgrams2D.h.

Member Function Documentation

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

Definition at line 78 of file FlavourHistorgrams2D.h.

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

Definition at line 77 of file FlavourHistorgrams2D.h.

template<class T, class G>
void FlavourHistograms2D< T, G >::divide ( const FlavourHistograms2D< T, G > &  bHD) const

Definition at line 636 of file FlavourHistorgrams2D.h.

template<class T , class G >
void FlavourHistograms2D< T, G >::epsPlot ( const std::string &  name)

Definition at line 625 of file FlavourHistorgrams2D.h.

template<class T, class G>
void FlavourHistograms2D< T, G >::fill ( const int &  flavour,
const T variableX,
const G &  variableY 
) const

Definition at line 437 of file FlavourHistorgrams2D.h.

Referenced by TagCorrelationPlotter::analyzeTags().

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 430 of file FlavourHistorgrams2D.h.

template<class T, class G>
void FlavourHistograms2D< T, G >::fill ( const int &  flavour,
const T variableX,
const G *  variableY 
) const

Definition at line 471 of file FlavourHistorgrams2D.h.

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 443 of file FlavourHistorgrams2D.h.

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 679 of file FlavourHistorgrams2D.h.

template<class T , class G >
std::vector< TH2F * > FlavourHistograms2D< T, G >::getHistoVector ( ) const

Definition at line 776 of file FlavourHistorgrams2D.h.

template<class T , class G >
std::vector< TProfile * > FlavourHistograms2D< T, G >::getProfileVector ( ) const

Definition at line 798 of file FlavourHistorgrams2D.h.

template<class T, class G>
TH2F* FlavourHistograms2D< T, G >::histo_all ( ) const
inline

Definition at line 88 of file FlavourHistorgrams2D.h.

template<class T, class G>
TH2F* FlavourHistograms2D< T, G >::histo_b ( ) const
inline

Definition at line 93 of file FlavourHistorgrams2D.h.

template<class T, class G>
TH2F* FlavourHistograms2D< T, G >::histo_c ( ) const
inline

Definition at line 92 of file FlavourHistorgrams2D.h.

template<class T, class G>
TH2F* FlavourHistograms2D< T, G >::histo_d ( ) const
inline

Definition at line 89 of file FlavourHistorgrams2D.h.

template<class T, class G>
TH2F* FlavourHistograms2D< T, G >::histo_dus ( ) const
inline

Definition at line 96 of file FlavourHistorgrams2D.h.

template<class T, class G>
TH2F* FlavourHistograms2D< T, G >::histo_dusg ( ) const
inline

Definition at line 97 of file FlavourHistorgrams2D.h.

template<class T, class G>
TH2F* FlavourHistograms2D< T, G >::histo_g ( ) const
inline

Definition at line 94 of file FlavourHistorgrams2D.h.

template<class T, class G>
TH2F* FlavourHistograms2D< T, G >::histo_ni ( ) const
inline

Definition at line 95 of file FlavourHistorgrams2D.h.

template<class T, class G>
TH2F* FlavourHistograms2D< T, G >::histo_pu ( ) const
inline

Definition at line 98 of file FlavourHistorgrams2D.h.

template<class T, class G>
TH2F* FlavourHistograms2D< T, G >::histo_s ( ) const
inline

Definition at line 91 of file FlavourHistorgrams2D.h.

template<class T, class G>
TH2F* FlavourHistograms2D< T, G >::histo_u ( ) const
inline

Definition at line 90 of file FlavourHistorgrams2D.h.

template<class T, class G>
double FlavourHistograms2D< T, G >::lowerBoundX ( ) const
inline

Definition at line 81 of file FlavourHistorgrams2D.h.

template<class T, class G>
double FlavourHistograms2D< T, G >::lowerBoundY ( ) const
inline

Definition at line 83 of file FlavourHistorgrams2D.h.

template<class T, class G>
int FlavourHistograms2D< T, G >::nBinsX ( ) const
inline

Definition at line 79 of file FlavourHistorgrams2D.h.

template<class T, class G>
int FlavourHistograms2D< T, G >::nBinsY ( ) const
inline

Definition at line 80 of file FlavourHistorgrams2D.h.

template<class T , class G >
void FlavourHistograms2D< T, G >::plot ( TPad *  theCanvas = 0)

Definition at line 532 of file FlavourHistorgrams2D.h.

template<class T, class G>
TProfile* FlavourHistograms2D< T, G >::profile_all ( ) const
inline

Definition at line 100 of file FlavourHistorgrams2D.h.

template<class T, class G>
TProfile* FlavourHistograms2D< T, G >::profile_b ( ) const
inline

Definition at line 105 of file FlavourHistorgrams2D.h.

template<class T, class G>
TProfile* FlavourHistograms2D< T, G >::profile_c ( ) const
inline

Definition at line 104 of file FlavourHistorgrams2D.h.

template<class T, class G>
TProfile* FlavourHistograms2D< T, G >::profile_d ( ) const
inline

Definition at line 101 of file FlavourHistorgrams2D.h.

template<class T, class G>
TProfile* FlavourHistograms2D< T, G >::profile_dus ( ) const
inline

Definition at line 108 of file FlavourHistorgrams2D.h.

template<class T, class G>
TProfile* FlavourHistograms2D< T, G >::profile_dusg ( ) const
inline

Definition at line 109 of file FlavourHistorgrams2D.h.

template<class T, class G>
TProfile* FlavourHistograms2D< T, G >::profile_g ( ) const
inline

Definition at line 106 of file FlavourHistorgrams2D.h.

template<class T, class G>
TProfile* FlavourHistograms2D< T, G >::profile_ni ( ) const
inline

Definition at line 107 of file FlavourHistorgrams2D.h.

template<class T, class G>
TProfile* FlavourHistograms2D< T, G >::profile_pu ( ) const
inline

Definition at line 110 of file FlavourHistorgrams2D.h.

template<class T, class G>
TProfile* FlavourHistograms2D< T, G >::profile_s ( ) const
inline

Definition at line 103 of file FlavourHistorgrams2D.h.

template<class T, class G>
TProfile* FlavourHistograms2D< T, G >::profile_u ( ) const
inline

Definition at line 102 of file FlavourHistorgrams2D.h.

template<class T , class G >
void FlavourHistograms2D< T, G >::setEfficiencyFlag ( )

Definition at line 660 of file FlavourHistorgrams2D.h.

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

Definition at line 72 of file FlavourHistorgrams2D.h.

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

Definition at line 73 of file FlavourHistorgrams2D.h.

template<class T , class G >
void FlavourHistograms2D< T, G >::settitle ( const char *  titleX,
const char *  titleY 
)
template<class T, class G>
bool FlavourHistograms2D< T, G >::statistics ( ) const
inline

Definition at line 85 of file FlavourHistorgrams2D.h.

template<class T, class G>
double FlavourHistograms2D< T, G >::upperBoundX ( ) const
inline

Definition at line 82 of file FlavourHistorgrams2D.h.

template<class T, class G>
double FlavourHistograms2D< T, G >::upperBoundY ( ) const
inline

Definition at line 84 of file FlavourHistorgrams2D.h.

Member Data Documentation

template<class T, class G>
bool FlavourHistograms2D< T, G >::createProfile_
private

Definition at line 178 of file FlavourHistorgrams2D.h.

template<class T, class G>
unsigned int FlavourHistograms2D< T, G >::mcPlots_
private

Definition at line 177 of file FlavourHistorgrams2D.h.

template<class T, class G>
int* FlavourHistograms2D< T, G >::theArrayDimension
protected

Definition at line 129 of file FlavourHistorgrams2D.h.

template<class T, class G>
std::string FlavourHistograms2D< T, G >::theBaseNameDescription
protected

Definition at line 134 of file FlavourHistorgrams2D.h.

template<class T, class G>
std::string FlavourHistograms2D< T, G >::theBaseNameTitle
protected

Definition at line 133 of file FlavourHistorgrams2D.h.

template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theHisto_all
protected

Definition at line 145 of file FlavourHistorgrams2D.h.

template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theHisto_b
protected

Definition at line 150 of file FlavourHistorgrams2D.h.

template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theHisto_c
protected

Definition at line 149 of file FlavourHistorgrams2D.h.

template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theHisto_d
protected

Definition at line 146 of file FlavourHistorgrams2D.h.

template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theHisto_dus
protected

Definition at line 153 of file FlavourHistorgrams2D.h.

template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theHisto_dusg
protected

Definition at line 154 of file FlavourHistorgrams2D.h.

template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theHisto_g
protected

Definition at line 151 of file FlavourHistorgrams2D.h.

template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theHisto_ni
protected

Definition at line 152 of file FlavourHistorgrams2D.h.

template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theHisto_pu
protected

Definition at line 155 of file FlavourHistorgrams2D.h.

template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theHisto_s
protected

Definition at line 148 of file FlavourHistorgrams2D.h.

template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theHisto_u
protected

Definition at line 147 of file FlavourHistorgrams2D.h.

template<class T, class G>
int FlavourHistograms2D< T, G >::theIndexToPlot
protected

Definition at line 131 of file FlavourHistorgrams2D.h.

template<class T, class G>
double FlavourHistograms2D< T, G >::theLowerBoundX
protected

Definition at line 137 of file FlavourHistorgrams2D.h.

template<class T, class G>
double FlavourHistograms2D< T, G >::theLowerBoundY
protected

Definition at line 139 of file FlavourHistorgrams2D.h.

template<class T, class G>
double FlavourHistograms2D< T, G >::theMax
protected

Definition at line 142 of file FlavourHistorgrams2D.h.

template<class T, class G>
int FlavourHistograms2D< T, G >::theMaxDimension
protected

Definition at line 130 of file FlavourHistorgrams2D.h.

template<class T, class G>
double FlavourHistograms2D< T, G >::theMin
protected

Definition at line 142 of file FlavourHistorgrams2D.h.

template<class T, class G>
int FlavourHistograms2D< T, G >::theNBinsX
protected

Definition at line 135 of file FlavourHistorgrams2D.h.

template<class T, class G>
int FlavourHistograms2D< T, G >::theNBinsY
protected

Definition at line 136 of file FlavourHistorgrams2D.h.

template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theProfile_all
protected

Definition at line 158 of file FlavourHistorgrams2D.h.

template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theProfile_b
protected

Definition at line 163 of file FlavourHistorgrams2D.h.

template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theProfile_c
protected

Definition at line 162 of file FlavourHistorgrams2D.h.

template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theProfile_d
protected

Definition at line 159 of file FlavourHistorgrams2D.h.

template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theProfile_dus
protected

Definition at line 166 of file FlavourHistorgrams2D.h.

template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theProfile_dusg
protected

Definition at line 167 of file FlavourHistorgrams2D.h.

template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theProfile_g
protected

Definition at line 164 of file FlavourHistorgrams2D.h.

template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theProfile_ni
protected

Definition at line 165 of file FlavourHistorgrams2D.h.

template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theProfile_pu
protected

Definition at line 168 of file FlavourHistorgrams2D.h.

template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theProfile_s
protected

Definition at line 161 of file FlavourHistorgrams2D.h.

template<class T, class G>
MonitorElement* FlavourHistograms2D< T, G >::theProfile_u
protected

Definition at line 160 of file FlavourHistorgrams2D.h.

template<class T, class G>
bool FlavourHistograms2D< T, G >::theStatistics
protected

Definition at line 141 of file FlavourHistorgrams2D.h.

template<class T, class G>
double FlavourHistograms2D< T, G >::theUpperBoundX
protected

Definition at line 138 of file FlavourHistorgrams2D.h.

template<class T, class G>
double FlavourHistograms2D< T, G >::theUpperBoundY
protected

Definition at line 140 of file FlavourHistorgrams2D.h.