Public Member Functions | |
void | produce (edm::Event &, const edm::EventSetup &) override |
SimG4HGCalValidation (const edm::ParameterSet &p) | |
~SimG4HGCalValidation () override | |
Public Member Functions inherited from SimProducer | |
void | registerProducts (edm::ProducesCollector producesCollector) |
SimProducer () | |
Public Member Functions inherited from SimWatcher | |
SimWatcher () | |
virtual | ~SimWatcher () |
Public Member Functions inherited from Observer< const BeginOfJob * > | |
Observer () | |
void | slotForUpdate (const BeginOfJob * iT) |
virtual | ~Observer () |
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 BeginOfJob *job) 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< 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_ |
HcalNumberingFromDDD * | numberingFromDDD_ |
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) |
Definition at line 56 of file SimG4HGCalValidation.cc.
SimG4HGCalValidation::SimG4HGCalValidation | ( | const edm::ParameterSet & | p | ) |
Definition at line 106 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 128 of file SimG4HGCalValidation.cc.
References hgcalNumbering_, hgcNumbering_, contentValuesFiles::number, and numberingFromDDD_.
|
private |
|
private |
Definition at line 372 of file SimG4HGCalValidation.cc.
References hgchitDets_, hgchitIndex_, hgchitX_, hgchitY_, and hgchitZ_.
Referenced by update().
|
private |
|
private |
Definition at line 359 of file SimG4HGCalValidation.cc.
References edepEE_, edepHEB_, edepHEF_, PHGCalValidInfo::fillhgcHits(), PHGCalValidInfo::fillhgcLayers(), hgcEEedep_, hgcHEBedep_, hgcHEFedep_, hgchitDets_, hgchitIndex_, hgchitX_, hgchitY_, hgchitZ_, MeV, and verbosity_.
Referenced by produce().
|
private |
|
overridevirtual |
Implements SimProducer.
Definition at line 136 of file SimG4HGCalValidation.cc.
References MillePedeFileConverter_cfg::e, labelLayer_, layerAnalysis(), and eostools::move().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent * >.
Definition at line 224 of file SimG4HGCalValidation.cc.
References clear(), count_, edepEE_, edepHEB_, edepHEF_, hgcEEedep_, hgcHEBedep_, hgcHEFedep_, mps_fire::i, 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 BeginOfJob * >.
Definition at line 142 of file SimG4HGCalValidation.cc.
References dets_, detTypes_, Exception, DetId::Forward, ForwardEmpty, HGCalDDDConstants::geomMode(), edm::EventSetup::get(), get, DetId::Hcal, HcalEndcap, HGCalGeometryMode::Hexagon, HGCalGeometryMode::HexagonFull, DetId::HGCalEE, DetId::HGCalHSc, DetId::HGCalHSi, hgcalNumbering_, HGCEE, hgcEEedep_, HGCHEB, hgcHEBedep_, HGCHEF, hgcHEFedep_, hgcNumbering_, mps_fire::i, edm::ESHandleBase::isValid(), hgcalTopologyTester_cfi::layers, HGCalDDDConstants::layers(), levelT1_, levelT2_, HGCalDDDConstants::levelTop(), numberingFromDDD_, edm::ESHandle< T >::product(), subdet_, HGCalGeometryMode::Trapezoid, types_, 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 246 of file SimG4HGCalValidation.cc.
References TauDecayModes::dec, LEDCalibrationChannels::depth, dets_, detTypes_, edepEE_, edepHEB_, edepHEF_, spr::find(), hgcalNumbering_, hgcEEedep_, hgcHEBedep_, hgcHEFedep_, hgchitDets_, hgchitIndex_, hgchitX_, hgchitY_, hgchitZ_, hgcNumbering_, dqmdumpme::k, levelT1_, levelT2_, Skims_PA_cff::name, names_, numberingFromDDD_, HcalTestNumbering::packHcalIndex(), subdet_, createJobs::tmp, types_, HcalNumberingFromDDD::unitID(), verbosity_, and mps_merge::weight.
Referenced by MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 98 of file SimG4HGCalValidation.cc.
Referenced by update().
|
private |
Definition at line 102 of file SimG4HGCalValidation.cc.
Referenced by update().
|
private |
Definition at line 91 of file SimG4HGCalValidation.cc.
Referenced by SimG4HGCalValidation(), and update().
|
private |
Definition at line 100 of file SimG4HGCalValidation.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 100 of file SimG4HGCalValidation.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 100 of file SimG4HGCalValidation.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 87 of file SimG4HGCalValidation.cc.
Referenced by update(), and ~SimG4HGCalValidation().
|
private |
Definition at line 101 of file SimG4HGCalValidation.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 101 of file SimG4HGCalValidation.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 101 of file SimG4HGCalValidation.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 102 of file SimG4HGCalValidation.cc.
Referenced by clear(), layerAnalysis(), and update().
|
private |
Definition at line 102 of file SimG4HGCalValidation.cc.
Referenced by clear(), layerAnalysis(), and update().
|
private |
Definition at line 103 of file SimG4HGCalValidation.cc.
Referenced by clear(), layerAnalysis(), and update().
|
private |
Definition at line 103 of file SimG4HGCalValidation.cc.
Referenced by clear(), layerAnalysis(), and update().
|
private |
Definition at line 103 of file SimG4HGCalValidation.cc.
Referenced by clear(), layerAnalysis(), and update().
|
private |
Definition at line 86 of file SimG4HGCalValidation.cc.
Referenced by update(), and ~SimG4HGCalValidation().
|
private |
Definition at line 92 of file SimG4HGCalValidation.cc.
Referenced by produce(), and SimG4HGCalValidation().
|
private |
Definition at line 95 of file SimG4HGCalValidation.cc.
Referenced by update().
|
private |
Definition at line 95 of file SimG4HGCalValidation.cc.
Referenced by update().
|
private |
Definition at line 90 of file SimG4HGCalValidation.cc.
Referenced by SimG4HGCalValidation(), and update().
|
private |
Definition at line 83 of file SimG4HGCalValidation.cc.
Referenced by update(), and ~SimG4HGCalValidation().
|
private |
Definition at line 91 of file SimG4HGCalValidation.cc.
Referenced by update().
|
private |
Definition at line 91 of file SimG4HGCalValidation.cc.
Referenced by SimG4HGCalValidation(), and update().
|
private |
Definition at line 99 of file SimG4HGCalValidation.cc.
Referenced by layerAnalysis(), SimG4HGCalValidation(), and update().