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

#include <SimG4CMS/HcalTestBeam/interface/HcalTB02Analysis.h>

Inheritance diagram for HcalTB02Analysis:
SimProducer Observer< const BeginOfEvent * > Observer< const EndOfEvent * > SimWatcher

Public Member Functions

 HcalTB02Analysis (const edm::ParameterSet &p)
 
virtual void produce (edm::Event &, const edm::EventSetup &)
 
virtual ~HcalTB02Analysis ()
 
- Public Member Functions inherited from SimProducer
void registerProducts (edm::ProducerBase &iProd)
 
 SimProducer ()
 
- Public Member Functions inherited from SimWatcher
 SimWatcher ()
 
virtual ~SimWatcher ()
 
- 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 ()
 

Private Member Functions

void clear ()
 
void fillEvent (HcalTB02HistoClass &)
 
void finish ()
 
 HcalTB02Analysis (const HcalTB02Analysis &)
 
const HcalTB02Analysisoperator= (const HcalTB02Analysis &)
 
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...
 

Private Attributes

float E5x5Matrix
 
float E5x5MatrixN
 
float E7x7Matrix
 
float E7x7MatrixN
 
std::map< int, float > energyInCrystals
 
std::map< int, float > energyInScints
 
double eta
 
std::string fileNameTuple
 
bool hcalOnly
 
HcalTB02Histohisto
 
double incidentEnergy
 
int maxTime
 
std::vector< std::string > names
 
int particleType
 
double phi
 
double pInit
 
std::map< int, float > primaries
 
float SEnergy
 
float SEnergyN
 
float xE3x3Matrix
 
float xE3x3MatrixN
 
float xE5x5Matrix
 
float xE5x5MatrixN
 
double xIncidentEnergy
 
float xSEnergy
 
float xSEnergyN
 

Additional Inherited Members

- Protected Member Functions inherited from SimProducer
template<class T >
void produces ()
 
template<class T >
void produces (const std::string &instanceName)
 

Detailed Description

Description: Analysis of 2004 Hcal Test beam simulation

Usage: A Simwatcher class and can be activated from Oscarproducer module

Definition at line 42 of file HcalTB02Analysis.h.

Constructor & Destructor Documentation

HcalTB02Analysis::HcalTB02Analysis ( const edm::ParameterSet p)

Definition at line 49 of file HcalTB02Analysis.cc.

HcalTB02Analysis::~HcalTB02Analysis ( )
virtual

Definition at line 64 of file HcalTB02Analysis.cc.

HcalTB02Analysis::HcalTB02Analysis ( const HcalTB02Analysis )
private

Member Function Documentation

void HcalTB02Analysis::clear ( void  )
private

Definition at line 414 of file HcalTB02Analysis.cc.

void HcalTB02Analysis::fillEvent ( HcalTB02HistoClass product)
private

Definition at line 383 of file HcalTB02Analysis.cc.

void HcalTB02Analysis::finish ( )
private

Definition at line 431 of file HcalTB02Analysis.cc.

const HcalTB02Analysis& HcalTB02Analysis::operator= ( const HcalTB02Analysis )
private
void HcalTB02Analysis::produce ( edm::Event e,
const edm::EventSetup  
)
virtual

Implements SimProducer.

Definition at line 79 of file HcalTB02Analysis.cc.

void HcalTB02Analysis::update ( const BeginOfEvent )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const BeginOfEvent * >.

Definition at line 86 of file HcalTB02Analysis.cc.

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

void HcalTB02Analysis::update ( const EndOfEvent )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const EndOfEvent * >.

Definition at line 93 of file HcalTB02Analysis.cc.

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

Member Data Documentation

float HcalTB02Analysis::E5x5Matrix
private

Definition at line 81 of file HcalTB02Analysis.h.

float HcalTB02Analysis::E5x5MatrixN
private

Definition at line 82 of file HcalTB02Analysis.h.

float HcalTB02Analysis::E7x7Matrix
private

Definition at line 81 of file HcalTB02Analysis.h.

float HcalTB02Analysis::E7x7MatrixN
private

Definition at line 82 of file HcalTB02Analysis.h.

std::map<int,float> HcalTB02Analysis::energyInCrystals
private

Definition at line 77 of file HcalTB02Analysis.h.

std::map<int,float> HcalTB02Analysis::energyInScints
private

Definition at line 77 of file HcalTB02Analysis.h.

double HcalTB02Analysis::eta
private

Definition at line 80 of file HcalTB02Analysis.h.

Referenced by Particle.Particle::__str__().

std::string HcalTB02Analysis::fileNameTuple
private

Definition at line 73 of file HcalTB02Analysis.h.

bool HcalTB02Analysis::hcalOnly
private

Definition at line 72 of file HcalTB02Analysis.h.

HcalTB02Histo* HcalTB02Analysis::histo
private

Definition at line 69 of file HcalTB02Analysis.h.

double HcalTB02Analysis::incidentEnergy
private

Definition at line 80 of file HcalTB02Analysis.h.

int HcalTB02Analysis::maxTime
private

Definition at line 83 of file HcalTB02Analysis.h.

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

Definition at line 74 of file HcalTB02Analysis.h.

int HcalTB02Analysis::particleType
private

Definition at line 79 of file HcalTB02Analysis.h.

double HcalTB02Analysis::phi
private

Definition at line 80 of file HcalTB02Analysis.h.

Referenced by Particle.Particle::__str__().

double HcalTB02Analysis::pInit
private

Definition at line 80 of file HcalTB02Analysis.h.

std::map<int,float> HcalTB02Analysis::primaries
private

Definition at line 78 of file HcalTB02Analysis.h.

float HcalTB02Analysis::SEnergy
private

Definition at line 81 of file HcalTB02Analysis.h.

float HcalTB02Analysis::SEnergyN
private

Definition at line 82 of file HcalTB02Analysis.h.

float HcalTB02Analysis::xE3x3Matrix
private

Definition at line 86 of file HcalTB02Analysis.h.

float HcalTB02Analysis::xE3x3MatrixN
private

Definition at line 87 of file HcalTB02Analysis.h.

float HcalTB02Analysis::xE5x5Matrix
private

Definition at line 86 of file HcalTB02Analysis.h.

float HcalTB02Analysis::xE5x5MatrixN
private

Definition at line 87 of file HcalTB02Analysis.h.

double HcalTB02Analysis::xIncidentEnergy
private

Definition at line 84 of file HcalTB02Analysis.h.

float HcalTB02Analysis::xSEnergy
private

Definition at line 85 of file HcalTB02Analysis.h.

float HcalTB02Analysis::xSEnergyN
private

Definition at line 85 of file HcalTB02Analysis.h.