CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Member Functions | Private Member Functions | Private Attributes
DrawPlot Class Reference

#include <DrawPlot.h>

Classes

struct  LegendEntries
 

Public Member Functions

void drawEventPlot (const TString &, const TString &, const bool=true, const bool=true)
 
 DrawPlot (const unsigned int=0, const bool=true)
 
void drawPlot (const TString &, const TString &, bool=true, bool=true)
 
void drawTrackPlot (const TString &, const TString &, const bool=true, const bool=true)
 
void setLegendCoordinate (const double, const double, const double, const double)
 
void setLegendEntry (const TString &, const TString &, const TString &)
 
void thesisMode ()
 
 ~DrawPlot ()
 

Private Member Functions

void adjustLegend (TLegend *&) const
 
LegendEntries adjustLegendEntry (const TString &, TH1 *&, TH1 *&, TH1 *&)
 
void cleanup (std::vector< TH1 * > &) const
 
void draw (std::vector< TH1 * > &) const
 
double maximumY (std::vector< TH1 * > &) const
 
double minimumY (std::vector< TH1 * > &) const
 
void printHist (const TString &, const TString &, const bool, const bool)
 
void scale (std::vector< TH1 * > &, const double=1.) const
 
void setLineWidth (std::vector< TH1 * > &, const unsigned int) const
 
void setRangeUser (std::vector< TH1 * > &, const double, const double) const
 

Private Attributes

TTree * baselineTreeX_
 
TTree * baselineTreeY_
 
double * delta0_
 
TFile * designFile_
 
TString designLegendEntry_
 
TFile * file_
 
TFile * fileZeroApe_
 
TString legendEntry_
 
TString legendEntryZeroApe_
 
double legendXmax_
 
double legendXmin_
 
double legendYmax_
 
double legendYmin_
 
const TString * outpath_
 
bool thesisMode_
 

Detailed Description

Definition at line 16 of file DrawPlot.h.

Constructor & Destructor Documentation

DrawPlot::DrawPlot ( const unsigned  int = 0,
const bool  = true 
)
DrawPlot::~DrawPlot ( )

Member Function Documentation

void DrawPlot::adjustLegend ( TLegend *&  ) const
private
LegendEntries DrawPlot::adjustLegendEntry ( const TString &  ,
TH1 *&  ,
TH1 *&  ,
TH1 *&   
)
private
void DrawPlot::cleanup ( std::vector< TH1 * > &  ) const
private
void DrawPlot::draw ( std::vector< TH1 * > &  ) const
private
void DrawPlot::drawEventPlot ( const TString &  ,
const TString &  ,
const bool  = true,
const bool  = true 
)
void DrawPlot::drawPlot ( const TString &  ,
const TString &  ,
bool  = true,
bool  = true 
)
void DrawPlot::drawTrackPlot ( const TString &  ,
const TString &  ,
const bool  = true,
const bool  = true 
)
double DrawPlot::maximumY ( std::vector< TH1 * > &  ) const
private
double DrawPlot::minimumY ( std::vector< TH1 * > &  ) const
private
void DrawPlot::printHist ( const TString &  ,
const TString &  ,
const bool  ,
const bool   
)
private
void DrawPlot::scale ( std::vector< TH1 * > &  ,
const double  = 1. 
) const
private
void DrawPlot::setLegendCoordinate ( const double  ,
const double  ,
const double  ,
const double   
)
void DrawPlot::setLegendEntry ( const TString &  ,
const TString &  ,
const TString &   
)
void DrawPlot::setLineWidth ( std::vector< TH1 * > &  ,
const unsigned  int 
) const
private
void DrawPlot::setRangeUser ( std::vector< TH1 * > &  ,
const double  ,
const double   
) const
private
void DrawPlot::thesisMode ( )
inline

Definition at line 27 of file DrawPlot.h.

References thesisMode_.

27 {thesisMode_ = true;}
bool thesisMode_
Definition: DrawPlot.h:71

Member Data Documentation

TTree* DrawPlot::baselineTreeX_
private

Definition at line 58 of file DrawPlot.h.

TTree* DrawPlot::baselineTreeY_
private

Definition at line 59 of file DrawPlot.h.

double* DrawPlot::delta0_
private

Definition at line 60 of file DrawPlot.h.

TFile* DrawPlot::designFile_
private

Definition at line 56 of file DrawPlot.h.

TString DrawPlot::designLegendEntry_
private

Definition at line 65 of file DrawPlot.h.

TFile* DrawPlot::file_
private

Definition at line 52 of file DrawPlot.h.

TFile* DrawPlot::fileZeroApe_
private

Definition at line 54 of file DrawPlot.h.

TString DrawPlot::legendEntry_
private

Definition at line 63 of file DrawPlot.h.

TString DrawPlot::legendEntryZeroApe_
private

Definition at line 64 of file DrawPlot.h.

double DrawPlot::legendXmax_
private

Definition at line 68 of file DrawPlot.h.

double DrawPlot::legendXmin_
private

Definition at line 66 of file DrawPlot.h.

double DrawPlot::legendYmax_
private

Definition at line 69 of file DrawPlot.h.

double DrawPlot::legendYmin_
private

Definition at line 67 of file DrawPlot.h.

const TString* DrawPlot::outpath_
private

Definition at line 50 of file DrawPlot.h.

bool DrawPlot::thesisMode_
private

Definition at line 71 of file DrawPlot.h.

Referenced by thesisMode().