CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Private Member Functions | Private Attributes
DrawIteration Class Reference

#include <DrawIteration.h>

Classes

struct  ExtremeValues
 
struct  Input
 
struct  SectorValues
 

Public Member Functions

void addCmsText (const TString &)
 
void addInputFile (const TString &, const TString &)
 
void addSystematics ()
 
 DrawIteration (unsigned int=0, const bool=false)
 
void drawIteration (unsigned int=0, unsigned int=99999)
 
void drawResult ()
 
void outputDirectory (const TString &)
 
void yAxisFixed (const bool yAxis)
 
 ~DrawIteration ()
 

Private Member Functions

std::vector< std::vector< std::string > > arrangeHists ()
 
TString associateLabel (const std::string &)
 
std::vector< std::string > barrelHist ()
 
void clear ()
 
bool createResultHist (TH1 *&, const std::vector< std::string > &, const std::string &, SectorValues &, unsigned int)
 
void drawCorrections (const std::string &, const ExtremeValues &, const std::string &)
 
void drawFinals (const std::string &)
 
std::vector< std::string > endcapHist ()
 
ExtremeValues getGraphs (const std::string, unsigned int, unsigned int)
 
SectorValues getSectorValues (TFile *)
 
std::vector< std::string > pixelHist ()
 
void printFinalValues (unsigned int, unsigned int)
 
unsigned int sectorNumber (const std::string &)
 
std::vector< std::string > tecHist ()
 
std::vector< std::string > tibHist ()
 
std::vector< std::string > tidHist ()
 
std::vector< std::string > tobHist ()
 

Private Attributes

TString cmsText_
 
TFile * file_
 
const TString * outpath_
 
const bool overlayMode_
 
SectorValues sectorValues_
 
bool systematics_
 
std::vector< TGraph * > v_graphApeX_
 
std::vector< TGraph * > v_graphApeY_
 
std::vector< TGraph * > v_graphCorrectionX_
 
std::vector< TGraph * > v_graphCorrectionY_
 
std::vector< Input * > v_input_
 
std::vector< std::vector< std::string > > v_resultHist_
 
bool yAxisFixed_
 

Detailed Description

Definition at line 15 of file DrawIteration.h.

Constructor & Destructor Documentation

DrawIteration::DrawIteration ( unsigned  int = 0,
const bool  = false 
)
DrawIteration::~DrawIteration ( )

Member Function Documentation

void DrawIteration::addCmsText ( const TString &  )

Referenced by yAxisFixed().

void DrawIteration::addInputFile ( const TString &  ,
const TString &   
)

Referenced by yAxisFixed().

void DrawIteration::addSystematics ( )

Referenced by yAxisFixed().

std::vector<std::vector<std::string> > DrawIteration::arrangeHists ( )
private
TString DrawIteration::associateLabel ( const std::string &  )
private
std::vector<std::string> DrawIteration::barrelHist ( )
private
void DrawIteration::clear ( )
private
bool DrawIteration::createResultHist ( TH1 *&  ,
const std::vector< std::string > &  ,
const std::string &  ,
SectorValues ,
unsigned  int 
)
private
void DrawIteration::drawCorrections ( const std::string &  ,
const ExtremeValues ,
const std::string &   
)
private
void DrawIteration::drawFinals ( const std::string &  )
private
void DrawIteration::drawIteration ( unsigned  int = 0,
unsigned  int = 99999 
)

Referenced by yAxisFixed().

void DrawIteration::drawResult ( )

Referenced by yAxisFixed().

std::vector<std::string> DrawIteration::endcapHist ( )
private
ExtremeValues DrawIteration::getGraphs ( const std::string  ,
unsigned  int,
unsigned  int 
)
private
SectorValues DrawIteration::getSectorValues ( TFile *  )
private
void DrawIteration::outputDirectory ( const TString &  )

Referenced by yAxisFixed().

std::vector<std::string> DrawIteration::pixelHist ( )
private
void DrawIteration::printFinalValues ( unsigned  int,
unsigned  int 
)
private
unsigned int DrawIteration::sectorNumber ( const std::string &  )
private
std::vector<std::string> DrawIteration::tecHist ( )
private
std::vector<std::string> DrawIteration::tibHist ( )
private
std::vector<std::string> DrawIteration::tidHist ( )
private
std::vector<std::string> DrawIteration::tobHist ( )
private
void DrawIteration::yAxisFixed ( const bool  yAxis)
inline

Member Data Documentation

TString DrawIteration::cmsText_
private

Definition at line 80 of file DrawIteration.h.

TFile* DrawIteration::file_
private

Definition at line 67 of file DrawIteration.h.

const TString* DrawIteration::outpath_
private

Definition at line 66 of file DrawIteration.h.

const bool DrawIteration::overlayMode_
private

Definition at line 68 of file DrawIteration.h.

SectorValues DrawIteration::sectorValues_
private

Definition at line 71 of file DrawIteration.h.

bool DrawIteration::systematics_
private

Definition at line 79 of file DrawIteration.h.

std::vector<TGraph*> DrawIteration::v_graphApeX_
private

Definition at line 73 of file DrawIteration.h.

std::vector<TGraph*> DrawIteration::v_graphApeY_
private

Definition at line 75 of file DrawIteration.h.

std::vector<TGraph*> DrawIteration::v_graphCorrectionX_
private

Definition at line 74 of file DrawIteration.h.

std::vector<TGraph*> DrawIteration::v_graphCorrectionY_
private

Definition at line 76 of file DrawIteration.h.

std::vector<Input*> DrawIteration::v_input_
private

Definition at line 92 of file DrawIteration.h.

std::vector<std::vector<std::string> > DrawIteration::v_resultHist_
private

Definition at line 78 of file DrawIteration.h.

bool DrawIteration::yAxisFixed_
private

Definition at line 69 of file DrawIteration.h.

Referenced by yAxisFixed().