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

#include <HcalTestAnalysis.h>

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

Public Member Functions

 HcalTestAnalysis (const edm::ParameterSet &p)
 
virtual ~HcalTestAnalysis ()
 
- 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 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 fill (const EndOfEvent *ev)
 
void layerAnalysis ()
 
std::vector< int > layerGrouping (int)
 
void qieAnalysis (CLHEP::HepRandomEngine *)
 
double timeOfFlight (int det, int layer, double eta)
 
std::vector< int > towersToAdd (int centre, int nadd)
 
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 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

int addTower
 
std::vector< CaloHitcaloHitCache
 
int centralTower
 
unsigned int count
 
double edepEB
 
double edepEE
 
double edepHB
 
double edepHE
 
double edepHO
 
double edepl [20]
 
double eta0
 
std::string fileName
 
std::vector< int > group_
 
HcalDDDSimConstantshcons
 
double mudist [20]
 
HcalQiemyqie
 
std::vector< std::string > names
 
int nGroup
 
int nTower
 
HcalNumberingFromDDDnumberingFromDDD
 
HcalTestNumberingSchemeorg
 
double phi0
 
std::vector< int > tower_
 
HcalTestHistoClasstuples
 
std::auto_ptr
< HcalTestHistoManager
tuplesManager
 

Additional Inherited Members

Detailed Description

Definition at line 35 of file HcalTestAnalysis.h.

Constructor & Destructor Documentation

HcalTestAnalysis::HcalTestAnalysis ( const edm::ParameterSet p)

Definition at line 32 of file HcalTestAnalysis.cc.

HcalTestAnalysis::~HcalTestAnalysis ( )
virtual

Definition at line 62 of file HcalTestAnalysis.cc.

Member Function Documentation

void HcalTestAnalysis::fill ( const EndOfEvent ev)
private

Definition at line 341 of file HcalTestAnalysis.cc.

void HcalTestAnalysis::layerAnalysis ( )
private

Definition at line 597 of file HcalTestAnalysis.cc.

std::vector< int > HcalTestAnalysis::layerGrouping ( int  group)
private

Definition at line 78 of file HcalTestAnalysis.cc.

void HcalTestAnalysis::qieAnalysis ( CLHEP::HepRandomEngine *  engine)
private

Definition at line 477 of file HcalTestAnalysis.cc.

double HcalTestAnalysis::timeOfFlight ( int  det,
int  layer,
double  eta 
)
private

Definition at line 616 of file HcalTestAnalysis.cc.

std::vector< int > HcalTestAnalysis::towersToAdd ( int  centre,
int  nadd 
)
private

Definition at line 110 of file HcalTestAnalysis.cc.

void HcalTestAnalysis::update ( const BeginOfJob )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const BeginOfJob * >.

Definition at line 151 of file HcalTestAnalysis.cc.

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

void HcalTestAnalysis::update ( const BeginOfRun )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const BeginOfRun * >.

Definition at line 170 of file HcalTestAnalysis.cc.

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

void HcalTestAnalysis::update ( const BeginOfEvent )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const BeginOfEvent * >.

Definition at line 232 of file HcalTestAnalysis.cc.

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

void HcalTestAnalysis::update ( const EndOfEvent )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const EndOfEvent * >.

Definition at line 317 of file HcalTestAnalysis.cc.

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

void HcalTestAnalysis::update ( const G4Step *  )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const G4Step * >.

Definition at line 249 of file HcalTestAnalysis.cc.

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

Member Data Documentation

int HcalTestAnalysis::addTower
private

Definition at line 69 of file HcalTestAnalysis.h.

std::vector<CaloHit> HcalTestAnalysis::caloHitCache
private

Definition at line 81 of file HcalTestAnalysis.h.

int HcalTestAnalysis::centralTower
private

Definition at line 88 of file HcalTestAnalysis.h.

unsigned int HcalTestAnalysis::count
private

Definition at line 91 of file HcalTestAnalysis.h.

double HcalTestAnalysis::edepEB
private

Definition at line 92 of file HcalTestAnalysis.h.

double HcalTestAnalysis::edepEE
private

Definition at line 92 of file HcalTestAnalysis.h.

double HcalTestAnalysis::edepHB
private

Definition at line 92 of file HcalTestAnalysis.h.

double HcalTestAnalysis::edepHE
private

Definition at line 92 of file HcalTestAnalysis.h.

double HcalTestAnalysis::edepHO
private

Definition at line 92 of file HcalTestAnalysis.h.

double HcalTestAnalysis::edepl[20]
private

Definition at line 93 of file HcalTestAnalysis.h.

double HcalTestAnalysis::eta0
private

Definition at line 87 of file HcalTestAnalysis.h.

std::string HcalTestAnalysis::fileName
private

Definition at line 65 of file HcalTestAnalysis.h.

std::vector<int> HcalTestAnalysis::group_
private

Definition at line 82 of file HcalTestAnalysis.h.

HcalDDDSimConstants* HcalTestAnalysis::hcons
private

Definition at line 77 of file HcalTestAnalysis.h.

double HcalTestAnalysis::mudist[20]
private

Definition at line 94 of file HcalTestAnalysis.h.

HcalQie* HcalTestAnalysis::myqie
private

Definition at line 68 of file HcalTestAnalysis.h.

std::vector<std::string> HcalTestAnalysis::names
private

Definition at line 86 of file HcalTestAnalysis.h.

int HcalTestAnalysis::nGroup
private

Definition at line 83 of file HcalTestAnalysis.h.

int HcalTestAnalysis::nTower
private

Definition at line 83 of file HcalTestAnalysis.h.

HcalNumberingFromDDD* HcalTestAnalysis::numberingFromDDD
private

Definition at line 76 of file HcalTestAnalysis.h.

HcalTestNumberingScheme* HcalTestAnalysis::org
private

Definition at line 78 of file HcalTestAnalysis.h.

double HcalTestAnalysis::phi0
private

Definition at line 87 of file HcalTestAnalysis.h.

std::vector<int> HcalTestAnalysis::tower_
private

Definition at line 82 of file HcalTestAnalysis.h.

HcalTestHistoClass* HcalTestAnalysis::tuples
private

Definition at line 73 of file HcalTestAnalysis.h.

std::auto_ptr<HcalTestHistoManager> HcalTestAnalysis::tuplesManager
private

Definition at line 72 of file HcalTestAnalysis.h.