Public Member Functions | |
void | beginRun (edm::EventSetup const &) override |
void | produce (edm::Event &, const edm::EventSetup &) override |
void | registerConsumes (edm::ConsumesCollector) override |
SimG4HGCalValidation (const edm::ParameterSet &p) | |
~SimG4HGCalValidation () override=default | |
Public Member Functions inherited from SimProducer | |
const SimProducer & | operator= (const SimProducer &)=delete |
void | registerProducts (edm::ProducesCollector producesCollector) |
SimProducer () | |
SimProducer (const SimProducer &)=delete | |
Public Member Functions inherited from SimWatcher | |
bool | isMT () const |
const SimWatcher & | operator= (const SimWatcher &)=delete |
SimWatcher () | |
SimWatcher (const SimWatcher &)=delete | |
virtual | ~SimWatcher () |
Public Member Functions inherited from Observer< const BeginOfEvent *> | |
Observer () | |
void | slotForUpdate (const BeginOfEvent * iT) |
virtual | ~Observer () |
Public Member Functions inherited from Observer< const G4Step *> | |
Observer () | |
void | slotForUpdate (const G4Step * iT) |
virtual | ~Observer () |
Private Member Functions | |
void | clear () |
void | init () |
void | layerAnalysis (PHGCalValidInfo &) |
const SimG4HGCalValidation & | operator= (const SimG4HGCalValidation &) |
SimG4HGCalValidation (const SimG4HGCalValidation &) | |
void | update (const BeginOfEvent *evt) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const G4Step *step) override |
This routine will be called when the appropriate signal arrives. More... | |
Private Attributes | |
unsigned int | count_ |
std::vector< edm::ESGetToken< HGCalDDDConstants, IdealGeometryRecord > > | ddconsToken_ |
std::vector< unsigned int > | dets_ |
const std::vector< int > | detTypes_ |
double | edepEE_ |
double | edepHEB_ |
double | edepHEF_ |
std::vector< std::unique_ptr< HGCalNumberingScheme > > | hgcalNumbering_ |
std::vector< double > | hgcEEedep_ |
std::vector< double > | hgcHEBedep_ |
std::vector< double > | hgcHEFedep_ |
std::vector< unsigned int > | hgchitDets_ |
std::vector< unsigned int > | hgchitIndex_ |
std::vector< double > | hgchitX_ |
std::vector< double > | hgchitY_ |
std::vector< double > | hgchitZ_ |
const std::string | labelLayer_ |
int | levelT1_ |
int | levelT2_ |
const edm::ParameterSet | m_Anal |
const std::vector< std::string > | names_ |
std::vector< std::string > | nameXs_ |
std::vector< int > | subdet_ |
const std::vector< int > | types_ |
const int | verbosity_ |
Additional Inherited Members | |
Protected Member Functions inherited from SimProducer | |
template<class T > | |
void | produces () |
template<class T > | |
void | produces (const std::string &instanceName) |
Protected Member Functions inherited from SimWatcher | |
void | setMT (bool val) |
Definition at line 44 of file SimG4HGCalValidation.cc.
SimG4HGCalValidation::SimG4HGCalValidation | ( | const edm::ParameterSet & | p | ) |
Definition at line 92 of file SimG4HGCalValidation.cc.
References detTypes_, isotrackApplyRegressor::k, labelLayer_, names_, types_, and verbosity_.
|
overridedefault |
|
private |
|
overridevirtual |
Reimplemented from SimWatcher.
Definition at line 151 of file SimG4HGCalValidation.cc.
References ddconsToken_, dets_, detTypes_, Exception, edm::EventSetup::getHandle(), hgcalNumbering_, hgcEEedep_, hgcHEBedep_, hgcHEFedep_, mps_fire::i, edm::ESHandleBase::isValid(), hgcalTBTopologyTester_cfi::layers, HGCalDDDConstants::layers(), levelT1_, levelT2_, HGCalDDDConstants::levelTop(), nameXs_, subdet_, types_, and verbosity_.
|
private |
Definition at line 303 of file SimG4HGCalValidation.cc.
References hgchitDets_, hgchitIndex_, hgchitX_, hgchitY_, and hgchitZ_.
Referenced by update().
|
private |
|
private |
Definition at line 290 of file SimG4HGCalValidation.cc.
References edepEE_, edepHEB_, edepHEF_, PHGCalValidInfo::fillhgcHits(), PHGCalValidInfo::fillhgcLayers(), hgcEEedep_, hgcHEBedep_, hgcHEFedep_, hgchitDets_, hgchitIndex_, hgchitX_, hgchitY_, hgchitZ_, and verbosity_.
Referenced by produce().
|
private |
|
overridevirtual |
Implements SimProducer.
Definition at line 145 of file SimG4HGCalValidation.cc.
References MillePedeFileConverter_cfg::e, labelLayer_, layerAnalysis(), and eostools::move().
|
overridevirtual |
Reimplemented from SimWatcher.
Definition at line 115 of file SimG4HGCalValidation.cc.
References edm::BeginRun, gpuPixelDoublets::cc, ddconsToken_, dets_, detTypes_, Exception, DetId::Forward, HGCEE, HGCHEB, HGCHEF, hfnoseParametersInitialization_cfi::nameX, nameXs_, subdet_, and types_.
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent *>.
Definition at line 183 of file SimG4HGCalValidation.cc.
References clear(), count_, edepEE_, edepHEB_, edepHEF_, hgcEEedep_, hgcHEBedep_, hgcHEFedep_, mps_fire::i, caHitNtupletGeneratorKernels::iev, and verbosity_.
Referenced by MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), and MatrixUtil.Steps::overwrite().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const G4Step *>.
Definition at line 205 of file SimG4HGCalValidation.cc.
References TauDecayModes::dec, dets_, detTypes_, edepEE_, edepHEB_, edepHEF_, spr::find(), hgcalNumbering_, hgcEEedep_, hgcHEBedep_, hgcHEFedep_, hgchitDets_, hgchitIndex_, hgchitX_, hgchitY_, hgchitZ_, isotrackApplyRegressor::k, nano_mu_digi_cff::layer, levelT1_, levelT2_, callgraph::module, mergeVDriftHistosByStation::name, names_, verbosity_, and mps_merge::weight.
Referenced by MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 85 of file SimG4HGCalValidation.cc.
Referenced by update().
|
private |
Definition at line 69 of file SimG4HGCalValidation.cc.
Referenced by beginRun(), and registerConsumes().
|
private |
Definition at line 88 of file SimG4HGCalValidation.cc.
Referenced by beginRun(), registerConsumes(), and update().
|
private |
Definition at line 75 of file SimG4HGCalValidation.cc.
Referenced by beginRun(), registerConsumes(), SimG4HGCalValidation(), and update().
|
private |
Definition at line 86 of file SimG4HGCalValidation.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 86 of file SimG4HGCalValidation.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 86 of file SimG4HGCalValidation.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 70 of file SimG4HGCalValidation.cc.
Referenced by beginRun(), and update().
|
private |
Definition at line 87 of file SimG4HGCalValidation.cc.
Referenced by beginRun(), layerAnalysis(), and update().
|
private |
Definition at line 87 of file SimG4HGCalValidation.cc.
Referenced by beginRun(), layerAnalysis(), and update().
|
private |
Definition at line 87 of file SimG4HGCalValidation.cc.
Referenced by beginRun(), layerAnalysis(), and update().
|
private |
Definition at line 88 of file SimG4HGCalValidation.cc.
Referenced by clear(), layerAnalysis(), and update().
|
private |
Definition at line 88 of file SimG4HGCalValidation.cc.
Referenced by clear(), layerAnalysis(), and update().
|
private |
Definition at line 89 of file SimG4HGCalValidation.cc.
Referenced by clear(), layerAnalysis(), and update().
|
private |
Definition at line 89 of file SimG4HGCalValidation.cc.
Referenced by clear(), layerAnalysis(), and update().
|
private |
Definition at line 89 of file SimG4HGCalValidation.cc.
Referenced by clear(), layerAnalysis(), and update().
|
private |
Definition at line 76 of file SimG4HGCalValidation.cc.
Referenced by produce(), and SimG4HGCalValidation().
|
private |
Definition at line 82 of file SimG4HGCalValidation.cc.
Referenced by beginRun(), and update().
|
private |
Definition at line 82 of file SimG4HGCalValidation.cc.
Referenced by beginRun(), and update().
|
private |
Definition at line 73 of file SimG4HGCalValidation.cc.
|
private |
Definition at line 74 of file SimG4HGCalValidation.cc.
Referenced by SimG4HGCalValidation(), and update().
|
private |
Definition at line 79 of file SimG4HGCalValidation.cc.
Referenced by beginRun(), and registerConsumes().
|
private |
Definition at line 78 of file SimG4HGCalValidation.cc.
Referenced by beginRun(), and registerConsumes().
|
private |
Definition at line 75 of file SimG4HGCalValidation.cc.
Referenced by beginRun(), registerConsumes(), and SimG4HGCalValidation().
|
private |
Definition at line 77 of file SimG4HGCalValidation.cc.
Referenced by beginRun(), layerAnalysis(), SimG4HGCalValidation(), and update().