#include <EcalSimHitsValidProducer.h>
Private Types | |
typedef std::vector< float > | FloatVector |
typedef std::map< uint32_t, float, std::less< uint32_t > > | MapType |
Private Member Functions | |
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) |
void | update (const BeginOfEvent *) 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... | |
void | update (const EndOfEvent *) 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) |
Protected Member Functions inherited from SimWatcher | |
void | setMT (bool val) |
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, label, and SimWatcher::setMT().
|
delete |
|
override |
Definition at line 61 of file EcalSimHitsValidProducer.cc.
|
private |
|
private |
Definition at line 523 of file EcalSimHitsValidProducer.cc.
Referenced by update().
|
private |
Definition at line 576 of file EcalSimHitsValidProducer.cc.
References funct::abs(), LogDebug, and DetId::rawId().
Referenced by update().
|
private |
Definition at line 542 of file EcalSimHitsValidProducer.cc.
References LogDebug, DetId::rawId(), and EEDetId::validDetId().
Referenced by update().
|
private |
Definition at line 470 of file EcalSimHitsValidProducer.cc.
References funct::abs(), getUnitWithMaxEnergy(), mps_fire::i, and DetId::rawId().
Referenced by update().
|
private |
Definition at line 440 of file EcalSimHitsValidProducer.cc.
References getUnitWithMaxEnergy(), mps_fire::i, DetId::rawId(), and EEDetId::validDetId().
Referenced by update().
|
private |
Definition at line 69 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 615 of file EcalSimHitsValidProducer.cc.
References TauDecayModes::dec, and LogDebug.
Referenced by fillEBMatrix(), fillEEMatrix(), and update().
|
delete |
|
overridevirtual |
Implements SimProducer.
Definition at line 63 of file EcalSimHitsValidProducer.cc.
References fillEventInfo(), label, eostools::move(), and edm::Event::put().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent * >.
Definition at line 148 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 G4Step * >.
Definition at line 411 of file EcalSimHitsValidProducer.cc.
References eBX0, eEX0, mergeVDriftHistosByStation::name, alignCSCRings::r, mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, x, y, and z.
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 217 of file EcalSimHitsValidProducer.cc.
References makePileupJSON::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, log, nCrystalInEB, nCrystalInEEzm, nCrystalInEEzp, nHitsIn1ESzm, nHitsIn1ESzp, nHitsIn2ESzm, nHitsIn2ESzp, nHitsInEB, nHitsInEE, nHitsInES, npart, phiOfEBCaloG4Hit, phiOfEECaloG4Hit, ESDetId::plane(), mathSSE::sqrt(), FrontierCondition_GT_autoExpress_cfi::t0, funct::tan(), theMomentum, thePID, theVertex, tOfEBCaloG4Hit, tOfEECaloG4Hit, totalEInEB, totalEInEE, totalEInEEzm, totalEInEEzp, totalEInES, totalEInESzm, totalEInESzp, totalHits, ESDetId::zside(), EBDetId::zside(), and EEDetId::zside().
Referenced by MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 69 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 73 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 70 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 99 of file EcalSimHitsValidProducer.h.
Referenced by EcalSimHitsValidProducer(), fillEventInfo(), and update().
|
private |
Definition at line 63 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 67 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 64 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 100 of file EcalSimHitsValidProducer.h.
Referenced by EcalSimHitsValidProducer(), fillEventInfo(), and update().
|
private |
Definition at line 102 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 103 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 106 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 115 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 125 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 131 of file EcalSimHitsValidProducer.h.
Referenced by EcalSimHitsValidProducer(), and produce().
|
private |
Definition at line 90 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 91 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 95 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 94 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 97 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 86 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 87 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 117 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 110 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 122 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 127 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 130 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 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 76 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 75 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 79 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 82 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 84 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().
|
private |
Definition at line 109 of file EcalSimHitsValidProducer.h.
Referenced by fillEventInfo(), and update().