CMS 3D CMS Logo

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

#include <ApeOverview.h>

Public Types

enum  HistLevel { event, track, sector }
 

Public Member Functions

 ApeOverview (const TString inputFileName)
 
void getOverview ()
 
void onlyZoomedHists ()
 
void printOverview (const TString &outputFileName="apeOverview.ps", const HistLevel &histLevel=ApeOverview::event)
 
void setSectorsForOverview (const TString &sectors)
 
void whichModuleInFile (int)
 
 ~ApeOverview ()
 

Private Types

typedef std::pair< std::vector
< TCanvas * >, std::vector
< TCanvas * > > 
CanvasPair
 
typedef std::pair< unsigned
int, unsigned int > 
PadCounterPair
 
enum  PlotDimension { dim1, dim2 }
 

Private Member Functions

int drawHistToPad (const TString histName, const bool setLogScale=true)
 
void eventAndTrackHistos ()
 
TString setCanvasName () const
 
int setNewCanvas (const PlotDimension &pDim)
 

Private Attributes

PadCounterPair eventPadCounter_
 
CanvasPair eventPair_
 
TString firstSelectedSector_
 
TString histDir_
 
HistLevel histLevel_
 
TFile * inputFile_
 
int moduleNo_
 
std::map< unsigned int,
PadCounterPair
mSectorPadCounter_
 
std::map< unsigned int,
CanvasPair
mSectorPair_
 
bool onlyZoomedHists_
 
TString pluginDir_
 
unsigned int sectorCounter_
 
PadCounterPair trackPadCounter_
 
CanvasPair trackPair_
 
std::vector< unsigned int > vSelectedSector_
 

Detailed Description

Definition at line 16 of file ApeOverview.h.

Member Typedef Documentation

typedef std::pair<std::vector<TCanvas*>, std::vector<TCanvas*> > ApeOverview::CanvasPair
private

Definition at line 68 of file ApeOverview.h.

typedef std::pair<unsigned int, unsigned int> ApeOverview::PadCounterPair
private

Definition at line 62 of file ApeOverview.h.

Member Enumeration Documentation

Enumerator
event 
track 
sector 

Definition at line 29 of file ApeOverview.h.

Enumerator
dim1 
dim2 

Definition at line 41 of file ApeOverview.h.

Constructor & Destructor Documentation

ApeOverview::ApeOverview ( const TString  inputFileName)
ApeOverview::~ApeOverview ( )

Member Function Documentation

int ApeOverview::drawHistToPad ( const TString  histName,
const bool  setLogScale = true 
)
private
void ApeOverview::eventAndTrackHistos ( )
private
void ApeOverview::getOverview ( )
void ApeOverview::onlyZoomedHists ( )
void ApeOverview::printOverview ( const TString &  outputFileName = "apeOverview.ps",
const HistLevel histLevel = ApeOverview::event 
)
TString ApeOverview::setCanvasName ( ) const
private
int ApeOverview::setNewCanvas ( const PlotDimension pDim)
private
void ApeOverview::setSectorsForOverview ( const TString &  sectors)
void ApeOverview::whichModuleInFile ( int  )

Member Data Documentation

PadCounterPair ApeOverview::eventPadCounter_
private

Definition at line 63 of file ApeOverview.h.

CanvasPair ApeOverview::eventPair_
private

Definition at line 69 of file ApeOverview.h.

TString ApeOverview::firstSelectedSector_
private

Definition at line 56 of file ApeOverview.h.

TString ApeOverview::histDir_
private

Definition at line 58 of file ApeOverview.h.

HistLevel ApeOverview::histLevel_
private

Definition at line 60 of file ApeOverview.h.

TFile* ApeOverview::inputFile_
private

Definition at line 48 of file ApeOverview.h.

int ApeOverview::moduleNo_
private

Definition at line 50 of file ApeOverview.h.

std::map<unsigned int, PadCounterPair> ApeOverview::mSectorPadCounter_
private

Definition at line 64 of file ApeOverview.h.

std::map<unsigned int,CanvasPair> ApeOverview::mSectorPair_
private

Definition at line 70 of file ApeOverview.h.

bool ApeOverview::onlyZoomedHists_
private

Definition at line 52 of file ApeOverview.h.

TString ApeOverview::pluginDir_
private

Definition at line 58 of file ApeOverview.h.

unsigned int ApeOverview::sectorCounter_
private

Definition at line 66 of file ApeOverview.h.

PadCounterPair ApeOverview::trackPadCounter_
private

Definition at line 63 of file ApeOverview.h.

CanvasPair ApeOverview::trackPair_
private

Definition at line 69 of file ApeOverview.h.

std::vector<unsigned int> ApeOverview::vSelectedSector_
private

Definition at line 54 of file ApeOverview.h.