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 Member Functions | Private Attributes
CastorTestAnalysis Class Reference

#include <CastorTestAnalysis.h>

Inheritance diagram for CastorTestAnalysis:
SimWatcher Observer< const BeginOfJob * > Observer< const BeginOfRun * > Observer< const EndOfRun * > Observer< const BeginOfEvent * > Observer< const EndOfEvent * > Observer< const G4Step * >

Public Member Functions

 CastorTestAnalysis (const edm::ParameterSet &p)
 
virtual ~CastorTestAnalysis ()
 
- Public Member Functions inherited from SimWatcher
 SimWatcher ()
 
virtual ~SimWatcher ()
 
- Public Member Functions inherited from Observer< const BeginOfJob * >
 Observer ()
 
void slotForUpdate (const BeginOfJob *iT)
 
virtual ~Observer ()
 
- Public Member Functions inherited from Observer< const BeginOfRun * >
 Observer ()
 
void slotForUpdate (const BeginOfRun *iT)
 
virtual ~Observer ()
 
- Public Member Functions inherited from Observer< const EndOfRun * >
 Observer ()
 
void slotForUpdate (const EndOfRun *iT)
 
virtual ~Observer ()
 
- Public Member Functions inherited from Observer< const BeginOfEvent * >
 Observer ()
 
void slotForUpdate (const BeginOfEvent *iT)
 
virtual ~Observer ()
 
- Public Member Functions inherited from Observer< const EndOfEvent * >
 Observer ()
 
void slotForUpdate (const EndOfEvent *iT)
 
virtual ~Observer ()
 
- Public Member Functions inherited from Observer< const G4Step * >
 Observer ()
 
void slotForUpdate (const G4Step *iT)
 
virtual ~Observer ()
 

Private Member Functions

void Finish ()
 
void getCastorBranchData (const CaloG4HitCollection *hc)
 
void update (const BeginOfJob *run)
 This routine will be called when the appropriate signal arrives. More...
 
void update (const BeginOfRun *run)
 This routine will be called when the appropriate signal arrives. More...
 
void update (const EndOfRun *run)
 This routine will be called when the appropriate signal arrives. More...
 
void update (const BeginOfEvent *evt)
 This routine will be called when the appropriate signal arrives. More...
 
void update (const EndOfEvent *evt)
 This routine will be called when the appropriate signal arrives. More...
 
void update (const G4Step *step)
 This routine will be called when the appropriate signal arrives. More...
 

Private Attributes

Float_t castoreventarray [11]
 
TNtuple * castoreventntuple
 
TFile * castorOutputEventFile
 
TFile * castorOutputStepFile
 
Float_t castorsteparray [14]
 
TNtuple * castorstepntuple
 
int doNTcastorevent
 
int doNTcastorstep
 
int eventGlobalHit
 
int eventIndex
 
std::string eventNtFileName
 
int stepIndex
 
std::string stepNtFileName
 
CastorNumberingSchemetheCastorNumScheme
 
int verbosity
 

Additional Inherited Members

Detailed Description

Definition at line 65 of file CastorTestAnalysis.h.

Constructor & Destructor Documentation

CastorTestAnalysis::CastorTestAnalysis ( const edm::ParameterSet p)

Definition at line 35 of file CastorTestAnalysis.cc.

CastorTestAnalysis::~CastorTestAnalysis ( )
virtual

Definition at line 66 of file CastorTestAnalysis.cc.

Member Function Documentation

void CastorTestAnalysis::Finish ( )
private

Definition at line 354 of file CastorTestAnalysis.cc.

void CastorTestAnalysis::getCastorBranchData ( const CaloG4HitCollection hc)
private

Definition at line 297 of file CastorTestAnalysis.cc.

void CastorTestAnalysis::update ( const BeginOfJob )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const BeginOfJob * >.

Definition at line 80 of file CastorTestAnalysis.cc.

Referenced by Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom().

void CastorTestAnalysis::update ( const BeginOfRun )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const BeginOfRun * >.

Definition at line 86 of file CastorTestAnalysis.cc.

Referenced by Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom().

void CastorTestAnalysis::update ( const EndOfRun )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const EndOfRun * >.

Definition at line 294 of file CastorTestAnalysis.cc.

Referenced by Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom().

void CastorTestAnalysis::update ( const BeginOfEvent )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const BeginOfEvent * >.

Definition at line 105 of file CastorTestAnalysis.cc.

Referenced by Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom().

void CastorTestAnalysis::update ( const EndOfEvent )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const EndOfEvent * >.

Definition at line 199 of file CastorTestAnalysis.cc.

Referenced by Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom().

void CastorTestAnalysis::update ( const G4Step *  )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const G4Step * >.

Definition at line 114 of file CastorTestAnalysis.cc.

Referenced by Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom().

Member Data Documentation

Float_t CastorTestAnalysis::castoreventarray[11]
private

Definition at line 110 of file CastorTestAnalysis.h.

TNtuple* CastorTestAnalysis::castoreventntuple
private

Definition at line 101 of file CastorTestAnalysis.h.

TFile* CastorTestAnalysis::castorOutputEventFile
private

Definition at line 97 of file CastorTestAnalysis.h.

TFile* CastorTestAnalysis::castorOutputStepFile
private

Definition at line 98 of file CastorTestAnalysis.h.

Float_t CastorTestAnalysis::castorsteparray[14]
private

Definition at line 109 of file CastorTestAnalysis.h.

TNtuple* CastorTestAnalysis::castorstepntuple
private

Definition at line 100 of file CastorTestAnalysis.h.

int CastorTestAnalysis::doNTcastorevent
private

Definition at line 93 of file CastorTestAnalysis.h.

int CastorTestAnalysis::doNTcastorstep
private

Definition at line 92 of file CastorTestAnalysis.h.

int CastorTestAnalysis::eventGlobalHit
private

Definition at line 107 of file CastorTestAnalysis.h.

int CastorTestAnalysis::eventIndex
private

Definition at line 105 of file CastorTestAnalysis.h.

std::string CastorTestAnalysis::eventNtFileName
private

Definition at line 95 of file CastorTestAnalysis.h.

int CastorTestAnalysis::stepIndex
private

Definition at line 106 of file CastorTestAnalysis.h.

std::string CastorTestAnalysis::stepNtFileName
private

Definition at line 94 of file CastorTestAnalysis.h.

CastorNumberingScheme* CastorTestAnalysis::theCastorNumScheme
private

Definition at line 103 of file CastorTestAnalysis.h.

int CastorTestAnalysis::verbosity
private

Definition at line 91 of file CastorTestAnalysis.h.