CMS 3D CMS Logo

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, PadCounterPairmSectorPadCounter_
 
std::map< unsigned int, CanvasPairmSectorPair_
 
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

◆ CanvasPair

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

Definition at line 68 of file ApeOverview.h.

◆ PadCounterPair

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

Definition at line 62 of file ApeOverview.h.

Member Enumeration Documentation

◆ HistLevel

Enumerator
event 
track 
sector 

Definition at line 29 of file ApeOverview.h.

29 {event, track, sector};

◆ PlotDimension

Enumerator
dim1 
dim2 

Definition at line 41 of file ApeOverview.h.

41 {dim1,dim2};

Constructor & Destructor Documentation

◆ ApeOverview()

ApeOverview::ApeOverview ( const TString  inputFileName)

◆ ~ApeOverview()

ApeOverview::~ApeOverview ( )

Member Function Documentation

◆ drawHistToPad()

int ApeOverview::drawHistToPad ( const TString  histName,
const bool  setLogScale = true 
)
private

◆ eventAndTrackHistos()

void ApeOverview::eventAndTrackHistos ( )
private

◆ getOverview()

void ApeOverview::getOverview ( )

◆ onlyZoomedHists()

void ApeOverview::onlyZoomedHists ( )

◆ printOverview()

void ApeOverview::printOverview ( const TString &  outputFileName = "apeOverview.ps",
const HistLevel histLevel = ApeOverview::event 
)

◆ setCanvasName()

TString ApeOverview::setCanvasName ( ) const
private

◆ setNewCanvas()

int ApeOverview::setNewCanvas ( const PlotDimension pDim)
private

◆ setSectorsForOverview()

void ApeOverview::setSectorsForOverview ( const TString &  sectors)

◆ whichModuleInFile()

void ApeOverview::whichModuleInFile ( int  )

Member Data Documentation

◆ eventPadCounter_

PadCounterPair ApeOverview::eventPadCounter_
private

Definition at line 63 of file ApeOverview.h.

◆ eventPair_

CanvasPair ApeOverview::eventPair_
private

Definition at line 69 of file ApeOverview.h.

◆ firstSelectedSector_

TString ApeOverview::firstSelectedSector_
private

Definition at line 56 of file ApeOverview.h.

◆ histDir_

TString ApeOverview::histDir_
private

Definition at line 58 of file ApeOverview.h.

◆ histLevel_

HistLevel ApeOverview::histLevel_
private

Definition at line 60 of file ApeOverview.h.

◆ inputFile_

TFile* ApeOverview::inputFile_
private

Definition at line 48 of file ApeOverview.h.

◆ moduleNo_

int ApeOverview::moduleNo_
private

Definition at line 50 of file ApeOverview.h.

◆ mSectorPadCounter_

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

Definition at line 64 of file ApeOverview.h.

◆ mSectorPair_

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

Definition at line 70 of file ApeOverview.h.

◆ onlyZoomedHists_

bool ApeOverview::onlyZoomedHists_
private

Definition at line 52 of file ApeOverview.h.

◆ pluginDir_

TString ApeOverview::pluginDir_
private

Definition at line 58 of file ApeOverview.h.

◆ sectorCounter_

unsigned int ApeOverview::sectorCounter_
private

Definition at line 66 of file ApeOverview.h.

◆ trackPadCounter_

PadCounterPair ApeOverview::trackPadCounter_
private

Definition at line 63 of file ApeOverview.h.

◆ trackPair_

CanvasPair ApeOverview::trackPair_
private

Definition at line 69 of file ApeOverview.h.

◆ vSelectedSector_

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

Definition at line 54 of file ApeOverview.h.

ApeOverview::track
Definition: ApeOverview.h:29
ApeOverview::dim1
Definition: ApeOverview.h:41
ApeOverview::dim2
Definition: ApeOverview.h:41
ApeOverview::sector
Definition: ApeOverview.h:29
ApeOverview::event
Definition: ApeOverview.h:29