#include <EcalSimHitsValidProducer.h>
Public Member Functions | |
EcalSimHitsValidProducer (const edm::ParameterSet &) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
~EcalSimHitsValidProducer () 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 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 () |
Public Member Functions inherited from Observer< const EndOfEvent * > | |
Observer () | |
void | slotForUpdate (const EndOfEvent * iT) |
virtual | ~Observer () |
Private Types | |
typedef std::vector< float > | FloatVector |
typedef std::map< uint32_t, float, std::less< uint32_t > > | MapType |
Private Member Functions | |
EcalSimHitsValidProducer (const EcalSimHitsValidProducer &)=delete | |
float | eCluster2x2 (MapType &themap) |
float | eCluster4x4 (float e33, MapType &themap) |
float | energyInEBMatrix (int nCellInX, int nCellInY, int centralX, int centralY, int centralZ, MapType &themap) |
float | energyInEEMatrix (int nCellInX, int nCellInY, int centralX, int centralY, int centralZ, MapType &themap) |
bool | fillEBMatrix (int nCellInEta, int nCellInPhi, int CentralEta, int CentralPhi, int CentralZ, MapType &fillmap, MapType &themap) |
bool | fillEEMatrix (int nCellInEta, int nCellInPhi, int CentralEta, int CentralPhi, int CentralZ, MapType &fillmap, MapType &themap) |
void | fillEventInfo (PEcalValidInfo &) |
uint32_t | getUnitWithMaxEnergy (MapType &themap) |
const EcalSimHitsValidProducer & | operator= (const EcalSimHitsValidProducer &)=delete |
void | update (const BeginOfEvent *) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const EndOfEvent *) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const G4Step *) override |
This routine will be called when the appropriate signal arrives. More... | |
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 25 of file EcalSimHitsValidProducer.h.
|
private |
Definition at line 29 of file EcalSimHitsValidProducer.h.
|
private |
Definition at line 30 of file EcalSimHitsValidProducer.h.
EcalSimHitsValidProducer::EcalSimHitsValidProducer | ( | const edm::ParameterSet & | iPSet | ) |
Definition at line 19 of file EcalSimHitsValidProducer.cc.
References eBX0, eEX0, mps_fire::i, and label.
|
override |
Definition at line 60 of file EcalSimHitsValidProducer.cc.
|
privatedelete |
|
private |
|
private |
Definition at line 526 of file EcalSimHitsValidProducer.cc.
Referenced by update().
|
private |
Definition at line 580 of file EcalSimHitsValidProducer.cc.
References funct::abs(), LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, LogDebug, and DetId::rawId().
Referenced by update().
|
private |
Definition at line 546 of file EcalSimHitsValidProducer.cc.
References LogDebug, DetId::rawId(), and EEDetId::validDetId().
Referenced by update().
|
private |
Definition at line 472 of file EcalSimHitsValidProducer.cc.
References funct::abs(), getUnitWithMaxEnergy(), mps_fire::i, LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, and DetId::rawId().
Referenced by update().
|
private |
Definition at line 442 of file EcalSimHitsValidProducer.cc.
References getUnitWithMaxEnergy(), mps_fire::i, LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, DetId::rawId(), and EEDetId::validDetId().
Referenced by update().
|
private |
Definition at line 68 of file EcalSimHitsValidProducer.cc.
References eb1, PEcalValidInfo::eb1, eb16, PEcalValidInfo::eb16, eb25, PEcalValidInfo::eb25, eb4, PEcalValidInfo::eb4, eb9, PEcalValidInfo::eb9, eBX0, PEcalValidInfo::eBX0, ee1, PEcalValidInfo::ee1, ee16, PEcalValidInfo::ee16, ee25, PEcalValidInfo::ee25, ee4, PEcalValidInfo::ee4, ee9, PEcalValidInfo::ee9, eEX0, PEcalValidInfo::eEX0, eOf1ES, PEcalValidInfo::eOf1ES, eOf1ESzm, PEcalValidInfo::eOf1ESzm, eOf1ESzp, PEcalValidInfo::eOf1ESzp, eOf2ES, PEcalValidInfo::eOf2ES, eOf2ESzm, PEcalValidInfo::eOf2ESzm, eOf2ESzp, PEcalValidInfo::eOf2ESzp, eOfEBCaloG4Hit, PEcalValidInfo::eOfEBCaloG4Hit, eOfEECaloG4Hit, PEcalValidInfo::eOfEECaloG4Hit, eOfEEMinusCaloG4Hit, PEcalValidInfo::eOfEEMinusCaloG4Hit, eOfEEPlusCaloG4Hit, PEcalValidInfo::eOfEEPlusCaloG4Hit, eOfESCaloG4Hit, PEcalValidInfo::eOfESCaloG4Hit, etaOfEBCaloG4Hit, PEcalValidInfo::etaOfEBCaloG4Hit, etaOfEECaloG4Hit, PEcalValidInfo::etaOfEECaloG4Hit, etaOfESCaloG4Hit, PEcalValidInfo::etaOfESCaloG4Hit, mps_fire::i, nCrystalInEB, PEcalValidInfo::nCrystalInEB, nCrystalInEEzm, PEcalValidInfo::nCrystalInEEzm, nCrystalInEEzp, PEcalValidInfo::nCrystalInEEzp, nHitsIn1ES, PEcalValidInfo::nHitsIn1ES, nHitsIn1ESzm, PEcalValidInfo::nHitsIn1ESzm, nHitsIn1ESzp, PEcalValidInfo::nHitsIn1ESzp, nHitsIn2ES, PEcalValidInfo::nHitsIn2ES, nHitsIn2ESzm, PEcalValidInfo::nHitsIn2ESzm, nHitsIn2ESzp, PEcalValidInfo::nHitsIn2ESzp, nHitsInEB, PEcalValidInfo::nHitsInEB, nHitsInEE, PEcalValidInfo::nHitsInEE, nHitsInES, PEcalValidInfo::nHitsInES, phiOfEBCaloG4Hit, PEcalValidInfo::phiOfEBCaloG4Hit, phiOfEECaloG4Hit, PEcalValidInfo::phiOfEECaloG4Hit, phiOfESCaloG4Hit, PEcalValidInfo::phiOfESCaloG4Hit, theMomentum, PEcalValidInfo::theMomentum, thePID, PEcalValidInfo::thePID, theVertex, PEcalValidInfo::theVertex, tOfEBCaloG4Hit, PEcalValidInfo::tOfEBCaloG4Hit, tOfEECaloG4Hit, PEcalValidInfo::tOfEECaloG4Hit, tOfESCaloG4Hit, PEcalValidInfo::tOfESCaloG4Hit, totalEInEB, PEcalValidInfo::totalEInEB, totalEInEE, PEcalValidInfo::totalEInEE, totalEInEEzm, PEcalValidInfo::totalEInEEzm, totalEInEEzp, PEcalValidInfo::totalEInEEzp, totalEInES, PEcalValidInfo::totalEInES, totalEInESzm, PEcalValidInfo::totalEInESzm, totalEInESzp, PEcalValidInfo::totalEInESzp, totalHits, PEcalValidInfo::totalHits, zOfES, and PEcalValidInfo::zOfES.
Referenced by produce().
|
private |
Definition at line 619 of file EcalSimHitsValidProducer.cc.
References TauDecayModes::dec, LogDebug, and particleFlowClusterECALTimeSelected_cfi::maxEnergy.
Referenced by fillEBMatrix(), fillEEMatrix(), and update().
|
privatedelete |
|
overridevirtual |
Implements SimProducer.
Definition at line 62 of file EcalSimHitsValidProducer.cc.
References MillePedeFileConverter_cfg::e, fillEventInfo(), label, and eostools::move().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent * >.
Definition at line 147 of file EcalSimHitsValidProducer.cc.
References eb1, eb16, eb25, eb4, eb9, eBX0, ee1, ee16, ee25, ee4, ee9, eEX0, eOf1ES, eOf1ESzm, eOf1ESzp, eOf2ES, eOf2ESzm, eOf2ESzp, eOfEBCaloG4Hit, eOfEECaloG4Hit, eOfEEMinusCaloG4Hit, eOfEEPlusCaloG4Hit, eOfESCaloG4Hit, etaOfEBCaloG4Hit, etaOfEECaloG4Hit, etaOfESCaloG4Hit, mps_fire::i, nCrystalInEB, nCrystalInEEzm, nCrystalInEEzp, nHitsIn1ES, nHitsIn1ESzm, nHitsIn1ESzp, nHitsIn2ES, nHitsIn2ESzm, nHitsIn2ESzp, nHitsInEB, nHitsInEE, nHitsInES, phiOfEBCaloG4Hit, phiOfEECaloG4Hit, phiOfESCaloG4Hit, tOfEBCaloG4Hit, tOfEECaloG4Hit, tOfESCaloG4Hit, totalEInEB, totalEInEE, totalEInEEzm, totalEInEEzp, totalEInES, totalEInESzm, totalEInESzp, totalHits, and zOfES.
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 EndOfEvent * >.
Definition at line 216 of file EcalSimHitsValidProducer.cc.
References l1GtPatternGenerator_cfi::bx, eb1, eb16, eb25, eb4, eb9, eCluster2x2(), eCluster4x4(), ee1, ee16, ee25, ee4, ee9, energyInEBMatrix(), energyInEEMatrix(), eOf1ESzm, eOf1ESzp, eOf2ESzm, eOf2ESzp, eOfEBCaloG4Hit, eOfEECaloG4Hit, eOfEEMinusCaloG4Hit, eOfEEPlusCaloG4Hit, etaOfEBCaloG4Hit, etaOfEECaloG4Hit, fillEBMatrix(), fillEEMatrix(), CaloG4Hit::getEnergyDeposit(), CaloG4Hit::getEntry(), CaloG4Hit::getTimeSlice(), CaloG4Hit::getUnitID(), getUnitWithMaxEnergy(), hcalSimParameters_cfi::he, mps_fire::i, EBDetId::ietaAbs(), EBDetId::iphi(), EEDetId::ix(), EEDetId::iy(), dqmiolumiharvest::j, dqm-mbProfile::log, nCrystalInEB, nCrystalInEEzm, nCrystalInEEzp, nHitsIn1ESzm, nHitsIn1ESzp, nHitsIn2ESzm, nHitsIn2ESzp, nHitsInEB, nHitsInEE, nHitsInES, npart, phiOfEBCaloG4Hit, phiOfEECaloG4Hit, ESDetId::plane(), funct::pow(), multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, mathSSE::sqrt(), FrontierCondition_GT_autoExpress_cfi::t0, funct::tan(), theMomentum, thePID, theVertex, tOfEBCaloG4Hit, tOfEECaloG4Hit, totalEInEB, totalEInEE, totalEInEEzm, totalEInEEzp, totalEInES, totalEInESzm, totalEInESzp, totalHits, HLTMuonOfflineAnalyzer_cfi::z0, ESDetId::zside(), EBDetId::zside(), and EEDetId::zside().
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 415 of file EcalSimHitsValidProducer.cc.
References eBX0, eEX0, createfilelist::int, Skims_PA_cff::name, alignCSCRings::r, mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, x, y, and z.
Referenced by MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 70 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 73 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 74 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 71 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 72 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 100 of file EcalSimHitsValidProducer.h.
Referenced by EcalSimHitsValidProducer(), fillEventInfo(), and update().
|
private |
Definition at line 64 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 67 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 68 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 65 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 66 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 101 of file EcalSimHitsValidProducer.h.
Referenced by EcalSimHitsValidProducer(), fillEventInfo(), and update().
|
private |
Definition at line 103 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 106 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 105 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 104 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 108 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 107 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 121 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 114 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 116 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 115 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 126 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 119 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 112 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 124 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 132 of file EcalSimHitsValidProducer.h.
Referenced by EcalSimHitsValidProducer(), and produce().
|
private |
Definition at line 91 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 93 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 92 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 89 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 96 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 95 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 90 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 98 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 97 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 87 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 86 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 88 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 118 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 111 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 123 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 128 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 131 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 129 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 120 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 113 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 125 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 77 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 76 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 81 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 80 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 78 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 83 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 82 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 85 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 110 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().