#include <SimG4HcalValidation.h>
Public Member Functions | |
void | produce (edm::Event &, const edm::EventSetup &) override |
SimG4HcalValidation (const edm::ParameterSet &p) | |
~SimG4HcalValidation () 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 BeginOfRun * > | |
Observer () | |
void | slotForUpdate (const BeginOfRun * 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 EndOfEvent * > | |
Observer () | |
void | slotForUpdate (const EndOfEvent * 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 | collectEnergyRdir (const double, const double) |
void | fetchHits (PHcalValidInfoLayer &) |
void | fill (const EndOfEvent *ev) |
double | getHcalScale (std::string, int) const |
void | init () |
void | jetAnalysis (PHcalValidInfoJets &) |
void | layerAnalysis (PHcalValidInfoLayer &) |
void | nxNAnalysis (PHcalValidInfoNxN &) |
const SimG4HcalValidation & | operator= (const SimG4HcalValidation &)=delete |
SimG4HcalValidation (const SimG4HcalValidation &)=delete | |
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 BeginOfRun *run) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const EndOfEvent *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 | |
bool | applySampling |
double | coneSize |
unsigned int | count |
std::vector< double > | dEta |
std::vector< double > | dPhi |
double | edepd [5] |
double | edepEB |
double | edepEE |
double | edepHB |
double | edepHE |
double | edepHO |
double | edepl [20] |
double | een |
double | ehitThreshold |
double | enEcal |
double | enHcal |
float | eta0 |
bool | hcalOnly |
double | hen |
double | hhitThreshold |
std::vector< CaloHit > | hitcache |
double | hoen |
int | infolevel |
SimG4HcalHitJetFinder * | jetf |
float | jetThreshold |
std::string | labelJets |
std::string | labelLayer |
std::string | labelNxN |
std::vector< std::string > | names |
HcalNumberingFromDDD * | numberingFromDDD |
HcalTestNumberingScheme * | org |
float | phi0 |
std::vector< float > | scaleHB |
std::vector< float > | scaleHE |
std::vector< float > | scaleHF |
float | timeLowlim |
float | timeUplim |
double | vhitec |
double | vhithc |
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 34 of file SimG4HcalValidation.h.
SimG4HcalValidation::SimG4HcalValidation | ( | const edm::ParameterSet & | p | ) |
Definition at line 36 of file SimG4HcalValidation.cc.
References applySampling, coneSize, ehitThreshold, eta0, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), hcalOnly, hhitThreshold, infolevel, init(), jetThreshold, labelJets, labelLayer, labelNxN, names, AlCaHLTBitMon_ParallelJobs::p, phi0, AlCaHLTBitMon_QueryRunRegistry::string, timeLowlim, and timeUplim.
|
override |
Definition at line 73 of file SimG4HcalValidation.cc.
References count, jetf, numberingFromDDD, and org.
|
privatedelete |
|
private |
|
private |
Definition at line 680 of file SimG4HcalValidation.cc.
References coneSize, MillePedeFileConverter_cfg::e, een, PVValHelper::eta, eta0, HcalBarrel, hen, hitcache, hfClusterShapes_cfi::hits, hoen, jetf, phi, phi0, alignCSCRings::r, and SimG4HcalHitJetFinder::rDist().
Referenced by jetAnalysis(), and nxNAnalysis().
|
private |
Definition at line 610 of file SimG4HcalValidation.cc.
References TauDecayModes::dec, PVValHelper::eta, PHcalValidInfoLayer::fillHits(), watchdog::group, hitcache, mps_fire::i, LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, LogDebug, phi, submitPVValidationJobs::t, HcalTestNumbering::unpackHcalIndex(), and ecaldqm::zside().
Referenced by layerAnalysis().
|
private |
Definition at line 265 of file SimG4HcalValidation.cc.
References applySampling, angle_units::operators::convertRadToDeg(), TauDecayModes::dec, LEDCalibrationChannels::depth, MillePedeFileConverter_cfg::e, ehitThreshold, enEcal, enHcal, PVValHelper::eta, CaloG4Hit::getDepth(), CaloG4Hit::getEnergyDeposit(), getHcalScale(), CaloG4Hit::getPosition(), CaloG4Hit::getTimeSlice(), HcalTestNumberingScheme::getUnitID(), CaloG4Hit::getUnitID(), GeV, HcalEndcap, HcalForward, hcalOnly, hhitThreshold, hitcache, LEDCalibrationChannels::ieta, createfilelist::int, LEDCalibrationChannels::iphi, dqmiolumiharvest::j, dqm-mbProfile::log, LogDebug, names, nhits, numberingFromDDD, org, HcalTestNumberingScheme::packHcalIndex(), phi, AlCaHLTBitMon_QueryRunRegistry::string, funct::tan(), theta(), ntuplemaker::time, timeLowlim, HcalNumberingFromDDD::unitID(), HcalTestNumberingScheme::unpackHcalIndex(), vhitec, vhithc, and ecaldqm::zside().
Referenced by update().
|
private |
Definition at line 711 of file SimG4HcalValidation.cc.
References scaleHB, scaleHE, scaleHF, and createJobs::tmp.
Referenced by fill().
|
private |
Definition at line 108 of file SimG4HcalValidation.cc.
References coneSize, count, dEta, dPhi, mps_fire::i, jetf, scaleHB, scaleHE, and scaleHF.
Referenced by SimG4HcalValidation().
|
private |
Definition at line 488 of file SimG4HcalValidation.cc.
References collectEnergyRdir(), funct::cos(), MillePedeFileConverter_cfg::e, een, eta0, PHcalValidInfoJets::fillDiJets(), PHcalValidInfoJets::fillEcollectJet(), PHcalValidInfoJets::fillEtaPhiProfileJet(), PHcalValidInfoJets::fillJets(), PHcalValidInfoJets::fillTProfileJet(), SimG4HcalHitJetFinder::getClusters(), HcalBarrel, HcalEndcap, HcalForward, hcalOnly, hcalSimParameters_cfi::he, hitcache, hfClusterShapes_cfi::hits, electrons_cff::hoe, mps_fire::i, jetf, jetThreshold, LogDebug, phi0, alignCSCRings::r, SimG4HcalHitJetFinder::rDist(), mps_fire::result, SimG4HcalHitJetFinder::setInput(), funct::sin(), mathSSE::sqrt(), and submitPVValidationJobs::t.
Referenced by produce().
|
private |
Definition at line 398 of file SimG4HcalValidation.cc.
References edepd, edepEB, edepEE, edepHB, edepHE, edepHO, edepl, enEcal, enHcal, fetchHits(), PHcalValidInfoLayer::fillHF(), PHcalValidInfoLayer::fillLayers(), mps_fire::i, LogDebug, MeV, vhitec, and vhithc.
Referenced by produce().
|
private |
Definition at line 426 of file SimG4HcalValidation.cc.
References collectEnergyRdir(), dEta, dPhi, MillePedeFileConverter_cfg::e, een, PVValHelper::eta, eta0, PHcalValidInfoNxN::fillEcollectNxN(), PHcalValidInfoNxN::fillHvsE(), PHcalValidInfoNxN::fillTProfileNxN(), HcalBarrel, HcalEndcap, HcalForward, hcalSimParameters_cfi::he, hen, hitcache, hfClusterShapes_cfi::hits, electrons_cff::hoe, hoen, mps_fire::i, LogDebug, SiStripPI::max, phi, phi0, and submitPVValidationJobs::t.
Referenced by produce().
|
privatedelete |
|
overridevirtual |
Implements SimProducer.
Definition at line 89 of file SimG4HcalValidation.cc.
References MillePedeFileConverter_cfg::e, infolevel, jetAnalysis(), labelJets, labelLayer, labelNxN, layerAnalysis(), eostools::move(), and nxNAnalysis().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent * >.
Definition at line 182 of file SimG4HcalValidation.cc.
References clear(), edepd, edepEB, edepEE, edepHB, edepHE, edepHO, edepl, enEcal, enHcal, mps_fire::i, LogDebug, vhitec, and vhithc.
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 140 of file SimG4HcalValidation.cc.
References numberingFromDDD, org, and edm::ESHandle< T >::product().
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 BeginOfRun * >.
Definition at line 153 of file SimG4HcalValidation.cc.
References names, org, sd, HCalSD::setNumberingScheme(), and AlCaHLTBitMon_QueryRunRegistry::string.
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 256 of file SimG4HcalValidation.cc.
References count, fill(), and LogDebug.
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 198 of file SimG4HcalValidation.cc.
References LEDCalibrationChannels::depth, edepd, edepEB, edepEE, edepHB, edepHE, edepHO, edepl, LogDebug, MeV, and Skims_PA_cff::name.
Referenced by MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 91 of file SimG4HcalValidation.h.
Referenced by fill(), and SimG4HcalValidation().
|
private |
Definition at line 89 of file SimG4HcalValidation.h.
Referenced by collectEnergyRdir(), init(), and SimG4HcalValidation().
|
private |
Definition at line 100 of file SimG4HcalValidation.h.
Referenced by init(), update(), and ~SimG4HcalValidation().
|
private |
Definition at line 96 of file SimG4HcalValidation.h.
Referenced by init(), and nxNAnalysis().
|
private |
Definition at line 97 of file SimG4HcalValidation.h.
Referenced by init(), and nxNAnalysis().
|
private |
Definition at line 102 of file SimG4HcalValidation.h.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 101 of file SimG4HcalValidation.h.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 101 of file SimG4HcalValidation.h.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 101 of file SimG4HcalValidation.h.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 101 of file SimG4HcalValidation.h.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 101 of file SimG4HcalValidation.h.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 102 of file SimG4HcalValidation.h.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 103 of file SimG4HcalValidation.h.
Referenced by collectEnergyRdir(), jetAnalysis(), and nxNAnalysis().
|
private |
Definition at line 89 of file SimG4HcalValidation.h.
Referenced by fill(), and SimG4HcalValidation().
|
private |
Definition at line 104 of file SimG4HcalValidation.h.
Referenced by fill(), layerAnalysis(), and update().
|
private |
Definition at line 104 of file SimG4HcalValidation.h.
Referenced by fill(), layerAnalysis(), and update().
|
private |
Definition at line 90 of file SimG4HcalValidation.h.
Referenced by collectEnergyRdir(), jetAnalysis(), nxNAnalysis(), and SimG4HcalValidation().
|
private |
Definition at line 91 of file SimG4HcalValidation.h.
Referenced by fill(), jetAnalysis(), and SimG4HcalValidation().
|
private |
Definition at line 103 of file SimG4HcalValidation.h.
Referenced by collectEnergyRdir(), and nxNAnalysis().
|
private |
Definition at line 89 of file SimG4HcalValidation.h.
Referenced by fill(), and SimG4HcalValidation().
|
private |
Definition at line 80 of file SimG4HcalValidation.h.
Referenced by clear(), collectEnergyRdir(), fetchHits(), fill(), jetAnalysis(), and nxNAnalysis().
|
private |
Definition at line 103 of file SimG4HcalValidation.h.
Referenced by collectEnergyRdir(), and nxNAnalysis().
|
private |
Definition at line 92 of file SimG4HcalValidation.h.
Referenced by produce(), and SimG4HcalValidation().
|
private |
Definition at line 71 of file SimG4HcalValidation.h.
Referenced by collectEnergyRdir(), init(), jetAnalysis(), and ~SimG4HcalValidation().
|
private |
Definition at line 90 of file SimG4HcalValidation.h.
Referenced by jetAnalysis(), and SimG4HcalValidation().
|
private |
Definition at line 93 of file SimG4HcalValidation.h.
Referenced by produce(), and SimG4HcalValidation().
|
private |
Definition at line 93 of file SimG4HcalValidation.h.
Referenced by produce(), and SimG4HcalValidation().
|
private |
Definition at line 93 of file SimG4HcalValidation.h.
Referenced by produce(), and SimG4HcalValidation().
|
private |
Definition at line 88 of file SimG4HcalValidation.h.
Referenced by fill(), SimG4HcalValidation(), and update().
|
private |
Definition at line 74 of file SimG4HcalValidation.h.
Referenced by fill(), update(), and ~SimG4HcalValidation().
|
private |
Definition at line 77 of file SimG4HcalValidation.h.
Referenced by fill(), update(), and ~SimG4HcalValidation().
|
private |
Definition at line 90 of file SimG4HcalValidation.h.
Referenced by collectEnergyRdir(), jetAnalysis(), nxNAnalysis(), and SimG4HcalValidation().
|
private |
Definition at line 83 of file SimG4HcalValidation.h.
Referenced by getHcalScale(), and init().
|
private |
Definition at line 84 of file SimG4HcalValidation.h.
Referenced by getHcalScale(), and init().
|
private |
Definition at line 85 of file SimG4HcalValidation.h.
Referenced by getHcalScale(), and init().
|
private |
Definition at line 90 of file SimG4HcalValidation.h.
Referenced by fill(), and SimG4HcalValidation().
|
private |
Definition at line 90 of file SimG4HcalValidation.h.
Referenced by SimG4HcalValidation().
|
private |
Definition at line 104 of file SimG4HcalValidation.h.
Referenced by fill(), layerAnalysis(), and update().
|
private |
Definition at line 104 of file SimG4HcalValidation.h.
Referenced by fill(), layerAnalysis(), and update().