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 | |
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_ |
std::vector< int > | detTypes_ |
double | edepEE_ |
double | edepHEB_ |
double | edepHEF_ |
std::vector< 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_ |
std::vector< HGCNumberingScheme * > | hgcNumbering_ |
std::string | labelLayer_ |
int | levelT1_ |
int | levelT2_ |
std::vector< std::string > | names_ |
std::vector< std::string > | nameXs_ |
std::vector< int > | subdet_ |
std::vector< int > | types_ |
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 51 of file SimG4HGCalValidation.cc.
SimG4HGCalValidation::SimG4HGCalValidation | ( | const edm::ParameterSet & | p | ) |
Definition at line 98 of file SimG4HGCalValidation.cc.
References detTypes_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), dqmdumpme::k, labelLayer_, names_, AlCaHLTBitMon_ParallelJobs::p, AlCaHLTBitMon_QueryRunRegistry::string, types_, and verbosity_.
|
override |
Definition at line 119 of file SimG4HGCalValidation.cc.
References hgcalNumbering_, hgcNumbering_, and contentValuesFiles::number.
|
private |
|
overridevirtual |
Reimplemented from SimWatcher.
Definition at line 172 of file SimG4HGCalValidation.cc.
References ddconsToken_, dets_, detTypes_, Exception, edm::EventSetup::getHandle(), hgcalNumbering_, hgcEEedep_, hgcHEBedep_, hgcHEFedep_, hgcNumbering_, mps_fire::i, edm::ESHandleBase::isValid(), hgcalTopologyTester_cfi::layers, HGCalDDDConstants::layers(), levelT1_, levelT2_, HGCalDDDConstants::levelTop(), nameXs_, subdet_, HGCalDDDConstants::tileTrapezoid(), types_, verbosity_, and HGCalDDDConstants::waferHexagon6().
|
private |
Definition at line 344 of file SimG4HGCalValidation.cc.
References hgchitDets_, hgchitIndex_, hgchitX_, hgchitY_, and hgchitZ_.
Referenced by update().
|
private |
|
private |
Definition at line 331 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 166 of file SimG4HGCalValidation.cc.
References MillePedeFileConverter_cfg::e, labelLayer_, layerAnalysis(), and eostools::move().
|
overridevirtual |
Reimplemented from SimWatcher.
Definition at line 126 of file SimG4HGCalValidation.cc.
References edm::BeginRun, ddconsToken_, dets_, detTypes_, edm::ConsumesCollector::esConsumes(), Exception, DetId::Forward, ForwardEmpty, DetId::HGCalEE, DetId::HGCalHSc, DetId::HGCalHSi, 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 212 of file SimG4HGCalValidation.cc.
References clear(), count_, edepEE_, edepHEB_, edepHEF_, hgcEEedep_, hgcHEBedep_, hgcHEFedep_, mps_fire::i, 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 234 of file SimG4HGCalValidation.cc.
References TauDecayModes::dec, dets_, detTypes_, edepEE_, edepHEB_, edepHEF_, spr::find(), hgcalNumbering_, hgcEEedep_, hgcHEBedep_, hgcHEFedep_, hgchitDets_, hgchitIndex_, hgchitX_, hgchitY_, hgchitZ_, hgcNumbering_, dqmdumpme::k, phase1PixelTopology::layer, levelT1_, levelT2_, callgraph::module, Skims_PA_cff::name, names_, subdet_, types_, verbosity_, and mps_merge::weight.
Referenced by MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 90 of file SimG4HGCalValidation.cc.
Referenced by update().
|
private |
Definition at line 76 of file SimG4HGCalValidation.cc.
Referenced by beginRun(), and registerConsumes().
|
private |
Definition at line 94 of file SimG4HGCalValidation.cc.
Referenced by beginRun(), registerConsumes(), and update().
|
private |
Definition at line 82 of file SimG4HGCalValidation.cc.
Referenced by beginRun(), registerConsumes(), SimG4HGCalValidation(), and update().
|
private |
Definition at line 92 of file SimG4HGCalValidation.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 92 of file SimG4HGCalValidation.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 92 of file SimG4HGCalValidation.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 78 of file SimG4HGCalValidation.cc.
Referenced by beginRun(), update(), and ~SimG4HGCalValidation().
|
private |
Definition at line 93 of file SimG4HGCalValidation.cc.
Referenced by beginRun(), layerAnalysis(), and update().
|
private |
Definition at line 93 of file SimG4HGCalValidation.cc.
Referenced by beginRun(), layerAnalysis(), and update().
|
private |
Definition at line 93 of file SimG4HGCalValidation.cc.
Referenced by beginRun(), layerAnalysis(), and update().
|
private |
Definition at line 94 of file SimG4HGCalValidation.cc.
Referenced by clear(), layerAnalysis(), and update().
|
private |
Definition at line 94 of file SimG4HGCalValidation.cc.
Referenced by clear(), layerAnalysis(), and update().
|
private |
Definition at line 95 of file SimG4HGCalValidation.cc.
Referenced by clear(), layerAnalysis(), and update().
|
private |
Definition at line 95 of file SimG4HGCalValidation.cc.
Referenced by clear(), layerAnalysis(), and update().
|
private |
Definition at line 95 of file SimG4HGCalValidation.cc.
Referenced by clear(), layerAnalysis(), and update().
|
private |
Definition at line 77 of file SimG4HGCalValidation.cc.
Referenced by beginRun(), update(), and ~SimG4HGCalValidation().
|
private |
Definition at line 83 of file SimG4HGCalValidation.cc.
Referenced by produce(), and SimG4HGCalValidation().
|
private |
Definition at line 87 of file SimG4HGCalValidation.cc.
Referenced by beginRun(), and update().
|
private |
Definition at line 87 of file SimG4HGCalValidation.cc.
Referenced by beginRun(), and update().
|
private |
Definition at line 81 of file SimG4HGCalValidation.cc.
Referenced by SimG4HGCalValidation(), and update().
|
private |
Definition at line 84 of file SimG4HGCalValidation.cc.
Referenced by beginRun(), and registerConsumes().
|
private |
Definition at line 82 of file SimG4HGCalValidation.cc.
Referenced by beginRun(), registerConsumes(), and update().
|
private |
Definition at line 82 of file SimG4HGCalValidation.cc.
Referenced by beginRun(), registerConsumes(), SimG4HGCalValidation(), and update().
|
private |
Definition at line 91 of file SimG4HGCalValidation.cc.
Referenced by beginRun(), layerAnalysis(), SimG4HGCalValidation(), and update().