Public Member Functions | |
void | beginRun (edm::EventSetup const &) override |
HcalTestAnalysis (const edm::ParameterSet &p) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
void | registerConsumes (edm::ConsumesCollector) override |
~HcalTestAnalysis () 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 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 | fill (const EndOfEvent *ev) |
void | layerAnalysis () |
std::vector< int > | layerGrouping (int) |
void | qieAnalysis (CLHEP::HepRandomEngine *) |
double | timeOfFlight (int det, int layer, double eta) |
std::vector< int > | towersToAdd (int centre, int nadd) |
void | update (const BeginOfRun *run) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const BeginOfEvent *evt) 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 | |
int | addTower_ |
std::vector< CaloHit > | caloHitCache_ |
const int | centralTower_ |
unsigned int | count_ |
edm::ESGetToken< HcalDDDSimConstants, HcalSimNumberingRecord > | ddconsToken_ |
double | edepEB_ |
double | edepEE_ |
double | edepHB_ |
double | edepHE_ |
double | edepHO_ |
double | edepl_ [20] |
double | eta0_ |
const std::string | fileName_ |
std::vector< int > | group_ |
const HcalDDDSimConstants * | hcons_ |
const int | laygroup_ |
const edm::ParameterSet | m_Anal |
double | mudist_ [20] |
std::unique_ptr< HcalQie > | myqie_ |
const std::vector< std::string > | names_ |
int | nGroup_ |
int | nTower_ |
std::unique_ptr< HcalNumberingFromDDD > | numberingFromDDD_ |
std::unique_ptr< HcalTestNumberingScheme > | org_ |
double | phi0_ |
std::vector< int > | tower_ |
std::unique_ptr< HcalTestHistoClass > | tuples_ |
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 49 of file HcalTestAnalysis.cc.
HcalTestAnalysis::HcalTestAnalysis | ( | const edm::ParameterSet & | p | ) |
Definition at line 111 of file HcalTestAnalysis.cc.
References addTower_, centralTower_, count_, group_, mps_fire::i, layerGrouping(), laygroup_, myqie_, nGroup_, nTower_, numberingFromDDD_, org_, AlCaHLTBitMon_ParallelJobs::p, tower_, towersToAdd(), and tuples_.
|
override |
Definition at line 146 of file HcalTestAnalysis.cc.
|
overridevirtual |
Reimplemented from SimWatcher.
Definition at line 231 of file HcalTestAnalysis.cc.
References ddconsToken_, edm::EventSetup::getData(), hcons_, names_, numberingFromDDD_, and org_.
|
private |
Definition at line 398 of file HcalTestAnalysis.cc.
References caloHitCache_, MillePedeFileConverter_cfg::e, PVValHelper::eta, CaloG4Hit::getEnergyDeposit(), CaloG4Hit::getPosition(), CaloG4Hit::getTimeSlice(), CaloG4Hit::getUnitID(), HcalEndcap, HcalForward, hcalRecHitTable_cff::ieta, hcalRecHitTable_cff::iphi, dqmiolumiharvest::j, nano_mu_digi_cff::layer, CrabHelper::log, names_, numberingFromDDD_, org_, phi, AlCaHLTBitMon_QueryRunRegistry::string, funct::tan(), tauSpinnerTable_cfi::theta, hcalRecHitTable_cff::time, timeOfFlight(), and ecaldqm::zside().
Referenced by update().
|
private |
Definition at line 652 of file HcalTestAnalysis.cc.
References edepEB_, edepEE_, edepHB_, edepHE_, edepHO_, edepl_, mps_fire::i, mudist_, and tuples_.
Referenced by update().
|
private |
Definition at line 161 of file HcalTestAnalysis.cc.
References watchdog::group, mps_fire::i, and groupFilesInBlocks::temp.
Referenced by HcalTestAnalysis().
|
overridevirtual |
Implements SimProducer.
Definition at line 156 of file HcalTestAnalysis.cc.
References MillePedeFileConverter_cfg::e, eostools::move(), and tuples_.
|
private |
Definition at line 530 of file HcalTestAnalysis.cc.
References addTower_, caloHitCache_, hippyaddtobaddatafiles::cd(), centralTower_, eta0_, watchdog::group, group_, HcalBarrel, HcalEndcap, hfClusterShapes_cfi::hits, mps_fire::i, hit::id, heavyIonCSV_trainingSettings::idx, hcalRecHitTable_cff::ieta, hcalRecHitTable_cff::iphi, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, nano_mu_digi_cff::layer, myqie_, nGroup_, nt, nTower_, numberingFromDDD_, org_, phi0_, AlCaHLTBitMon_QueryRunRegistry::string, tower_, tuples_, and ecaldqm::zside().
Referenced by update().
|
overridevirtual |
Reimplemented from SimWatcher.
Definition at line 151 of file HcalTestAnalysis.cc.
References edm::BeginRun, gpuPixelDoublets::cc, and ddconsToken_.
|
private |
Definition at line 666 of file HcalTestAnalysis.cc.
References funct::cos(), PVValHelper::eta, JetChargeProducer_cfi::exp, HcalBarrel, nano_mu_digi_cff::layer, funct::sin(), tauSpinnerTable_cfi::theta, and createJobs::tmp.
Referenced by fill().
|
private |
Definition at line 191 of file HcalTestAnalysis.cc.
References funct::abs(), PVValHelper::eta, TrackingDataMCValidation_Standalone_cff::etamax, TrackingDataMCValidation_Standalone_cff::etamin, mps_fire::i, WZElectronSkims53X_cff::max, phi, phimax, phimin, and groupFilesInBlocks::temp.
Referenced by HcalTestAnalysis().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfRun *>.
Definition at line 242 of file HcalTestAnalysis.cc.
References HcalDDDSimConstants::cell(), centralTower_, PVValHelper::eta, eta0_, HcalBarrel, HcalEndcap, HcalForward, hcons_, heppy_loop::loop, names_, org_, phi, phi0_, HCalSD::setNumberingScheme(), AlCaHLTBitMon_QueryRunRegistry::string, and createJobs::tmp.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent *>.
Definition at line 301 of file HcalTestAnalysis.cc.
References edepEB_, edepEE_, edepHB_, edepHE_, edepHO_, edepl_, mps_fire::i, mudist_, and tuples_.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const EndOfEvent *>.
Definition at line 381 of file HcalTestAnalysis.cc.
References count_, fill(), layerAnalysis(), and qieAnalysis().
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const G4Step *>.
Definition at line 318 of file HcalTestAnalysis.cc.
References edepEB_, edepEE_, edepHB_, edepHE_, edepHO_, edepl_, PVValHelper::eta, eta0_, nano_mu_digi_cff::layer, CrabHelper::log, mudist_, mergeVDriftHistosByStation::name, phi, phi0_, mathSSE::sqrt(), funct::tan(), and tauSpinnerTable_cfi::theta.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 80 of file HcalTestAnalysis.cc.
Referenced by HcalTestAnalysis(), and qieAnalysis().
|
private |
Definition at line 100 of file HcalTestAnalysis.cc.
Referenced by fill(), and qieAnalysis().
|
private |
Definition at line 88 of file HcalTestAnalysis.cc.
Referenced by HcalTestAnalysis(), qieAnalysis(), and update().
|
private |
Definition at line 105 of file HcalTestAnalysis.cc.
Referenced by HcalTestAnalysis(), update(), and ~HcalTestAnalysis().
|
private |
Definition at line 94 of file HcalTestAnalysis.cc.
Referenced by beginRun(), and registerConsumes().
|
private |
Definition at line 106 of file HcalTestAnalysis.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 106 of file HcalTestAnalysis.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 106 of file HcalTestAnalysis.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 106 of file HcalTestAnalysis.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 107 of file HcalTestAnalysis.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 107 of file HcalTestAnalysis.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 87 of file HcalTestAnalysis.cc.
Referenced by qieAnalysis(), and update().
|
private |
Definition at line 91 of file HcalTestAnalysis.cc.
|
private |
Definition at line 101 of file HcalTestAnalysis.cc.
Referenced by HcalTestAnalysis(), and qieAnalysis().
|
private |
Definition at line 96 of file HcalTestAnalysis.cc.
Referenced by beginRun(), and update().
|
private |
Definition at line 88 of file HcalTestAnalysis.cc.
Referenced by HcalTestAnalysis().
|
private |
Definition at line 86 of file HcalTestAnalysis.cc.
|
private |
Definition at line 108 of file HcalTestAnalysis.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 79 of file HcalTestAnalysis.cc.
Referenced by HcalTestAnalysis(), and qieAnalysis().
|
private |
Definition at line 89 of file HcalTestAnalysis.cc.
Referenced by beginRun(), fill(), and update().
|
private |
Definition at line 102 of file HcalTestAnalysis.cc.
Referenced by HcalTestAnalysis(), and qieAnalysis().
|
private |
Definition at line 102 of file HcalTestAnalysis.cc.
Referenced by HcalTestAnalysis(), and qieAnalysis().
|
private |
Definition at line 95 of file HcalTestAnalysis.cc.
Referenced by beginRun(), fill(), HcalTestAnalysis(), and qieAnalysis().
|
private |
Definition at line 97 of file HcalTestAnalysis.cc.
Referenced by beginRun(), fill(), HcalTestAnalysis(), qieAnalysis(), update(), and ~HcalTestAnalysis().
|
private |
Definition at line 87 of file HcalTestAnalysis.cc.
Referenced by qieAnalysis(), and update().
|
private |
Definition at line 101 of file HcalTestAnalysis.cc.
Referenced by HcalTestAnalysis(), and qieAnalysis().
|
private |
Definition at line 83 of file HcalTestAnalysis.cc.
Referenced by HcalTestAnalysis(), layerAnalysis(), produce(), qieAnalysis(), and update().