CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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::DrawIteration ( unsigned int  = 0,
const bool  = false 
)

◆ ~DrawIteration()

DrawIteration::~DrawIteration ( )

Member Function Documentation

◆ addCmsText()

void DrawIteration::addCmsText ( const TString &  )

◆ addInputFile()

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

◆ addSystematics()

void DrawIteration::addSystematics ( )

◆ arrangeHists()

std::vector<std::vector<std::string> > DrawIteration::arrangeHists ( )
private

◆ associateLabel()

TString DrawIteration::associateLabel ( const std::string &  )
private

◆ barrelHist()

std::vector<std::string> DrawIteration::barrelHist ( )
private

◆ clear()

void DrawIteration::clear ( )
private

◆ createResultHist()

bool DrawIteration::createResultHist ( TH1 *&  ,
const std::vector< std::string > &  ,
const std::string &  ,
SectorValues ,
unsigned int   
)
private

◆ drawCorrections()

void DrawIteration::drawCorrections ( const std::string &  ,
const ExtremeValues ,
const std::string &   
)
private

◆ drawFinals()

void DrawIteration::drawFinals ( const std::string &  )
private

◆ drawIteration()

void DrawIteration::drawIteration ( unsigned int  = 0,
unsigned int  = 99999 
)

◆ drawResult()

void DrawIteration::drawResult ( )

◆ endcapHist()

std::vector<std::string> DrawIteration::endcapHist ( )
private

◆ getGraphs()

ExtremeValues DrawIteration::getGraphs ( const std::string  ,
unsigned int  ,
unsigned int   
)
private

◆ getSectorValues()

SectorValues DrawIteration::getSectorValues ( TFile *  )
private

◆ outputDirectory()

void DrawIteration::outputDirectory ( const TString &  )

◆ pixelHist()

std::vector<std::string> DrawIteration::pixelHist ( )
private

◆ printFinalValues()

void DrawIteration::printFinalValues ( unsigned int  ,
unsigned int   
)
private

◆ sectorNumber()

unsigned int DrawIteration::sectorNumber ( const std::string &  )
private

◆ tecHist()

std::vector<std::string> DrawIteration::tecHist ( )
private

◆ tibHist()

std::vector<std::string> DrawIteration::tibHist ( )
private

◆ tidHist()

std::vector<std::string> DrawIteration::tidHist ( )
private

◆ tobHist()

std::vector<std::string> DrawIteration::tobHist ( )
private

◆ yAxisFixed()

void DrawIteration::yAxisFixed ( const bool  yAxis)
inline

Definition at line 20 of file DrawIteration.h.

20 {yAxisFixed_ = yAxis;}

References HLT_2018_cff::yAxis, and yAxisFixed_.

Member Data Documentation

◆ cmsText_

TString DrawIteration::cmsText_
private

Definition at line 80 of file DrawIteration.h.

◆ file_

TFile* DrawIteration::file_
private

Definition at line 67 of file DrawIteration.h.

◆ outpath_

const TString* DrawIteration::outpath_
private

Definition at line 66 of file DrawIteration.h.

◆ overlayMode_

const bool DrawIteration::overlayMode_
private

Definition at line 68 of file DrawIteration.h.

◆ sectorValues_

SectorValues DrawIteration::sectorValues_
private

Definition at line 71 of file DrawIteration.h.

◆ systematics_

bool DrawIteration::systematics_
private

Definition at line 79 of file DrawIteration.h.

◆ v_graphApeX_

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

Definition at line 73 of file DrawIteration.h.

◆ v_graphApeY_

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

Definition at line 75 of file DrawIteration.h.

◆ v_graphCorrectionX_

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

Definition at line 74 of file DrawIteration.h.

◆ v_graphCorrectionY_

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

Definition at line 76 of file DrawIteration.h.

◆ v_input_

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

Definition at line 92 of file DrawIteration.h.

◆ v_resultHist_

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

Definition at line 78 of file DrawIteration.h.

◆ yAxisFixed_

bool DrawIteration::yAxisFixed_
private

Definition at line 69 of file DrawIteration.h.

Referenced by yAxisFixed().

DrawIteration::yAxisFixed_
bool yAxisFixed_
Definition: DrawIteration.h:69
HLT_2018_cff.yAxis
yAxis
Definition: HLT_2018_cff.py:44412