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
DoCastorAnalysis Class Reference

#include <DoCastorAnalysis.h>

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

Public Member Functions

 DoCastorAnalysis (const edm::ParameterSet &p)
 
virtual ~DoCastorAnalysis ()
 
- 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 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

TFile * CastorOutputEventFile
 
TTree * CastorTree
 
int eventIndex
 
std::vector< double > * psimhit_energy
 
std::vector< double > * psimhit_eta
 
std::vector< int > * psimhit_module
 
std::vector< double > * psimhit_phi
 
std::vector< int > * psimhit_sector
 
std::vector< double > * psimhit_x
 
std::vector< double > * psimhit_y
 
std::vector< double > * psimhit_z
 
std::vector< double > simhit_energy
 
std::vector< double > simhit_eta
 
double simhit_etot
 
std::vector< int > simhit_module
 
std::vector< double > simhit_phi
 
std::vector< int > simhit_sector
 
std::vector< double > simhit_x
 
std::vector< double > simhit_y
 
std::vector< double > simhit_z
 
std::string TreeFileName
 
int verbosity
 

Additional Inherited Members

Detailed Description

Definition at line 62 of file DoCastorAnalysis.h.

Constructor & Destructor Documentation

DoCastorAnalysis::DoCastorAnalysis ( const edm::ParameterSet p)

Definition at line 28 of file DoCastorAnalysis.cc.

DoCastorAnalysis::~DoCastorAnalysis ( )
virtual

Definition at line 70 of file DoCastorAnalysis.cc.

Member Function Documentation

void DoCastorAnalysis::update ( const BeginOfJob )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const BeginOfJob * >.

Definition at line 92 of file DoCastorAnalysis.cc.

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

void DoCastorAnalysis::update ( const BeginOfRun )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const BeginOfRun * >.

Definition at line 99 of file DoCastorAnalysis.cc.

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

void DoCastorAnalysis::update ( const EndOfRun )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const EndOfRun * >.

Definition at line 220 of file DoCastorAnalysis.cc.

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

void DoCastorAnalysis::update ( const BeginOfEvent )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const BeginOfEvent * >.

Definition at line 110 of file DoCastorAnalysis.cc.

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

void DoCastorAnalysis::update ( const EndOfEvent )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const EndOfEvent * >.

Definition at line 118 of file DoCastorAnalysis.cc.

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

void DoCastorAnalysis::update ( const G4Step *  )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const G4Step * >.

Definition at line 222 of file DoCastorAnalysis.cc.

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

Member Data Documentation

TFile* DoCastorAnalysis::CastorOutputEventFile
private

Definition at line 89 of file DoCastorAnalysis.h.

TTree* DoCastorAnalysis::CastorTree
private

Definition at line 90 of file DoCastorAnalysis.h.

int DoCastorAnalysis::eventIndex
private

Definition at line 92 of file DoCastorAnalysis.h.

std::vector<double> * DoCastorAnalysis::psimhit_energy
private

Definition at line 100 of file DoCastorAnalysis.h.

std::vector<double>* DoCastorAnalysis::psimhit_eta
private

Definition at line 100 of file DoCastorAnalysis.h.

std::vector<int> * DoCastorAnalysis::psimhit_module
private

Definition at line 101 of file DoCastorAnalysis.h.

std::vector<double> * DoCastorAnalysis::psimhit_phi
private

Definition at line 100 of file DoCastorAnalysis.h.

std::vector<int>* DoCastorAnalysis::psimhit_sector
private

Definition at line 101 of file DoCastorAnalysis.h.

std::vector<double>* DoCastorAnalysis::psimhit_x
private

Definition at line 99 of file DoCastorAnalysis.h.

std::vector<double> * DoCastorAnalysis::psimhit_y
private

Definition at line 99 of file DoCastorAnalysis.h.

std::vector<double> * DoCastorAnalysis::psimhit_z
private

Definition at line 99 of file DoCastorAnalysis.h.

std::vector<double> DoCastorAnalysis::simhit_energy
private

Definition at line 95 of file DoCastorAnalysis.h.

std::vector<double> DoCastorAnalysis::simhit_eta
private

Definition at line 95 of file DoCastorAnalysis.h.

double DoCastorAnalysis::simhit_etot
private

Definition at line 104 of file DoCastorAnalysis.h.

std::vector<int> DoCastorAnalysis::simhit_module
private

Definition at line 96 of file DoCastorAnalysis.h.

std::vector<double> DoCastorAnalysis::simhit_phi
private

Definition at line 95 of file DoCastorAnalysis.h.

std::vector<int> DoCastorAnalysis::simhit_sector
private

Definition at line 96 of file DoCastorAnalysis.h.

std::vector<double> DoCastorAnalysis::simhit_x
private

Definition at line 94 of file DoCastorAnalysis.h.

std::vector<double> DoCastorAnalysis::simhit_y
private

Definition at line 94 of file DoCastorAnalysis.h.

std::vector<double> DoCastorAnalysis::simhit_z
private

Definition at line 94 of file DoCastorAnalysis.h.

std::string DoCastorAnalysis::TreeFileName
private

Definition at line 87 of file DoCastorAnalysis.h.

int DoCastorAnalysis::verbosity
private

Definition at line 85 of file DoCastorAnalysis.h.