Public Member Functions | |
HcalTB04Analysis (const edm::ParameterSet &p) | |
HcalTB04Analysis (const HcalTB04Analysis &)=delete | |
const HcalTB04Analysis & | operator= (const HcalTB04Analysis &)=delete |
void | produce (edm::Event &, const edm::EventSetup &) override |
~HcalTB04Analysis () 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 | |
virtual void | beginRun (edm::EventSetup const &) |
bool | isMT () const |
const SimWatcher & | operator= (const SimWatcher &)=delete |
virtual void | registerConsumes (edm::ConsumesCollector) |
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 | clear () |
void | fillBuffer (const EndOfEvent *evt) |
void | fillEvent (PHcalTB04Info &) |
void | finalAnalysis () |
void | init () |
void | qieAnalysis (CLHEP::HepRandomEngine *) |
double | scale (int det, int layer) |
double | timeOfFlight (int det, int layer, double eta) |
int | unitID (uint32_t id) |
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 G4Step *step) 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 | xtalAnalysis (CLHEP::HepRandomEngine *) |
Private Attributes | |
G4RotationMatrix * | beamline_RM |
const double | beamOffset |
int | count |
std::vector< CaloHit > | ecalHitCache |
const double | ecalNoise |
double | eecalq |
double | eecals |
double | ehcalq |
double | ehcals |
std::vector< double > | enois |
std::vector< double > | eqeta |
std::vector< double > | eqie |
std::vector< double > | eqlay |
std::vector< double > | eqphi |
std::vector< double > | eseta |
std::vector< double > | esime |
std::vector< double > | esimh |
std::vector< double > | eslay |
std::vector< double > | esphi |
double | etaInit |
double | etotq |
double | etots |
int | evNum |
std::vector< CaloHit > | hcalHitCache |
std::vector< CaloHit > | hcalHitLayer |
const bool | hcalOnly |
HcalTB04Histo * | histo |
int | iceta |
int | icphi |
std::vector< uint32_t > | idEcal |
std::vector< int > | idHcal |
std::vector< uint32_t > | idTower |
std::vector< int > | idXtal |
const edm::ParameterSet | m_Anal |
const int | mode |
HcalQie * | myQie |
const std::vector< std::string > | names |
int | nCrystal |
int | nPrimary |
int | nTower |
int | particleType |
double | phiInit |
double | pInit |
bool | pvFound |
G4ThreeVector | pvMomentum |
G4ThreeVector | pvPosition |
int | pvType |
G4ThreeVector | pvUVW |
const double | scaleHB0 |
const double | scaleHB16 |
const double | scaleHE0 |
const double | scaleHO |
std::vector< double > | secEkin |
std::vector< G4ThreeVector > | secMomentum |
std::vector< int > | secPartID |
std::vector< int > | secTrackID |
std::vector< int > | shortLivedSecondaries |
const int | type |
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 79 of file HcalTB04Analysis.cc.
HcalTB04Analysis::HcalTB04Analysis | ( | const edm::ParameterSet & | p | ) |
Definition at line 156 of file HcalTB04Analysis.cc.
References beamline_RM, beamOffset, ecalNoise, JetChargeProducer_cfi::exp, edm::ParameterSet::getParameter(), hcalOnly, histo, iceta, icphi, init(), m_Anal, mode, myQie, and AlCaHLTBitMon_ParallelJobs::p.
|
delete |
|
override |
Definition at line 203 of file HcalTB04Analysis.cc.
References count, histo, and myQie.
|
private |
Definition at line 1039 of file HcalTB04Analysis.cc.
References ecalHitCache, enois, eqie, esime, esimh, etaInit, hcalHitCache, hcalHitLayer, mps_fire::i, nCrystal, nPrimary, nTower, particleType, phiInit, pInit, pvFound, pvMomentum, pvPosition, pvType, pvUVW, secEkin, secMomentum, secPartID, secTrackID, and shortLivedSecondaries.
Referenced by init(), and update().
|
private |
Definition at line 487 of file HcalTB04Analysis.cc.
References TauDecayModes::dec, MillePedeFileConverter_cfg::e, ecalHitCache, PVValHelper::eta, etaInit, evNum, CaloG4Hit::getEnergyDeposit(), CaloG4Hit::getEntry(), CaloG4Hit::getTimeSlice(), CaloG4Hit::getTrackID(), HcalTBNumberingScheme::getUnitID(), CaloG4Hit::getUnitID(), watchdog::group, hcalHitCache, hcalHitLayer, hfClusterShapes_cfi::hits, mps_fire::i, heavyIonCSV_trainingSettings::idx, hcalRecHitTable_cff::ieta, hcalRecHitTable_cff::iphi, dqmiolumiharvest::j, nano_mu_digi_cff::layer, dqm-mbProfile::log, SiStripPI::max, SiStripPI::min, mode, names, npart, nPrimary, AlCaHLTBitMon_ParallelJobs::p, particleType, phi, phiInit, pInit, funct::pow(), multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, scale(), heavyFlavorDQMFirstStep_cff::sdName, jetUpdater_cfi::sort, mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, funct::tan(), theta(), hcalRecHitTable_cff::time, timeOfFlight(), unitID(), HcalTestNumbering::unpackHcalIndex(), and z.
Referenced by update().
|
private |
Definition at line 964 of file HcalTB04Analysis.cc.
References TauDecayModes::dec, ecalHitCache, eecalq, eecals, ehcalq, ehcals, enois, eqeta, eqie, eqlay, eqphi, eseta, esime, esimh, eslay, esphi, etaInit, etotq, etots, evNum, watchdog::group, hcalHitCache, mps_fire::i, idHcal, idXtal, hcalRecHitTable_cff::ieta, hcalRecHitTable_cff::iphi, nPrimary, particleType, phiInit, pInit, pvMomentum, pvPosition, pvType, pvUVW, PHcalTB04Info::saveHit(), secEkin, secMomentum, secPartID, secTrackID, PHcalTB04Info::setEdep(), PHcalTB04Info::setEdepHcal(), PHcalTB04Info::setIDs(), PHcalTB04Info::setLongProf(), PHcalTB04Info::setPrimary(), PHcalTB04Info::setTrnsProf(), PHcalTB04Info::setVtxPrim(), PHcalTB04Info::setVtxSec(), HcalTestNumbering::unpackHcalIndex(), x, y, and z.
Referenced by produce().
|
private |
Definition at line 853 of file HcalTB04Analysis.cc.
References StorageManager_cfg::e1, eecalq, eecals, ehcalq, ehcals, enois, eqeta, eqie, eqlay, eqphi, eseta, esime, esimh, eslay, esphi, etaInit, etotq, etots, HcalTB04Histo::fillEdep(), HcalTB04Histo::fillLongProf(), HcalTB04Histo::fillPrimary(), HcalTB04Histo::fillTrnsProf(), watchdog::group, histo, mps_fire::i, iceta, icphi, l1ctLayer2EG_cff::id, idTower, hcalRecHitTable_cff::ieta, hcalRecHitTable_cff::iphi, nano_mu_digi_cff::layer, nCrystal, nTower, phiInit, pInit, HcalTestNumbering::unpackHcalIndex(), and z.
Referenced by update().
|
private |
Definition at line 228 of file HcalTB04Analysis.cc.
References clear(), count, TauDecayModes::dec, eqeta, eqlay, eqphi, eseta, eslay, esphi, evNum, HcalTBNumberingScheme::getUnitIDs(), hcalOnly, mps_fire::i, globals_cff::id1, idEcal, idHcal, idTower, idXtal, mode, nCrystal, nTower, HcalTestNumbering::packHcalIndex(), and unitID().
Referenced by HcalTB04Analysis().
|
delete |
|
overridevirtual |
Implements SimProducer.
Definition at line 222 of file HcalTB04Analysis.cc.
References MillePedeFileConverter_cfg::e, fillEvent(), and eostools::move().
|
private |
Definition at line 743 of file HcalTB04Analysis.cc.
References hippyaddtobaddatafiles::cd(), TauDecayModes::dec, eqie, esimh, HcalQie::getCode(), HcalQie::getEnergy(), hcalHitCache, hfClusterShapes_cfi::hits, l1ctLayer2EG_cff::id, hit::id, idTower, myQie, nTower, and DQMOfflineHeavyIons_cff::todo.
Referenced by update().
|
private |
Definition at line 1086 of file HcalTB04Analysis.cc.
References HcalBarrel, nano_mu_digi_cff::layer, scaleHB0, scaleHB16, scaleHE0, scaleHO, and createJobs::tmp.
Referenced by fillBuffer().
|
private |
Definition at line 1102 of file HcalTB04Analysis.cc.
References beamOffset, funct::cos(), PVValHelper::eta, JetChargeProducer_cfi::exp, HcalBarrel, nano_mu_digi_cff::layer, funct::sin(), theta(), and createJobs::tmp.
Referenced by fillBuffer().
|
private |
Definition at line 1075 of file HcalTB04Analysis.cc.
References watchdog::group, hcalRecHitTable_cff::ieta, hcalRecHitTable_cff::iphi, HcalTestNumbering::unpackHcalIndex(), and z.
Referenced by fillBuffer(), and init().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfRun *>.
Definition at line 291 of file HcalTB04Analysis.cc.
References hcalOnly, names, ECalSD::setNumberingScheme(), HCalSD::setNumberingScheme(), and AlCaHLTBitMon_QueryRunRegistry::string.
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 333 of file HcalTB04Analysis.cc.
References clear(), and evNum.
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 341 of file HcalTB04Analysis.cc.
References position, pvFound, pvMomentum, pvPosition, pvType, pvUVW, secEkin, secMomentum, secPartID, secTrackID, and shortLivedSecondaries.
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 446 of file HcalTB04Analysis.cc.
References count, ecalHitCache, fillBuffer(), finalAnalysis(), hcalHitCache, hcalOnly, qieAnalysis(), and xtalAnalysis().
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 803 of file HcalTB04Analysis.cc.
References TauDecayModes::dec, ecalHitCache, ecalNoise, enois, esime, l1ctLayer2EG_cff::id, idEcal, and nCrystal.
Referenced by update().
|
private |
Definition at line 126 of file HcalTB04Analysis.cc.
Referenced by HcalTB04Analysis().
|
private |
Definition at line 118 of file HcalTB04Analysis.cc.
Referenced by HcalTB04Analysis(), and timeOfFlight().
|
private |
Definition at line 129 of file HcalTB04Analysis.cc.
Referenced by init(), update(), and ~HcalTB04Analysis().
|
private |
Definition at line 137 of file HcalTB04Analysis.cc.
Referenced by clear(), fillBuffer(), fillEvent(), update(), and xtalAnalysis().
|
private |
Definition at line 118 of file HcalTB04Analysis.cc.
Referenced by HcalTB04Analysis(), and xtalAnalysis().
|
private |
Definition at line 141 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), and finalAnalysis().
|
private |
Definition at line 141 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), and finalAnalysis().
|
private |
Definition at line 141 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), and finalAnalysis().
|
private |
Definition at line 141 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), and finalAnalysis().
|
private |
Definition at line 139 of file HcalTB04Analysis.cc.
Referenced by clear(), fillEvent(), finalAnalysis(), and xtalAnalysis().
|
private |
Definition at line 140 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), finalAnalysis(), and init().
|
private |
Definition at line 139 of file HcalTB04Analysis.cc.
Referenced by clear(), fillEvent(), finalAnalysis(), and qieAnalysis().
|
private |
Definition at line 140 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), finalAnalysis(), and init().
|
private |
Definition at line 140 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), finalAnalysis(), and init().
|
private |
Definition at line 140 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), finalAnalysis(), and init().
|
private |
Definition at line 139 of file HcalTB04Analysis.cc.
Referenced by clear(), fillEvent(), finalAnalysis(), and xtalAnalysis().
|
private |
Definition at line 139 of file HcalTB04Analysis.cc.
Referenced by clear(), fillEvent(), finalAnalysis(), and qieAnalysis().
|
private |
Definition at line 140 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), finalAnalysis(), and init().
|
private |
Definition at line 140 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), finalAnalysis(), and init().
|
private |
Definition at line 136 of file HcalTB04Analysis.cc.
Referenced by clear(), fillBuffer(), fillEvent(), and finalAnalysis().
|
private |
Definition at line 141 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), and finalAnalysis().
|
private |
Definition at line 141 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), and finalAnalysis().
|
private |
Definition at line 144 of file HcalTB04Analysis.cc.
Referenced by fillBuffer(), fillEvent(), init(), and update().
|
private |
Definition at line 138 of file HcalTB04Analysis.cc.
Referenced by clear(), fillBuffer(), fillEvent(), qieAnalysis(), and update().
|
private |
Definition at line 138 of file HcalTB04Analysis.cc.
Referenced by clear(), and fillBuffer().
|
private |
Definition at line 116 of file HcalTB04Analysis.cc.
Referenced by HcalTB04Analysis(), init(), and update().
|
private |
Definition at line 123 of file HcalTB04Analysis.cc.
Referenced by finalAnalysis(), HcalTB04Analysis(), and ~HcalTB04Analysis().
|
private |
Definition at line 125 of file HcalTB04Analysis.cc.
Referenced by finalAnalysis(), and HcalTB04Analysis().
|
private |
Definition at line 125 of file HcalTB04Analysis.cc.
Referenced by finalAnalysis(), and HcalTB04Analysis().
|
private |
Definition at line 132 of file HcalTB04Analysis.cc.
Referenced by init(), and xtalAnalysis().
|
private |
Definition at line 131 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), and init().
|
private |
Definition at line 132 of file HcalTB04Analysis.cc.
Referenced by finalAnalysis(), init(), and qieAnalysis().
|
private |
Definition at line 131 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), and init().
|
private |
Definition at line 115 of file HcalTB04Analysis.cc.
Referenced by HcalTB04Analysis().
|
private |
Definition at line 117 of file HcalTB04Analysis.cc.
Referenced by fillBuffer(), HcalTB04Analysis(), and init().
|
private |
Definition at line 122 of file HcalTB04Analysis.cc.
Referenced by HcalTB04Analysis(), qieAnalysis(), and ~HcalTB04Analysis().
|
private |
Definition at line 120 of file HcalTB04Analysis.cc.
Referenced by fillBuffer(), and update().
|
private |
Definition at line 130 of file HcalTB04Analysis.cc.
Referenced by clear(), finalAnalysis(), init(), and xtalAnalysis().
|
private |
Definition at line 135 of file HcalTB04Analysis.cc.
Referenced by clear(), fillBuffer(), and fillEvent().
|
private |
Definition at line 130 of file HcalTB04Analysis.cc.
Referenced by clear(), finalAnalysis(), init(), and qieAnalysis().
|
private |
Definition at line 135 of file HcalTB04Analysis.cc.
Referenced by clear(), fillBuffer(), and fillEvent().
|
private |
Definition at line 136 of file HcalTB04Analysis.cc.
Referenced by clear(), fillBuffer(), fillEvent(), and finalAnalysis().
|
private |
Definition at line 136 of file HcalTB04Analysis.cc.
Referenced by clear(), fillBuffer(), fillEvent(), and finalAnalysis().
|
private |
Definition at line 143 of file HcalTB04Analysis.cc.
|
private |
Definition at line 145 of file HcalTB04Analysis.cc.
Referenced by clear(), fillEvent(), and update().
|
private |
Definition at line 145 of file HcalTB04Analysis.cc.
Referenced by clear(), fillEvent(), and update().
|
private |
Definition at line 144 of file HcalTB04Analysis.cc.
Referenced by clear(), fillEvent(), and update().
|
private |
Definition at line 145 of file HcalTB04Analysis.cc.
Referenced by clear(), fillEvent(), and update().
|
private |
Definition at line 119 of file HcalTB04Analysis.cc.
Referenced by scale().
|
private |
Definition at line 119 of file HcalTB04Analysis.cc.
Referenced by scale().
|
private |
Definition at line 119 of file HcalTB04Analysis.cc.
Referenced by scale().
|
private |
Definition at line 119 of file HcalTB04Analysis.cc.
Referenced by scale().
|
private |
Definition at line 148 of file HcalTB04Analysis.cc.
Referenced by clear(), fillEvent(), and update().
|
private |
Definition at line 147 of file HcalTB04Analysis.cc.
Referenced by clear(), fillEvent(), and update().
|
private |
Definition at line 146 of file HcalTB04Analysis.cc.
Referenced by clear(), fillEvent(), and update().
|
private |
Definition at line 146 of file HcalTB04Analysis.cc.
Referenced by clear(), fillEvent(), and update().
|
private |
Definition at line 149 of file HcalTB04Analysis.cc.
|
private |
Definition at line 117 of file HcalTB04Analysis.cc.