CMS 3D CMS Logo

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

#include <CastorShowerLibrary.h>

Public Member Functions

 CastorShowerLibrary (std::string &name, edm::ParameterSet const &p)
 
int FindEnergyBin (double)
 
int FindEtaBin (double)
 
int FindPhiBin (double)
 
CastorShowerEvent getShowerHits (G4Step *, bool &)
 
void initParticleTable (G4ParticleTable *)
 
 ~CastorShowerLibrary ()
 

Protected Member Functions

void getRecord (int, int)
 
void initFile (edm::ParameterSet const &)
 
void loadEventInfo (TBranchObject *)
 
void select (int, double, double=0, double=9)
 

Private Attributes

int anuePDG
 
int anumuPDG
 
int anutauPDG
 
TBranchObject * emBranch
 
int emPDG
 
int epPDG
 
int etaPDG
 
CastorShowerLibraryInfoeventInfo
 
TBranchObject * evtInfo
 
unsigned int evtPerBin
 
int gammaPDG
 
int geantinoPDG
 
TBranchObject * hadBranch
 
TFile * hf
 
int mumPDG
 
int mupPDG
 
unsigned int nBinsE
 
unsigned int nBinsEta
 
unsigned int nBinsPhi
 
unsigned int nEvtPerBinE
 
unsigned int nEvtPerBinEta
 
unsigned int nEvtPerBinPhi
 
unsigned int nMomBin
 
int nuePDG
 
int numuPDG
 
int nutauPDG
 
int pi0PDG
 
std::vector< double > pmom
 
CastorShowerEventshowerEvent
 
std::vector< double > SLenergies
 
std::vector< double > SLetas
 
std::vector< double > SLphis
 
unsigned int totEvents
 
bool verbose
 

Detailed Description

Definition at line 32 of file CastorShowerLibrary.h.

Constructor & Destructor Documentation

CastorShowerLibrary::CastorShowerLibrary ( std::string &  name,
edm::ParameterSet const &  p 
)

Definition at line 23 of file CastorShowerLibrary.cc.

CastorShowerLibrary::~CastorShowerLibrary ( )

Definition at line 37 of file CastorShowerLibrary.cc.

Member Function Documentation

int CastorShowerLibrary::FindEnergyBin ( double  energy)

Definition at line 399 of file CastorShowerLibrary.cc.

int CastorShowerLibrary::FindEtaBin ( double  eta)

Definition at line 415 of file CastorShowerLibrary.cc.

int CastorShowerLibrary::FindPhiBin ( double  phi)

Definition at line 429 of file CastorShowerLibrary.cc.

void CastorShowerLibrary::getRecord ( int  type,
int  record 
)
protected

Definition at line 273 of file CastorShowerLibrary.cc.

CastorShowerEvent CastorShowerLibrary::getShowerHits ( G4Step *  aStep,
bool &  ok 
)

Definition at line 212 of file CastorShowerLibrary.cc.

void CastorShowerLibrary::initFile ( edm::ParameterSet const &  p)
protected

Definition at line 44 of file CastorShowerLibrary.cc.

void CastorShowerLibrary::initParticleTable ( G4ParticleTable *  theParticleTable)

Definition at line 163 of file CastorShowerLibrary.cc.

void CastorShowerLibrary::loadEventInfo ( TBranchObject *  branch)
protected

Definition at line 109 of file CastorShowerLibrary.cc.

void CastorShowerLibrary::select ( int  type,
double  pin,
double  etain = 0,
double  phiin = 9 
)
protected

Definition at line 310 of file CastorShowerLibrary.cc.

Member Data Documentation

int CastorShowerLibrary::anuePDG
private

Definition at line 75 of file CastorShowerLibrary.h.

int CastorShowerLibrary::anumuPDG
private

Definition at line 75 of file CastorShowerLibrary.h.

int CastorShowerLibrary::anutauPDG
private

Definition at line 75 of file CastorShowerLibrary.h.

TBranchObject* CastorShowerLibrary::emBranch
private

Definition at line 62 of file CastorShowerLibrary.h.

int CastorShowerLibrary::emPDG
private

Definition at line 73 of file CastorShowerLibrary.h.

int CastorShowerLibrary::epPDG
private

Definition at line 73 of file CastorShowerLibrary.h.

int CastorShowerLibrary::etaPDG
private

Definition at line 74 of file CastorShowerLibrary.h.

CastorShowerLibraryInfo* CastorShowerLibrary::eventInfo
private

Definition at line 65 of file CastorShowerLibrary.h.

TBranchObject* CastorShowerLibrary::evtInfo
private

Definition at line 61 of file CastorShowerLibrary.h.

unsigned int CastorShowerLibrary::evtPerBin
private

Definition at line 69 of file CastorShowerLibrary.h.

int CastorShowerLibrary::gammaPDG
private

Definition at line 73 of file CastorShowerLibrary.h.

int CastorShowerLibrary::geantinoPDG
private

Definition at line 75 of file CastorShowerLibrary.h.

TBranchObject * CastorShowerLibrary::hadBranch
private

Definition at line 62 of file CastorShowerLibrary.h.

TFile* CastorShowerLibrary::hf
private

Definition at line 60 of file CastorShowerLibrary.h.

int CastorShowerLibrary::mumPDG
private

Definition at line 76 of file CastorShowerLibrary.h.

int CastorShowerLibrary::mupPDG
private

Definition at line 76 of file CastorShowerLibrary.h.

unsigned int CastorShowerLibrary::nBinsE
private

Definition at line 78 of file CastorShowerLibrary.h.

unsigned int CastorShowerLibrary::nBinsEta
private

Definition at line 78 of file CastorShowerLibrary.h.

unsigned int CastorShowerLibrary::nBinsPhi
private

Definition at line 78 of file CastorShowerLibrary.h.

unsigned int CastorShowerLibrary::nEvtPerBinE
private

Definition at line 79 of file CastorShowerLibrary.h.

unsigned int CastorShowerLibrary::nEvtPerBinEta
private

Definition at line 79 of file CastorShowerLibrary.h.

unsigned int CastorShowerLibrary::nEvtPerBinPhi
private

Definition at line 79 of file CastorShowerLibrary.h.

unsigned int CastorShowerLibrary::nMomBin
private

Definition at line 69 of file CastorShowerLibrary.h.

int CastorShowerLibrary::nuePDG
private

Definition at line 74 of file CastorShowerLibrary.h.

int CastorShowerLibrary::numuPDG
private

Definition at line 74 of file CastorShowerLibrary.h.

int CastorShowerLibrary::nutauPDG
private

Definition at line 74 of file CastorShowerLibrary.h.

int CastorShowerLibrary::pi0PDG
private

Definition at line 74 of file CastorShowerLibrary.h.

std::vector<double> CastorShowerLibrary::pmom
private

Definition at line 71 of file CastorShowerLibrary.h.

CastorShowerEvent* CastorShowerLibrary::showerEvent
private

Definition at line 66 of file CastorShowerLibrary.h.

std::vector<double> CastorShowerLibrary::SLenergies
private

Definition at line 80 of file CastorShowerLibrary.h.

std::vector<double> CastorShowerLibrary::SLetas
private

Definition at line 81 of file CastorShowerLibrary.h.

std::vector<double> CastorShowerLibrary::SLphis
private

Definition at line 82 of file CastorShowerLibrary.h.

unsigned int CastorShowerLibrary::totEvents
private

Definition at line 69 of file CastorShowerLibrary.h.

bool CastorShowerLibrary::verbose
private

Definition at line 68 of file CastorShowerLibrary.h.