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

#include <CheckSecondary.h>

Inheritance diagram for CheckSecondary:
SimWatcher Observer< const BeginOfEvent * > Observer< const BeginOfTrack * > Observer< const EndOfEvent * > Observer< const G4Step * >

Public Member Functions

 CheckSecondary (const edm::ParameterSet &p)
 
virtual ~CheckSecondary ()
 
- 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 BeginOfTrack * >
 Observer ()
 
void slotForUpdate (const BeginOfTrack *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

TTree * bookTree (std::string)
 
 CheckSecondary (const CheckSecondary &)
 
void endTree ()
 
const CheckSecondaryoperator= (const CheckSecondary &)
 
void update (const BeginOfEvent *evt)
 This routine will be called when the appropriate signal arrives. More...
 
void update (const BeginOfTrack *trk)
 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

std::vector< double > * deltae
 
TFile * file
 
std::vector< double > * mass
 
int nHad
 
std::vector< int > * nsec
 
std::vector< int > * procids
 
std::vector< std::string > * procs
 
std::vector< double > * px
 
std::vector< double > * py
 
std::vector< double > * pz
 
bool saveToTree
 
bool storeIt
 
TreatSecondarytreatSecondary
 
TTree * tree
 
G4ProcessTypeEnumeratortypeEnumerator
 

Additional Inherited Members

Detailed Description

Definition at line 25 of file CheckSecondary.h.

Constructor & Destructor Documentation

CheckSecondary::CheckSecondary ( const edm::ParameterSet p)

Definition at line 25 of file CheckSecondary.cc.

CheckSecondary::~CheckSecondary ( )
virtual

Definition at line 61 of file CheckSecondary.cc.

CheckSecondary::CheckSecondary ( const CheckSecondary )
private

Member Function Documentation

TTree * CheckSecondary::bookTree ( std::string  fileName)
private

Definition at line 75 of file CheckSecondary.cc.

void CheckSecondary::endTree ( )
private

Definition at line 92 of file CheckSecondary.cc.

const CheckSecondary& CheckSecondary::operator= ( const CheckSecondary )
private
void CheckSecondary::update ( const BeginOfEvent )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const BeginOfEvent * >.

Definition at line 104 of file CheckSecondary.cc.

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

void CheckSecondary::update ( const BeginOfTrack )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const BeginOfTrack * >.

Definition at line 120 of file CheckSecondary.cc.

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

void CheckSecondary::update ( const G4Step *  )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const G4Step * >.

Definition at line 132 of file CheckSecondary.cc.

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

void CheckSecondary::update ( const EndOfEvent )
privatevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const EndOfEvent * >.

Definition at line 172 of file CheckSecondary.cc.

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

Member Data Documentation

std::vector<double> * CheckSecondary::deltae
private

Definition at line 53 of file CheckSecondary.h.

TFile* CheckSecondary::file
private

Definition at line 55 of file CheckSecondary.h.

std::vector<double> * CheckSecondary::mass
private
int CheckSecondary::nHad
private

Definition at line 51 of file CheckSecondary.h.

std::vector<int>* CheckSecondary::nsec
private

Definition at line 52 of file CheckSecondary.h.

std::vector<int> * CheckSecondary::procids
private

Definition at line 52 of file CheckSecondary.h.

std::vector<std::string>* CheckSecondary::procs
private

Definition at line 54 of file CheckSecondary.h.

std::vector<double>* CheckSecondary::px
private

Definition at line 53 of file CheckSecondary.h.

std::vector<double> * CheckSecondary::py
private

Definition at line 53 of file CheckSecondary.h.

std::vector<double> * CheckSecondary::pz
private

Definition at line 53 of file CheckSecondary.h.

bool CheckSecondary::saveToTree
private

Definition at line 50 of file CheckSecondary.h.

bool CheckSecondary::storeIt
private

Definition at line 50 of file CheckSecondary.h.

TreatSecondary* CheckSecondary::treatSecondary
private

Definition at line 48 of file CheckSecondary.h.

TTree* CheckSecondary::tree
private
G4ProcessTypeEnumerator* CheckSecondary::typeEnumerator
private

Definition at line 49 of file CheckSecondary.h.