#include <FastHFShowerLibrary.h>
Public Member Functions | |
FastHFShowerLibrary (edm::ParameterSet const &p) | |
const std::map< CaloHitID, float > & | getHitsMap () |
void const | initHFShowerLibrary (const edm::EventSetup &) |
void | modifyDepth (HcalNumberingFromDDD::HcalID &id) |
void | recoHFShowerLibrary (const FSimTrack &myTrack) |
void | SetRandom (const RandomEngineAndDistribution *) |
~FastHFShowerLibrary () | |
Private Attributes | |
bool | applyFidCut |
const edm::ParameterSet | fast |
const HcalDDDSimConstants * | hcalConstants |
std::unique_ptr< HFShowerLibrary > | hfshower |
std::map< CaloHitID, float > | hitMap |
std::string | name |
std::unique_ptr< HcalNumberingFromDDD > | numberingFromDDD |
HcalNumberingScheme | numberingScheme |
Definition at line 40 of file FastHFShowerLibrary.h.
FastHFShowerLibrary::FastHFShowerLibrary | ( | edm::ParameterSet const & | p | ) |
Definition at line 43 of file FastHFShowerLibrary.cc.
References applyFidCut, and edm::ParameterSet::getParameter().
|
inline |
Definition at line 46 of file FastHFShowerLibrary.h.
References initHFShowerLibrary(), modifyDepth(), and recoHFShowerLibrary().
|
inline |
Definition at line 53 of file FastHFShowerLibrary.h.
References hitMap, and SetRandom().
Referenced by CalorimetryManager::HDShowerSimulation(), and CalorimetryManager::reconstructTrack().
void const FastHFShowerLibrary::initHFShowerLibrary | ( | const edm::EventSetup & | iSetup | ) |
Definition at line 49 of file FastHFShowerLibrary.cc.
References fast, edm::EventSetup::get(), hcalConstants, hfshower, g4SimHits_cfi::HFShowerLibrary, initializeOnce, name, numberingFromDDD, edm::ESHandle< T >::product(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FamosManager::setupGeometryAndField(), and ~FastHFShowerLibrary().
void FastHFShowerLibrary::modifyDepth | ( | HcalNumberingFromDDD::HcalID & | id | ) |
Definition at line 144 of file FastHFShowerLibrary.cc.
References egammaForCoreTracking_cff::depth, hcalConstants, HcalForward, and HcalDDDSimConstants::maxHFDepth().
Referenced by recoHFShowerLibrary(), and ~FastHFShowerLibrary().
void FastHFShowerLibrary::recoHFShowerLibrary | ( | const FSimTrack & | myTrack | ) |
Definition at line 85 of file FastHFShowerLibrary.cc.
References applyFidCut, egammaForCoreTracking_cff::depth, RawParticle::e(), HcalNumberingScheme::getUnitID(), hfshower, hitMap, hfClusterShapes_cfi::hits, mps_fire::i, FSimTrack::id(), modifyDepth(), numberingFromDDD, numberingScheme, convertSQLiteXML::ok, FSimTrack::onVFcal(), HFFibreFiducial::PMTNumber(), ntuplemaker::time, tmp, CoreSimTrack::type(), RawParticle::Vect(), RawParticle::vertex(), and FSimTrack::vfcalEntrance().
Referenced by CalorimetryManager::HDShowerSimulation(), CalorimetryManager::reconstructTrack(), and ~FastHFShowerLibrary().
void FastHFShowerLibrary::SetRandom | ( | const RandomEngineAndDistribution * | rnd | ) |
Definition at line 76 of file FastHFShowerLibrary.cc.
References LogDebug, and RandomEngineAndDistribution::theEngine().
Referenced by getHitsMap(), CalorimetryManager::HDShowerSimulation(), and CalorimetryManager::initialize().
|
private |
Definition at line 67 of file FastHFShowerLibrary.h.
Referenced by FastHFShowerLibrary(), and recoHFShowerLibrary().
|
private |
Definition at line 59 of file FastHFShowerLibrary.h.
Referenced by initHFShowerLibrary().
|
private |
Definition at line 62 of file FastHFShowerLibrary.h.
Referenced by initHFShowerLibrary(), and modifyDepth().
|
private |
Definition at line 60 of file FastHFShowerLibrary.h.
Referenced by initHFShowerLibrary(), and recoHFShowerLibrary().
|
private |
Definition at line 65 of file FastHFShowerLibrary.h.
Referenced by getHitsMap(), and recoHFShowerLibrary().
|
private |
Definition at line 68 of file FastHFShowerLibrary.h.
Referenced by ElectronMVAID.ElectronMVAID::__call__(), FWLite.ElectronMVAID::__call__(), dirstructure.Directory::__create_pie_image(), DisplayManager.DisplayManager::__del__(), dqm_interfaces.DirID::__eq__(), dirstructure.Directory::__get_full_path(), dirstructure.Comparison::__get_img_name(), dataset.Dataset::__getDataType(), dataset.Dataset::__getFileInfoList(), dirstructure.Comparison::__make_image(), core.autovars.NTupleVariable::__repr__(), core.autovars.NTupleObjectType::__repr__(), core.autovars.NTupleObject::__repr__(), core.autovars.NTupleCollection::__repr__(), dirstructure.Directory::__repr__(), dqm_interfaces.DirID::__repr__(), dirstructure.Comparison::__repr__(), config.Service::__setattr__(), config.CFG::__str__(), counter.Counter::__str__(), average.Average::__str__(), FWLite.WorkingPoints::_reformat_cut_definitions(), core.autovars.NTupleObjectType::addSubObjects(), core.autovars.NTupleObjectType::addVariables(), core.autovars.NTupleObjectType::allVars(), dirstructure.Directory::calcStats(), validation.Sample::digest(), python.rootplot.utilities.Hist::divide(), python.rootplot.utilities.Hist::divide_wilson(), DisplayManager.DisplayManager::Draw(), TreeCrawler.Package::dump(), core.autovars.NTupleVariable::fillBranch(), core.autovars.NTupleObject::fillBranches(), core.autovars.NTupleCollection::fillBranchesScalar(), core.autovars.NTupleCollection::fillBranchesVector(), core.autovars.NTupleCollection::get_cpp_declaration(), core.autovars.NTupleCollection::get_cpp_wrapper_class(), core.autovars.NTupleCollection::get_py_wrapper_class(), utils.StatisticalTest::get_status(), production_tasks.Task::getname(), dataset.CMSDataset::getPrimaryDatasetEntries(), dataset.PrivateDataset::getPrimaryDatasetEntries(), initHFShowerLibrary(), VIDSelectorBase.VIDSelectorBase::initialize(), core.autovars.NTupleVariable::makeBranch(), core.autovars.NTupleObject::makeBranches(), core.autovars.NTupleCollection::makeBranchesScalar(), core.autovars.NTupleCollection::makeBranchesVector(), dirstructure.Directory::print_report(), dataset.BaseDataset::printInfo(), dataset.Dataset::printInfo(), production_tasks.MonitorJobs::run(), python.rootplot.utilities.Hist::TGraph(), python.rootplot.utilities.Hist::TH1F(), Vispa.Views.PropertyView.Property::valueChanged(), counter.Counter::write(), and average.Average::write().
|
private |
Definition at line 61 of file FastHFShowerLibrary.h.
Referenced by initHFShowerLibrary(), and recoHFShowerLibrary().
|
private |
Definition at line 63 of file FastHFShowerLibrary.h.
Referenced by recoHFShowerLibrary().