CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Member Functions | Private Member Functions | Private Attributes
HcalForwardAnalysis Class Reference

#include <HcalForwardAnalysis.h>

Inheritance diagram for HcalForwardAnalysis:
SimProducer Observer< const BeginOfRun * > Observer< const BeginOfEvent * > Observer< const EndOfEvent * > Observer< const G4Step * > SimWatcher

Classes

struct  Photon
 

Public Member Functions

 HcalForwardAnalysis (const edm::ParameterSet &p)
 
virtual void produce (edm::Event &, const edm::EventSetup &)
 
virtual ~HcalForwardAnalysis ()
 
- 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 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 clear ()
 
void fillEvent ()
 
 HcalForwardAnalysis (const HcalForwardAnalysis &)
 
void init ()
 
const HcalForwardAnalysisoperator= (const HcalForwardAnalysis &)
 
void parseDetId (int id, int &tower, int &cell, int &fiber)
 
void setPhotons (const EndOfEvent *evt)
 
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 G4Step *step)
 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

int count
 
int evNum
 
int fiberId [10000]
 
float lambda [10000]
 
int nphot
 
float primMomX
 
float primMomY
 
float primMomZ
 
float primT
 
float primX
 
float primY
 
float primZ
 
float t [10000]
 
int theEventCounter
 
edm::Service< TFileServicetheFile
 
std::vector< std::string > theNames
 
std::vector< PhotonthePhotons
 
TTree * theTree
 
float x [10000]
 
float y [10000]
 
float z [10000]
 

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

Definition at line 35 of file HcalForwardAnalysis.h.

Constructor & Destructor Documentation

HcalForwardAnalysis::HcalForwardAnalysis ( const edm::ParameterSet p)

Definition at line 27 of file HcalForwardAnalysis.cc.

HcalForwardAnalysis::~HcalForwardAnalysis ( )
virtual

Definition at line 49 of file HcalForwardAnalysis.cc.

HcalForwardAnalysis::HcalForwardAnalysis ( const HcalForwardAnalysis )
private

Member Function Documentation

void HcalForwardAnalysis::clear ( void  )
private

Definition at line 251 of file HcalForwardAnalysis.cc.

void HcalForwardAnalysis::fillEvent ( )
private

Definition at line 230 of file HcalForwardAnalysis.cc.

void HcalForwardAnalysis::init ( void  )
private

Definition at line 68 of file HcalForwardAnalysis.cc.

const HcalForwardAnalysis& HcalForwardAnalysis::operator= ( const HcalForwardAnalysis )
private
void HcalForwardAnalysis::parseDetId ( int  id,
int &  tower,
int &  cell,
int &  fiber 
)
private

Definition at line 245 of file HcalForwardAnalysis.cc.

void HcalForwardAnalysis::produce ( edm::Event iEvent,
const edm::EventSetup  
)
virtual

Implements SimProducer.

Definition at line 56 of file HcalForwardAnalysis.cc.

void HcalForwardAnalysis::setPhotons ( const EndOfEvent evt)
private

Definition at line 129 of file HcalForwardAnalysis.cc.

void HcalForwardAnalysis::update ( const BeginOfRun )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const BeginOfRun * >.

Definition at line 92 of file HcalForwardAnalysis.cc.

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

void HcalForwardAnalysis::update ( const BeginOfEvent )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const BeginOfEvent * >.

Definition at line 99 of file HcalForwardAnalysis.cc.

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

void HcalForwardAnalysis::update ( const G4Step *  )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const G4Step * >.

Definition at line 106 of file HcalForwardAnalysis.cc.

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

void HcalForwardAnalysis::update ( const EndOfEvent )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const EndOfEvent * >.

Definition at line 109 of file HcalForwardAnalysis.cc.

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

Member Data Documentation

int HcalForwardAnalysis::count
private

Definition at line 83 of file HcalForwardAnalysis.h.

int HcalForwardAnalysis::evNum
private

Definition at line 84 of file HcalForwardAnalysis.h.

int HcalForwardAnalysis::fiberId[10000]
private

Definition at line 89 of file HcalForwardAnalysis.h.

float HcalForwardAnalysis::lambda[10000]
private

Definition at line 85 of file HcalForwardAnalysis.h.

int HcalForwardAnalysis::nphot
private

Definition at line 88 of file HcalForwardAnalysis.h.

float HcalForwardAnalysis::primMomX
private

Definition at line 87 of file HcalForwardAnalysis.h.

float HcalForwardAnalysis::primMomY
private

Definition at line 87 of file HcalForwardAnalysis.h.

float HcalForwardAnalysis::primMomZ
private

Definition at line 87 of file HcalForwardAnalysis.h.

float HcalForwardAnalysis::primT
private

Definition at line 86 of file HcalForwardAnalysis.h.

float HcalForwardAnalysis::primX
private

Definition at line 86 of file HcalForwardAnalysis.h.

float HcalForwardAnalysis::primY
private

Definition at line 86 of file HcalForwardAnalysis.h.

float HcalForwardAnalysis::primZ
private

Definition at line 86 of file HcalForwardAnalysis.h.

float HcalForwardAnalysis::t[10000]
private

Definition at line 85 of file HcalForwardAnalysis.h.

int HcalForwardAnalysis::theEventCounter
private

Definition at line 82 of file HcalForwardAnalysis.h.

edm::Service<TFileService> HcalForwardAnalysis::theFile
private

Definition at line 79 of file HcalForwardAnalysis.h.

std::vector<std::string> HcalForwardAnalysis::theNames
private

Definition at line 91 of file HcalForwardAnalysis.h.

std::vector<Photon> HcalForwardAnalysis::thePhotons
private

Definition at line 90 of file HcalForwardAnalysis.h.

TTree* HcalForwardAnalysis::theTree
private

Definition at line 81 of file HcalForwardAnalysis.h.

float HcalForwardAnalysis::x[10000]
private

Definition at line 85 of file HcalForwardAnalysis.h.

float HcalForwardAnalysis::y[10000]
private

Definition at line 85 of file HcalForwardAnalysis.h.

float HcalForwardAnalysis::z[10000]
private

Definition at line 85 of file HcalForwardAnalysis.h.