#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 |
CastorShowerLibraryInfo * | eventInfo |
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 |
CastorShowerEvent * | showerEvent |
std::vector< double > | SLenergies |
std::vector< double > | SLetas |
std::vector< double > | SLphis |
unsigned int | totEvents |
bool | verbose |
Definition at line 32 of file CastorShowerLibrary.h.
CastorShowerLibrary::CastorShowerLibrary | ( | std::string & | name, |
edm::ParameterSet const & | p | ||
) |
Definition at line 23 of file CastorShowerLibrary.cc.
References initFile().
CastorShowerLibrary::~CastorShowerLibrary | ( | ) |
int CastorShowerLibrary::FindEnergyBin | ( | double | energy | ) |
Definition at line 399 of file CastorShowerLibrary.cc.
References mps_fire::i, and SLenergies.
Referenced by select().
int CastorShowerLibrary::FindEtaBin | ( | double | eta | ) |
Definition at line 415 of file CastorShowerLibrary.cc.
References mps_fire::i, and SLetas.
Referenced by select().
int CastorShowerLibrary::FindPhiBin | ( | double | phi | ) |
Definition at line 429 of file CastorShowerLibrary.cc.
References mps_fire::i, and SLphis.
Referenced by select().
|
protected |
Definition at line 273 of file CastorShowerLibrary.cc.
References emBranch, CastorShowerEvent::getNhit(), hadBranch, LogDebug, record, and showerEvent.
Referenced by select().
CastorShowerEvent CastorShowerLibrary::getShowerHits | ( | G4Step * | aStep, |
bool & | ok | ||
) |
Definition at line 212 of file CastorShowerLibrary.cc.
References funct::abs(), anuePDG, anumuPDG, anutauPDG, CastorShowerEvent::Clear(), emPDG, epPDG, etaPDG, gammaPDG, geantinoPDG, cmsBatch::log, nuePDG, numuPDG, nutauPDG, pi, pi0PDG, dttmaxenums::R, select(), mathSSE::sqrt(), funct::tan(), theta(), and HiIsolationCommonParameters_cff::track.
Referenced by CastorSD::getFromLibrary().
|
protected |
Definition at line 44 of file CastorShowerLibrary.cc.
References emBranch, evtInfo, Exception, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), hadBranch, hf, loadEventInfo(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by CastorShowerLibrary().
void CastorShowerLibrary::initParticleTable | ( | G4ParticleTable * | theParticleTable | ) |
Definition at line 163 of file CastorShowerLibrary.cc.
References anuePDG, anumuPDG, anutauPDG, emPDG, epPDG, etaPDG, gammaPDG, geantinoPDG, LogDebug, mumPDG, mupPDG, nuePDG, numuPDG, nutauPDG, HiggsValidation_cfi::particleName, and pi0PDG.
Referenced by CastorSD::initRun().
|
protected |
Definition at line 109 of file CastorShowerLibrary.cc.
References CastorShowerLibraryInfo::Energy, CastorShowerLibraryInfo::Eta, eventInfo, SLBin::getBin(), SLBin::getNBins(), SLBin::getNEvtPerBin(), SLBin::getNEvts(), GeV, mps_fire::i, nBinsE, nBinsEta, nBinsPhi, nEvtPerBinE, nEvtPerBinEta, nEvtPerBinPhi, CastorShowerLibraryInfo::Phi, SLenergies, SLetas, SLphis, and totEvents.
Referenced by initFile().
|
protected |
Definition at line 310 of file CastorShowerLibrary.cc.
References FindEnergyBin(), FindEtaBin(), FindPhiBin(), getRecord(), createfilelist::int, M_PI, nEvtPerBinE, nEvtPerBinEta, nEvtPerBinPhi, AlignmentTrackSelector_cfi::phiMax, AlignmentTrackSelector_cfi::phiMin, and alignCSCRings::r.
Referenced by getShowerHits().
|
private |
Definition at line 75 of file CastorShowerLibrary.h.
Referenced by getShowerHits(), and initParticleTable().
|
private |
Definition at line 75 of file CastorShowerLibrary.h.
Referenced by getShowerHits(), and initParticleTable().
|
private |
Definition at line 75 of file CastorShowerLibrary.h.
Referenced by getShowerHits(), and initParticleTable().
|
private |
Definition at line 62 of file CastorShowerLibrary.h.
Referenced by getRecord(), and initFile().
|
private |
Definition at line 73 of file CastorShowerLibrary.h.
Referenced by getShowerHits(), and initParticleTable().
|
private |
Definition at line 73 of file CastorShowerLibrary.h.
Referenced by getShowerHits(), and initParticleTable().
|
private |
Definition at line 74 of file CastorShowerLibrary.h.
Referenced by getShowerHits(), and initParticleTable().
|
private |
Definition at line 65 of file CastorShowerLibrary.h.
Referenced by loadEventInfo().
|
private |
Definition at line 61 of file CastorShowerLibrary.h.
Referenced by initFile().
|
private |
Definition at line 69 of file CastorShowerLibrary.h.
|
private |
Definition at line 73 of file CastorShowerLibrary.h.
Referenced by getShowerHits(), and initParticleTable().
|
private |
Definition at line 75 of file CastorShowerLibrary.h.
Referenced by getShowerHits(), and initParticleTable().
|
private |
Definition at line 62 of file CastorShowerLibrary.h.
Referenced by getRecord(), and initFile().
|
private |
Definition at line 60 of file CastorShowerLibrary.h.
Referenced by initFile(), and ~CastorShowerLibrary().
|
private |
Definition at line 76 of file CastorShowerLibrary.h.
Referenced by initParticleTable().
|
private |
Definition at line 76 of file CastorShowerLibrary.h.
Referenced by initParticleTable().
|
private |
Definition at line 78 of file CastorShowerLibrary.h.
Referenced by loadEventInfo().
|
private |
Definition at line 78 of file CastorShowerLibrary.h.
Referenced by loadEventInfo().
|
private |
Definition at line 78 of file CastorShowerLibrary.h.
Referenced by loadEventInfo().
|
private |
Definition at line 79 of file CastorShowerLibrary.h.
Referenced by loadEventInfo(), and select().
|
private |
Definition at line 79 of file CastorShowerLibrary.h.
Referenced by loadEventInfo(), and select().
|
private |
Definition at line 79 of file CastorShowerLibrary.h.
Referenced by loadEventInfo(), and select().
|
private |
Definition at line 69 of file CastorShowerLibrary.h.
|
private |
Definition at line 74 of file CastorShowerLibrary.h.
Referenced by getShowerHits(), and initParticleTable().
|
private |
Definition at line 74 of file CastorShowerLibrary.h.
Referenced by getShowerHits(), and initParticleTable().
|
private |
Definition at line 74 of file CastorShowerLibrary.h.
Referenced by getShowerHits(), and initParticleTable().
|
private |
Definition at line 74 of file CastorShowerLibrary.h.
Referenced by getShowerHits(), and initParticleTable().
|
private |
Definition at line 71 of file CastorShowerLibrary.h.
|
private |
Definition at line 66 of file CastorShowerLibrary.h.
Referenced by getRecord().
|
private |
Definition at line 80 of file CastorShowerLibrary.h.
Referenced by FindEnergyBin(), and loadEventInfo().
|
private |
Definition at line 81 of file CastorShowerLibrary.h.
Referenced by FindEtaBin(), and loadEventInfo().
|
private |
Definition at line 82 of file CastorShowerLibrary.h.
Referenced by FindPhiBin(), and loadEventInfo().
|
private |
Definition at line 69 of file CastorShowerLibrary.h.
Referenced by loadEventInfo().
|
private |
Definition at line 68 of file CastorShowerLibrary.h.