CMS 3D CMS Logo

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

#include <TestHistoMgr.h>

Public Member Functions

bool addHisto1 (TH1F *ih)
 
bool addHisto2 (TH2F *ih)
 
bool addHistoProf1 (TProfile *ih)
 
bool addHistoProf2 (TProfile2D *ih)
 
TH1F * getHisto1 (int ih)
 
TH1F * getHisto1FromSecondFile (const char *hnam)
 
TH2F * getHisto2 (int ih)
 
TProfile * getHistoProf1 (int ih)
 
TProfile2D * getHistoProf2 (int ih)
 
void openSecondFile (const std::string &name)
 
void printComparisonResult (int ih)
 
void save (const std::string &name)
 
 TestHistoMgr ()
 
 ~TestHistoMgr ()
 

Private Attributes

TFile * theFileRef
 
mihp1 theHistoProfs1
 
mihp2 theHistoProfs2
 
mih1 theHistos1
 
mih2 theHistos2
 

Detailed Description

Definition at line 20 of file TestHistoMgr.h.

Constructor & Destructor Documentation

TestHistoMgr::TestHistoMgr ( )

Definition at line 19 of file TestHistoMgr.cc.

TestHistoMgr::~TestHistoMgr ( )

Definition at line 27 of file TestHistoMgr.cc.

Member Function Documentation

bool TestHistoMgr::addHisto1 ( TH1F *  ih)

Definition at line 151 of file TestHistoMgr.cc.

Referenced by MaterialBudgetHistos::book().

bool TestHistoMgr::addHisto2 ( TH2F *  ih)

Definition at line 160 of file TestHistoMgr.cc.

Referenced by MaterialBudgetHistos::book().

bool TestHistoMgr::addHistoProf1 ( TProfile *  ih)

Definition at line 169 of file TestHistoMgr.cc.

Referenced by MaterialBudgetHistos::book().

bool TestHistoMgr::addHistoProf2 ( TProfile2D *  ih)

Definition at line 178 of file TestHistoMgr.cc.

Referenced by MaterialBudgetHistos::book().

TH1F * TestHistoMgr::getHisto1 ( int  ih)

Definition at line 188 of file TestHistoMgr.cc.

Referenced by MaterialBudgetHistos::fillEndTrack().

TH1F * TestHistoMgr::getHisto1FromSecondFile ( const char *  hnam)

Definition at line 247 of file TestHistoMgr.cc.

TH2F * TestHistoMgr::getHisto2 ( int  ih)

Definition at line 203 of file TestHistoMgr.cc.

Referenced by MaterialBudgetHistos::fillEndTrack().

TProfile * TestHistoMgr::getHistoProf1 ( int  ih)

Definition at line 216 of file TestHistoMgr.cc.

Referenced by MaterialBudgetHistos::fillEndTrack().

TProfile2D * TestHistoMgr::getHistoProf2 ( int  ih)

Definition at line 232 of file TestHistoMgr.cc.

Referenced by MaterialBudgetHistos::fillEndTrack().

void TestHistoMgr::openSecondFile ( const std::string &  name)

Definition at line 76 of file TestHistoMgr.cc.

void TestHistoMgr::printComparisonResult ( int  ih)

Definition at line 92 of file TestHistoMgr.cc.

void TestHistoMgr::save ( const std::string &  name)

Definition at line 50 of file TestHistoMgr.cc.

Referenced by MaterialBudgetHistos::hend().

Member Data Documentation

TFile* TestHistoMgr::theFileRef
private

Definition at line 49 of file TestHistoMgr.h.

mihp1 TestHistoMgr::theHistoProfs1
private

Definition at line 46 of file TestHistoMgr.h.

mihp2 TestHistoMgr::theHistoProfs2
private

Definition at line 47 of file TestHistoMgr.h.

mih1 TestHistoMgr::theHistos1
private

Definition at line 44 of file TestHistoMgr.h.

mih2 TestHistoMgr::theHistos2
private

Definition at line 45 of file TestHistoMgr.h.