#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 |
bool | newForm |
int | nMomBin |
int | npe |
int | nuePDG |
int | numuPDG |
int | nutauPDG |
HFShowerPhotonCollection | pe |
HFShowerPhotonCollection * | photo |
HFShowerPhotonCollection | 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 24 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(), GeV, gpar, hadBranch, hf, i, info(), libVers, listVersion, loadEventInfo(), DDFilteredView::mergedSpecifics(), mergeVDriftHistosByStation::name, HLT_25ns14e33_v1_cff::nEta, newForm, nMomBin, HLT_25ns14e33_v1_cff::nPhi, nuePDG, numuPDG, nutauPDG, photo, pi0PDG, pmom, probMax, rMax, rMin, DDSpecificsFilter::setCriteria(), AlCaHLTBitMon_QueryRunRegistry::string, totEvents, and relativeConstraints::value.
HFShowerLibrary::~HFShowerLibrary | ( | ) |
|
protected |
Definition at line 543 of file HFShowerLibrary.cc.
References evtPerBin, getRecord(), j, LogDebug, newForm, nMomBin, npe, pe, photo, photon, pmom, alignCSCRings::r, storePhoton(), totEvents, and w.
Referenced by getHits().
|
protected |
Definition at line 628 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 197 of file HFShowerLibrary.cc.
References funct::abs(), anuePDG, anumuPDG, anutauPDG, applyFidCut, HFFibre::attLength(), backProb, funct::cos(), HFShowerLibrary::Hit::depth, HLT_25ns14e33_v1_cff::depth, dphi, emPDG, epPDG, etaPDG, create_public_lumi_plots::exp, extrapolate(), fibre, gammaPDG, geantinoPDG, GeV, gpar, i, interpolate(), LogDebug, nMomBin, npe, nuePDG, numuPDG, nutauPDG, AlCaHLTBitMon_ParallelJobs::p, pe, pi0PDG, pmom, 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 395 of file HFShowerLibrary.cc.
References emBranch, hadBranch, j, LogDebug, newForm, photo, photon, and totEvents.
Referenced by extrapolate(), and interpolate().
void HFShowerLibrary::initRun | ( | G4ParticleTable * | theParticleTable | ) |
Definition at line 169 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 456 of file HFShowerLibrary.cc.
References evtPerBin, getRecord(), GeV, j, LogDebug, newForm, nMomBin, npe, pe, photo, photon, pmom, alignCSCRings::r, storePhoton(), totEvents, and w.
Referenced by getHits().
|
protected |
Definition at line 427 of file HFShowerLibrary.cc.
References evtPerBin, GeV, i, libVers, listVersion, nMomBin, pmom, and totEvents.
Referenced by HFShowerLibrary().
|
protected |
|
protected |
Definition at line 617 of file HFShowerLibrary.cc.
References LogDebug, newForm, npe, pe, photo, 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 67 of file HFShowerLibrary.h.
Referenced by extrapolate(), getRecord(), HFShowerLibrary(), interpolate(), and storePhoton().
|
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(), HFShowerLibrary(), interpolate(), storePhoton(), and ~HFShowerLibrary().
|
private |
Definition at line 83 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(), getRecord(), HFShowerLibrary(), interpolate(), and loadEventInfo().
|
private |
Definition at line 67 of file HFShowerLibrary.h.