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 | Protected Member Functions | Private Attributes
HFShowerLibrary Class Reference

#include <HFShowerLibrary.h>

Classes

struct  Hit
 

Public Member Functions

std::vector< HitfillHits (G4ThreeVector &p, G4ThreeVector &v, int parCode, double parEnergy, bool &ok, double weight, double time, bool onlyLong=false)
 
std::vector< HitgetHits (G4Step *aStep, bool &ok, double weight, bool onlyLong=false)
 
 HFShowerLibrary (std::string &name, const DDCompactView &cpv, edm::ParameterSet const &p)
 
void initRun (G4ParticleTable *, HcalDDDSimConstants *)
 
 ~HFShowerLibrary ()
 

Protected Member Functions

void extrapolate (int, double)
 
std::vector< double > getDDDArray (const std::string &, const DDsvalues_type &, int &)
 
void getRecord (int, int)
 
void interpolate (int, double)
 
void loadEventInfo (TBranch *)
 
bool rInside (double r)
 
void storePhoton (int j)
 

Private Attributes

int anuePDG
 
int anumuPDG
 
int anutauPDG
 
bool applyFidCut
 
double backProb
 
double dphi
 
TBranch * emBranch
 
int emPDG
 
int epPDG
 
int etaPDG
 
int evtPerBin
 
HFFibrefibre
 
int gammaPDG
 
int geantinoPDG
 
std::vector< double > gpar
 
TBranch * hadBranch
 
TFile * hf
 
float libVers
 
float listVersion
 
bool newForm
 
int nMomBin
 
int npe
 
int nuePDG
 
int numuPDG
 
int nutauPDG
 
HFShowerPhotonCollection pe
 
HFShowerPhotonCollectionphoto
 
HFShowerPhotonCollection photon
 
int pi0PDG
 
std::vector< double > pmom
 
double probMax
 
double rMax
 
double rMin
 
int totEvents
 
bool verbose
 

Detailed Description

Definition at line 29 of file HFShowerLibrary.h.

Constructor & Destructor Documentation

HFShowerLibrary::HFShowerLibrary ( std::string &  name,
const DDCompactView cpv,
edm::ParameterSet const &  p 
)

Definition at line 24 of file HFShowerLibrary.cc.

HFShowerLibrary::~HFShowerLibrary ( )

Definition at line 120 of file HFShowerLibrary.cc.

Member Function Documentation

void HFShowerLibrary::extrapolate ( int  type,
double  pin 
)
protected

Definition at line 533 of file HFShowerLibrary.cc.

std::vector< HFShowerLibrary::Hit > HFShowerLibrary::fillHits ( G4ThreeVector &  p,
G4ThreeVector &  v,
int  parCode,
double  parEnergy,
bool &  ok,
double  weight,
double  time,
bool  onlyLong = false 
)

Definition at line 215 of file HFShowerLibrary.cc.

std::vector< double > HFShowerLibrary::getDDDArray ( const std::string &  str,
const DDsvalues_type sv,
int &  nmin 
)
protected

Definition at line 618 of file HFShowerLibrary.cc.

std::vector< HFShowerLibrary::Hit > HFShowerLibrary::getHits ( G4Step *  aStep,
bool &  ok,
double  weight,
bool  onlyLong = false 
)

Definition at line 177 of file HFShowerLibrary.cc.

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

Definition at line 385 of file HFShowerLibrary.cc.

void HFShowerLibrary::initRun ( G4ParticleTable *  theParticleTable,
HcalDDDSimConstants hcons 
)

Definition at line 126 of file HFShowerLibrary.cc.

void HFShowerLibrary::interpolate ( int  type,
double  pin 
)
protected

Definition at line 446 of file HFShowerLibrary.cc.

void HFShowerLibrary::loadEventInfo ( TBranch *  branch)
protected

Definition at line 417 of file HFShowerLibrary.cc.

bool HFShowerLibrary::rInside ( double  r)
protected

