#include <HFShowerLibrary.h>
Classes | |
struct | Hit |
Public Member Functions | |
std::vector< Hit > | getHits (G4Step *aStep, bool &ok, double weight, bool onlyLong=false) |
HFShowerLibrary (std::string &name, const DDCompactView &cpv, edm::ParameterSet const &p) | |
void | initRun (G4ParticleTable *theParticleTable) |
~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 |
HFFibre * | fibre |
int | gammaPDG |
int | geantinoPDG |
std::vector< double > | gpar |
TBranch * | hadBranch |
TFile * | hf |
float | libVers |
float | listVersion |
int | nMomBin |
int | npe |
int | nuePDG |
int | numuPDG |
int | nutauPDG |
std::vector< HFShowerPhoton > | pe |
std::vector< HFShowerPhoton > | photon |
int | pi0PDG |
std::vector< double > | pmom |
double | probMax |
double | rMax |
double | rMin |
int | totEvents |
bool | verbose |
Definition at line 28 of file HFShowerLibrary.h.
HFShowerLibrary::HFShowerLibrary | ( | std::string & | name, |
const DDCompactView & | cpv, | ||
edm::ParameterSet const & | p | ||
) |
Definition at line 23 of file HFShowerLibrary.cc.
References DDFilteredView::addFilter(), anuePDG, anumuPDG, anutauPDG, applyFidCut, backProb, dphi, emBranch, emPDG, epPDG, DDSpecificsFilter::equals, etaPDG, event(), evtPerBin, edm::hlt::Exception, fibre, alcazmumu_cfi::filter, DDFilteredView::firstChild(), gammaPDG, geantinoPDG, getDDDArray(), edm::ParameterSet::getParameter(), gpar, hadBranch, hf, i, info, libVers, listVersion, loadEventInfo(), DDFilteredView::mergedSpecifics(), mergeVDriftHistosByStation::name, nMomBin, nuePDG, numuPDG, nutauPDG, pi0PDG, pmom, probMax, rMax, rMin, DDSpecificsFilter::setCriteria(), AlCaHLTBitMon_QueryRunRegistry::string, totEvents, and relativeConstraints::value.
HFShowerLibrary::~HFShowerLibrary | ( | ) |
Definition at line 155 of file HFShowerLibrary.cc.
|
protected |
Definition at line 512 of file HFShowerLibrary.cc.
References evtPerBin, getRecord(), j, LogDebug, nMomBin, npe, pe, photon, pmom, alignCSCRings::r, storePhoton(), totEvents, and w().
Referenced by getHits().
|
protected |
Definition at line 596 of file HFShowerLibrary.cc.
References DDfetch(), DDValue::doubles(), edm::hlt::Exception, LogDebug, and relativeConstraints::value.
Referenced by HFShowerLibrary().
std::vector< HFShowerLibrary::Hit > HFShowerLibrary::getHits | ( | G4Step * | aStep, |
bool & | ok, | ||
double | weight, | ||
bool | onlyLong = false |
||
) |
Definition at line 188 of file HFShowerLibrary.cc.
References abs, anuePDG, anumuPDG, anutauPDG, applyFidCut, HFFibre::attLength(), backProb, funct::cos(), HFShowerLibrary::Hit::depth, dphi, emPDG, epPDG, etaPDG, create_public_lumi_plots::exp, extrapolate(), fibre, gammaPDG, geantinoPDG, gpar, i, interpolate(), LogDebug, nMomBin, npe, nuePDG, numuPDG, nutauPDG, AlCaHLTBitMon_ParallelJobs::p, pe, pi0PDG, pmom, pos, HFShowerLibrary::Hit::position, probMax, alignCSCRings::r, diffTwoXMLs::r1, diffTwoXMLs::r2, rInside(), funct::sin(), HFShowerLibrary::Hit::time, HFFibre::tShift(), detailsBasic3DVector::z, hit::z, and HFFibre::zShift().
Referenced by HCalSD::getFromLibrary(), and HFShowerParam::getHits().
|
protected |
Definition at line 386 of file HFShowerLibrary.cc.
References emBranch, hadBranch, j, LogDebug, and photon.
Referenced by extrapolate(), and interpolate().
void HFShowerLibrary::initRun | ( | G4ParticleTable * | theParticleTable | ) |
Definition at line 160 of file HFShowerLibrary.cc.
References anuePDG, anumuPDG, anutauPDG, emPDG, epPDG, etaPDG, gammaPDG, geantinoPDG, nuePDG, numuPDG, nutauPDG, and pi0PDG.
Referenced by HFShowerParam::initRun(), and HCalSD::initRun().
|
protected |
Definition at line 425 of file HFShowerLibrary.cc.
References evtPerBin, getRecord(), j, LogDebug, nMomBin, npe, pe, photon, pmom, alignCSCRings::r, storePhoton(), totEvents, and w().
Referenced by getHits().
|
protected |
Definition at line 407 of file HFShowerLibrary.cc.
References evtPerBin, i, libVers, listVersion, nMomBin, pmom, and totEvents.
Referenced by HFShowerLibrary().
|
protected |
|
protected |
Definition at line 586 of file HFShowerLibrary.cc.
References LogDebug, npe, pe, and photon.
Referenced by extrapolate(), and interpolate().
|
private |
Definition at line 78 of file HFShowerLibrary.h.
Referenced by getHits(), HFShowerLibrary(), and initRun().
|
private |
Definition at line 78 of file HFShowerLibrary.h.
Referenced by getHits(), HFShowerLibrary(), and initRun().
|
private |
Definition at line 78 of file HFShowerLibrary.h.
Referenced by getHits(), HFShowerLibrary(), and initRun().
|
private |
Definition at line 67 of file HFShowerLibrary.h.
Referenced by getHits(), and HFShowerLibrary().
|
private |
Definition at line 72 of file HFShowerLibrary.h.
Referenced by getHits(), and HFShowerLibrary().
|
private |
Definition at line 73 of file HFShowerLibrary.h.
Referenced by getHits(), and HFShowerLibrary().
|
private |
Definition at line 65 of file HFShowerLibrary.h.
Referenced by getRecord(), and HFShowerLibrary().
|
private |
Definition at line 76 of file HFShowerLibrary.h.
Referenced by getHits(), HFShowerLibrary(), and initRun().
|
private |
Definition at line 76 of file HFShowerLibrary.h.
Referenced by getHits(), HFShowerLibrary(), and initRun().
|
private |
Definition at line 77 of file HFShowerLibrary.h.
Referenced by getHits(), HFShowerLibrary(), and initRun().
|
private |
Definition at line 68 of file HFShowerLibrary.h.
Referenced by extrapolate(), HFShowerLibrary(), interpolate(), and loadEventInfo().
|
private |
Definition at line 63 of file HFShowerLibrary.h.
Referenced by getHits(), HFShowerLibrary(), and ~HFShowerLibrary().
|
private |
Definition at line 76 of file HFShowerLibrary.h.
Referenced by getHits(), HFShowerLibrary(), and initRun().
|
private |
Definition at line 78 of file HFShowerLibrary.h.
Referenced by getHits(), HFShowerLibrary(), and initRun().
|
private |
Definition at line 74 of file HFShowerLibrary.h.
Referenced by getHits(), and HFShowerLibrary().
|
private |
Definition at line 65 of file HFShowerLibrary.h.
Referenced by getRecord(), and HFShowerLibrary().
|
private |
Definition at line 64 of file HFShowerLibrary.h.
Referenced by HFShowerLibrary(), and ~HFShowerLibrary().
|
private |
Definition at line 69 of file HFShowerLibrary.h.
Referenced by HFShowerLibrary(), and loadEventInfo().
|
private |
Definition at line 69 of file HFShowerLibrary.h.
Referenced by HFShowerLibrary(), and loadEventInfo().
|
private |
Definition at line 68 of file HFShowerLibrary.h.
Referenced by extrapolate(), getHits(), HFShowerLibrary(), interpolate(), and loadEventInfo().
|
private |
Definition at line 80 of file HFShowerLibrary.h.
Referenced by extrapolate(), getHits(), interpolate(), and storePhoton().
|
private |
Definition at line 77 of file HFShowerLibrary.h.
Referenced by getHits(), HFShowerLibrary(), and initRun().
|
private |
Definition at line 77 of file HFShowerLibrary.h.
Referenced by getHits(), HFShowerLibrary(), and initRun().
|
private |
Definition at line 77 of file HFShowerLibrary.h.
Referenced by getHits(), HFShowerLibrary(), and initRun().
|
private |
Definition at line 81 of file HFShowerLibrary.h.
Referenced by extrapolate(), getHits(), interpolate(), and storePhoton().
|
private |
Definition at line 82 of file HFShowerLibrary.h.
Referenced by extrapolate(), getRecord(), interpolate(), and storePhoton().
|
private |
Definition at line 77 of file HFShowerLibrary.h.
Referenced by getHits(), HFShowerLibrary(), and initRun().
|
private |
Definition at line 70 of file HFShowerLibrary.h.
Referenced by extrapolate(), getHits(), HFShowerLibrary(), interpolate(), and loadEventInfo().
|
private |
Definition at line 72 of file HFShowerLibrary.h.
Referenced by getHits(), and HFShowerLibrary().
|
private |
Definition at line 73 of file HFShowerLibrary.h.
Referenced by HFShowerLibrary(), and rInside().
|
private |
Definition at line 73 of file HFShowerLibrary.h.
Referenced by HFShowerLibrary(), and rInside().
|
private |
Definition at line 68 of file HFShowerLibrary.h.
Referenced by extrapolate(), HFShowerLibrary(), interpolate(), and loadEventInfo().
|
private |
Definition at line 67 of file HFShowerLibrary.h.