CMS 3D CMS Logo

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

#include <PlotAllDisplay.h>

Classes

struct  DisplayElecSetup
 
struct  DisplaySetupStruct
 

Public Member Functions

void CrateDisplaySelector (int crate, int evtType, int flavType, int plotStatType)
 
void displayElecOne (const MyElectronicsId &id, int evtType, int flavType)
 
void displayElecOne (int fiber, int fiberChan, int crate, int slot, int tb, int evtType, int flavType)
 
void displayElecSummary (int crate, int Slot, int tb, int evtType4, int flavType)
 
void displayOne (const MyHcalDetId &id, int evtType, int flavType)
 
void displayOne (int ieta, int iphi, int depth, int evtType, int flavType)
 
void displaySelector (int evtType, int flavType, int plotStatType)
 
void displaySummary (int ieta=0, int iphi=0, int evtType=4, int flavType=0)
 
MyHcalSubdetector getSubDetector (int ieta, int depth)
 
 PlotAllDisplay (const char *outfn)
 

Private Member Functions

TH1 * bookMasterHistogram (DisplayElecSetup &ess, const std::string &basename, int lo, int hi)
 
TH1 * bookMasterHistogram (DisplaySetupStruct &ss, const std::string &basename, int lo, int hi)
 
std::vector< MyElectronicsIdelectronicsFilter (int fiber, int fiberChan, int crate, int slot, int tb, const std::vector< MyElectronicsId > &inputs)
 
std::vector< MyHcalDetIdspatialFilter (int ieta, int iphi, const std::vector< MyHcalDetId > &inputs)
 

Private Attributes

HistoManager histKeys
 
TFile m_f
 
TCanvas * m_movie
 
int n_movie
 

Detailed Description

Definition at line 13 of file PlotAllDisplay.h.

Constructor & Destructor Documentation

◆ PlotAllDisplay()

PlotAllDisplay::PlotAllDisplay ( const char *  outfn)
inline

Definition at line 15 of file PlotAllDisplay.h.

15  : m_f(outfn), histKeys(&m_f)
16  {
17  m_movie=0;
18  n_movie=0;
19  }

References m_movie, and n_movie.

Member Function Documentation

◆ bookMasterHistogram() [1/2]

TH1* PlotAllDisplay::bookMasterHistogram ( DisplayElecSetup ess,
const std::string &  basename,
int  lo,
int  hi 
)
private

◆ bookMasterHistogram() [2/2]

TH1* PlotAllDisplay::bookMasterHistogram ( DisplaySetupStruct ss,
const std::string &  basename,
int  lo,
int  hi 
)
private

◆ CrateDisplaySelector()

void PlotAllDisplay::CrateDisplaySelector ( int  crate,
int  evtType,
int  flavType,
int  plotStatType 
)

◆ displayElecOne() [1/2]

void PlotAllDisplay::displayElecOne ( const MyElectronicsId id,
int  evtType,
int  flavType 
)

◆ displayElecOne() [2/2]

void PlotAllDisplay::displayElecOne ( int  fiber,
int  fiberChan,
int  crate,
int  slot,
int  tb,
int  evtType,
int  flavType 
)

◆ displayElecSummary()

void PlotAllDisplay::displayElecSummary ( int  crate,
int  Slot,
int  tb,
int  evtType4,
int  flavType 
)

◆ displayOne() [1/2]

void PlotAllDisplay::displayOne ( const MyHcalDetId id,
int  evtType,
int  flavType 
)

◆ displayOne() [2/2]

void PlotAllDisplay::displayOne ( int  ieta,
int  iphi,
int  depth,
int  evtType,
int  flavType 
)

◆ displaySelector()

void PlotAllDisplay::displaySelector ( int  evtType,
int  flavType,
int  plotStatType 
)

◆ displaySummary()

void PlotAllDisplay::displaySummary ( int  ieta = 0,
int  iphi = 0,
int  evtType = 4,
int  flavType = 0 
)

◆ electronicsFilter()

std::vector<MyElectronicsId> PlotAllDisplay::electronicsFilter ( int  fiber,
int  fiberChan,
int  crate,
int  slot,
int  tb,
const std::vector< MyElectronicsId > &  inputs 
)
private

◆ getSubDetector()

MyHcalSubdetector PlotAllDisplay::getSubDetector ( int  ieta,
int  depth 
)

◆ spatialFilter()

std::vector<MyHcalDetId> PlotAllDisplay::spatialFilter ( int  ieta,
int  iphi,
const std::vector< MyHcalDetId > &  inputs 
)
private

Member Data Documentation

◆ histKeys

HistoManager PlotAllDisplay::histKeys
private

Definition at line 63 of file PlotAllDisplay.h.

◆ m_f

TFile PlotAllDisplay::m_f
private

Definition at line 62 of file PlotAllDisplay.h.

◆ m_movie

TCanvas* PlotAllDisplay::m_movie
private

Definition at line 64 of file PlotAllDisplay.h.

Referenced by PlotAllDisplay().

◆ n_movie

int PlotAllDisplay::n_movie
private

Definition at line 65 of file PlotAllDisplay.h.

Referenced by PlotAllDisplay().

PlotAllDisplay::n_movie
int n_movie
Definition: PlotAllDisplay.h:65
PlotAllDisplay::m_f
TFile m_f
Definition: PlotAllDisplay.h:62
PlotAllDisplay::m_movie
TCanvas * m_movie
Definition: PlotAllDisplay.h:64
PlotAllDisplay::histKeys
HistoManager histKeys
Definition: PlotAllDisplay.h:63