Definition at line 379 of file HFShowerLibrary.cc.

void HFShowerLibrary::storePhoton ( int  j)
protected

Definition at line 607 of file HFShowerLibrary.cc.

Member Data Documentation

int HFShowerLibrary::anuePDG
private

Definition at line 81 of file HFShowerLibrary.h.

int HFShowerLibrary::anumuPDG
private

Definition at line 81 of file HFShowerLibrary.h.

int HFShowerLibrary::anutauPDG
private

Definition at line 81 of file HFShowerLibrary.h.

bool HFShowerLibrary::applyFidCut
private

Definition at line 70 of file HFShowerLibrary.h.

double HFShowerLibrary::backProb
private

Definition at line 75 of file HFShowerLibrary.h.

double HFShowerLibrary::dphi
private

Definition at line 76 of file HFShowerLibrary.h.

TBranch* HFShowerLibrary::emBranch
private

Definition at line 68 of file HFShowerLibrary.h.

int HFShowerLibrary::emPDG
private

Definition at line 79 of file HFShowerLibrary.h.

int HFShowerLibrary::epPDG
private

Definition at line 79 of file HFShowerLibrary.h.

int HFShowerLibrary::etaPDG
private

Definition at line 80 of file HFShowerLibrary.h.

int HFShowerLibrary::evtPerBin
private

Definition at line 71 of file HFShowerLibrary.h.

HFFibre* HFShowerLibrary::fibre
private

Definition at line 66 of file HFShowerLibrary.h.

int HFShowerLibrary::gammaPDG
private

Definition at line 79 of file HFShowerLibrary.h.

int HFShowerLibrary::geantinoPDG
private

Definition at line 81 of file HFShowerLibrary.h.

std::vector<double> HFShowerLibrary::gpar
private

Definition at line 77 of file HFShowerLibrary.h.

TBranch * HFShowerLibrary::hadBranch
private

Definition at line 68 of file HFShowerLibrary.h.

TFile* HFShowerLibrary::hf
private

Definition at line 67 of file HFShowerLibrary.h.

float HFShowerLibrary::libVers
private

Definition at line 72 of file HFShowerLibrary.h.

float HFShowerLibrary::listVersion
private

Definition at line 72 of file HFShowerLibrary.h.

bool HFShowerLibrary::newForm
private

Definition at line 70 of file HFShowerLibrary.h.

int HFShowerLibrary::nMomBin
private

Definition at line 71 of file HFShowerLibrary.h.

int HFShowerLibrary::npe
private

Definition at line 83 of file HFShowerLibrary.h.

int HFShowerLibrary::nuePDG
private

Definition at line 80 of file HFShowerLibrary.h.

int HFShowerLibrary::numuPDG
private

Definition at line 80 of file HFShowerLibrary.h.

int HFShowerLibrary::nutauPDG
private

Definition at line 80 of file HFShowerLibrary.h.

HFShowerPhotonCollection HFShowerLibrary::pe
private

Definition at line 84 of file HFShowerLibrary.h.

HFShowerPhotonCollection* HFShowerLibrary::photo
private

Definition at line 85 of file HFShowerLibrary.h.

HFShowerPhotonCollection HFShowerLibrary::photon
private

Definition at line 86 of file HFShowerLibrary.h.

int HFShowerLibrary::pi0PDG
private

Definition at line 80 of file HFShowerLibrary.h.

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

Definition at line 73 of file HFShowerLibrary.h.

double HFShowerLibrary::probMax
private

Definition at line 75 of file HFShowerLibrary.h.

double HFShowerLibrary::rMax
private

Definition at line 76 of file HFShowerLibrary.h.

double HFShowerLibrary::rMin
private

Definition at line 76 of file HFShowerLibrary.h.

int HFShowerLibrary::totEvents
private

Definition at line 71 of file HFShowerLibrary.h.

bool HFShowerLibrary::verbose
private

Definition at line 70 of file HFShowerLibrary.h.