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_ |
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_ |
std::string | fileName_ |
std::vector< int > | group_ |
const HcalDDDSimConstants * | hcons_ |
double | mudist_ [20] |
std::unique_ptr< HcalQie > | myqie_ |
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 42 of file HcalTestAnalysis.cc.
HcalTestAnalysis::HcalTestAnalysis | ( | const edm::ParameterSet & | p | ) |
Definition at line 104 of file HcalTestAnalysis.cc.
References addTower_, centralTower_, count_, eta0_, fileName_, edm::ParameterSet::getParameter(), group_, mps_fire::i, layerGrouping(), myqie_, names_, nGroup_, nTower_, numberingFromDDD_, org_, AlCaHLTBitMon_ParallelJobs::p, phi0_, AlCaHLTBitMon_QueryRunRegistry::string, tower_, towersToAdd(), and tuples_.
|
override |
Definition at line 137 of file HcalTestAnalysis.cc.
|
overridevirtual |
Reimplemented from SimWatcher.
Definition at line 222 of file HcalTestAnalysis.cc.
References ddconsToken_, edm::EventSetup::getData(), hcons_, names_, numberingFromDDD_, and org_.
|
private |
Definition at line 389 of file HcalTestAnalysis.cc.
References caloHitCache_, alignCSCRings::e, PVValHelper::eta, CaloG4Hit::getEnergyDeposit(), CaloG4Hit::getPosition(), CaloG4Hit::getTimeSlice(), CaloG4Hit::getUnitID(), GeV, HcalEndcap, HcalForward, dqmiolumiharvest::j, phase1PixelTopology::layer, log, names_, numberingFromDDD_, org_, phi, AlCaHLTBitMon_QueryRunRegistry::string, funct::tan(), theta(), timeOfFlight(), and ecaldqm::zside().
Referenced by update().
|
private |
Definition at line 643 of file HcalTestAnalysis.cc.
References edepEB_, edepEE_, edepHB_, edepHE_, edepHO_, edepl_, mps_fire::i, MeV, mudist_, and tuples_.
Referenced by update().
|
private |
Definition at line 152 of file HcalTestAnalysis.cc.
References mps_fire::i, and groupFilesInBlocks::temp.
Referenced by HcalTestAnalysis().
|
overridevirtual |
Implements SimProducer.
Definition at line 147 of file HcalTestAnalysis.cc.
References eostools::move(), edm::Event::put(), and tuples_.
|
private |
Definition at line 521 of file HcalTestAnalysis.cc.
References addTower_, caloHitCache_, hippyaddtobaddatafiles::cd(), centralTower_, CaloHit::det(), CaloHit::e(), eta0_, watchdog::group, group_, HcalBarrel, HcalEndcap, mps_fire::i, CaloHit::id(), CaloHit::layer(), phase1PixelTopology::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 142 of file HcalTestAnalysis.cc.
References edm::BeginRun, ddconsToken_, and edm::ConsumesCollector::esConsumes().
|
private |
Definition at line 657 of file HcalTestAnalysis.cc.
References funct::cos(), funct::exp(), HcalBarrel, funct::sin(), theta(), and createJobs::tmp.
Referenced by fill().
|
private |
Definition at line 182 of file HcalTestAnalysis.cc.
References funct::abs(), PVValHelper::eta, mps_fire::i, SiStripPI::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 233 of file HcalTestAnalysis.cc.
References HcalDDDSimConstants::cell(), centralTower_, HcalCellType::HcalCell::eta, PVValHelper::eta, eta0_, HcalBarrel, HcalEndcap, HcalForward, hcons_, heppy_loop::loop, names_, HcalCellType::HcalCell::ok, org_, phi, HcalCellType::HcalCell::phi, phi0_, sd, 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 292 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 372 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 309 of file HcalTestAnalysis.cc.
References edepEB_, edepEE_, edepHB_, edepHE_, edepHO_, edepl_, PVValHelper::eta, eta0_, phase1PixelTopology::layer, log, MeV, mudist_, mergeVDriftHistosByStation::name, phi, phi0_, mathSSE::sqrt(), funct::tan(), and theta().
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 76 of file HcalTestAnalysis.cc.
Referenced by HcalTestAnalysis(), and qieAnalysis().
|
private |
Definition at line 88 of file HcalTestAnalysis.cc.
Referenced by fill(), and qieAnalysis().
|
private |
Definition at line 95 of file HcalTestAnalysis.cc.
Referenced by HcalTestAnalysis(), qieAnalysis(), and update().
|
private |
Definition at line 98 of file HcalTestAnalysis.cc.
Referenced by HcalTestAnalysis(), update(), and ~HcalTestAnalysis().
|
private |
Definition at line 82 of file HcalTestAnalysis.cc.
Referenced by beginRun(), and registerConsumes().
|
private |
Definition at line 99 of file HcalTestAnalysis.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 99 of file HcalTestAnalysis.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 99 of file HcalTestAnalysis.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 99 of file HcalTestAnalysis.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 100 of file HcalTestAnalysis.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 100 of file HcalTestAnalysis.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 94 of file HcalTestAnalysis.cc.
Referenced by HcalTestAnalysis(), qieAnalysis(), and update().
|
private |
Definition at line 72 of file HcalTestAnalysis.cc.
Referenced by HcalTestAnalysis().
|
private |
Definition at line 89 of file HcalTestAnalysis.cc.
Referenced by HcalTestAnalysis(), and qieAnalysis().
|
private |
Definition at line 84 of file HcalTestAnalysis.cc.
Referenced by beginRun(), and update().
|
private |
Definition at line 101 of file HcalTestAnalysis.cc.
Referenced by layerAnalysis(), and update().
|
private |
Definition at line 75 of file HcalTestAnalysis.cc.
Referenced by HcalTestAnalysis(), and qieAnalysis().
|
private |
Definition at line 93 of file HcalTestAnalysis.cc.
Referenced by beginRun(), fill(), HcalTestAnalysis(), and update().
|
private |
Definition at line 90 of file HcalTestAnalysis.cc.
Referenced by HcalTestAnalysis(), and qieAnalysis().
|
private |
Definition at line 90 of file HcalTestAnalysis.cc.
Referenced by HcalTestAnalysis(), and qieAnalysis().
|
private |
Definition at line 83 of file HcalTestAnalysis.cc.
Referenced by beginRun(), fill(), HcalTestAnalysis(), and qieAnalysis().
|
private |
Definition at line 85 of file HcalTestAnalysis.cc.
Referenced by beginRun(), fill(), HcalTestAnalysis(), qieAnalysis(), update(), and ~HcalTestAnalysis().
|
private |
Definition at line 94 of file HcalTestAnalysis.cc.
Referenced by HcalTestAnalysis(), qieAnalysis(), and update().
|
private |
Definition at line 89 of file HcalTestAnalysis.cc.
Referenced by HcalTestAnalysis(), and qieAnalysis().
|
private |
Definition at line 79 of file HcalTestAnalysis.cc.
Referenced by HcalTestAnalysis(), layerAnalysis(), produce(), qieAnalysis(), and update().