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 73 of file HcalTB04Analysis.cc.
HcalTB04Analysis::HcalTB04Analysis | ( | const edm::ParameterSet & | p | ) |
Definition at line 150 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 197 of file HcalTB04Analysis.cc.
References count, histo, and myQie.
|
private |
Definition at line 1023 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 481 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, LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, dqmiolumiharvest::j, phase1PixelTopology::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(), protons_cff::time, timeOfFlight(), unitID(), HcalTestNumbering::unpackHcalIndex(), and z.
Referenced by update().
|
private |
Definition at line 950 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, hit::id, idHcal, idXtal, LEDCalibrationChannels::ieta, LEDCalibrationChannels::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 839 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, triggerObjects_cff::id, idTower, LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, phase1PixelTopology::layer, nCrystal, nTower, phiInit, pInit, HcalTestNumbering::unpackHcalIndex(), and z.
Referenced by update().
|
private |
Definition at line 222 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 216 of file HcalTB04Analysis.cc.
References MillePedeFileConverter_cfg::e, fillEvent(), and eostools::move().
|
private |
Definition at line 729 of file HcalTB04Analysis.cc.
References hippyaddtobaddatafiles::cd(), TauDecayModes::dec, eqie, esimh, HcalQie::getCode(), HcalQie::getEnergy(), hcalHitCache, hfClusterShapes_cfi::hits, triggerObjects_cff::id, hit::id, idTower, myQie, nTower, and DQMOfflineHeavyIons_cff::todo.
Referenced by update().
|
private |
Definition at line 1070 of file HcalTB04Analysis.cc.
References HcalBarrel, phase1PixelTopology::layer, scaleHB0, scaleHB16, scaleHE0, scaleHO, and createJobs::tmp.
Referenced by fillBuffer().
|
private |
Definition at line 1086 of file HcalTB04Analysis.cc.
References beamOffset, funct::cos(), PVValHelper::eta, JetChargeProducer_cfi::exp, HcalBarrel, phase1PixelTopology::layer, funct::sin(), theta(), and createJobs::tmp.
Referenced by fillBuffer().
|
private |
Definition at line 1059 of file HcalTB04Analysis.cc.
References watchdog::group, LEDCalibrationChannels::ieta, LEDCalibrationChannels::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 285 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 327 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 335 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 440 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 789 of file HcalTB04Analysis.cc.
References TauDecayModes::dec, ecalHitCache, ecalNoise, enois, esime, triggerObjects_cff::id, idEcal, and nCrystal.
Referenced by update().
|
private |
Definition at line 120 of file HcalTB04Analysis.cc.
Referenced by HcalTB04Analysis().
|
private |
Definition at line 112 of file HcalTB04Analysis.cc.
Referenced by HcalTB04Analysis(), and timeOfFlight().
|
private |
Definition at line 123 of file HcalTB04Analysis.cc.
Referenced by init(), update(), and ~HcalTB04Analysis().
|
private |
Definition at line 131 of file HcalTB04Analysis.cc.
Referenced by clear(), fillBuffer(), fillEvent(), update(), and xtalAnalysis().
|
private |
Definition at line 112 of file HcalTB04Analysis.cc.
Referenced by HcalTB04Analysis(), and xtalAnalysis().
|
private |
Definition at line 135 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), and finalAnalysis().
|
private |
Definition at line 135 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), and finalAnalysis().
|
private |
Definition at line 135 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), and finalAnalysis().
|
private |
Definition at line 135 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), and finalAnalysis().
|
private |
Definition at line 133 of file HcalTB04Analysis.cc.
Referenced by clear(), fillEvent(), finalAnalysis(), and xtalAnalysis().
|
private |
Definition at line 134 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), finalAnalysis(), and init().
|
private |
Definition at line 133 of file HcalTB04Analysis.cc.
Referenced by clear(), fillEvent(), finalAnalysis(), and qieAnalysis().
|
private |
Definition at line 134 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), finalAnalysis(), and init().
|
private |
Definition at line 134 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), finalAnalysis(), and init().
|
private |
Definition at line 134 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), finalAnalysis(), and init().
|
private |
Definition at line 133 of file HcalTB04Analysis.cc.
Referenced by clear(), fillEvent(), finalAnalysis(), and xtalAnalysis().
|
private |
Definition at line 133 of file HcalTB04Analysis.cc.
Referenced by clear(), fillEvent(), finalAnalysis(), and qieAnalysis().
|
private |
Definition at line 134 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), finalAnalysis(), and init().
|
private |
Definition at line 134 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), finalAnalysis(), and init().
|
private |
Definition at line 130 of file HcalTB04Analysis.cc.
Referenced by clear(), fillBuffer(), fillEvent(), and finalAnalysis().
|
private |
Definition at line 135 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), and finalAnalysis().
|
private |
Definition at line 135 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), and finalAnalysis().
|
private |
Definition at line 138 of file HcalTB04Analysis.cc.
Referenced by fillBuffer(), fillEvent(), init(), and update().
|
private |
Definition at line 132 of file HcalTB04Analysis.cc.
Referenced by clear(), fillBuffer(), fillEvent(), qieAnalysis(), and update().
|
private |
Definition at line 132 of file HcalTB04Analysis.cc.
Referenced by clear(), and fillBuffer().
|
private |
Definition at line 110 of file HcalTB04Analysis.cc.
Referenced by HcalTB04Analysis(), init(), and update().
|
private |
Definition at line 117 of file HcalTB04Analysis.cc.
Referenced by finalAnalysis(), HcalTB04Analysis(), and ~HcalTB04Analysis().
|
private |
Definition at line 119 of file HcalTB04Analysis.cc.
Referenced by finalAnalysis(), and HcalTB04Analysis().
|
private |
Definition at line 119 of file HcalTB04Analysis.cc.
Referenced by finalAnalysis(), and HcalTB04Analysis().
|
private |
Definition at line 126 of file HcalTB04Analysis.cc.
Referenced by init(), and xtalAnalysis().
|
private |
Definition at line 125 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), and init().
|
private |
Definition at line 126 of file HcalTB04Analysis.cc.
Referenced by finalAnalysis(), init(), and qieAnalysis().
|
private |
Definition at line 125 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), and init().
|
private |
Definition at line 109 of file HcalTB04Analysis.cc.
Referenced by HcalTB04Analysis().
|
private |
Definition at line 111 of file HcalTB04Analysis.cc.
Referenced by fillBuffer(), HcalTB04Analysis(), and init().
|
private |
Definition at line 116 of file HcalTB04Analysis.cc.
Referenced by HcalTB04Analysis(), qieAnalysis(), and ~HcalTB04Analysis().
|
private |
Definition at line 114 of file HcalTB04Analysis.cc.
Referenced by fillBuffer(), and update().
|
private |
Definition at line 124 of file HcalTB04Analysis.cc.
Referenced by clear(), finalAnalysis(), init(), and xtalAnalysis().
|
private |
Definition at line 129 of file HcalTB04Analysis.cc.
Referenced by clear(), fillBuffer(), and fillEvent().
|
private |
Definition at line 124 of file HcalTB04Analysis.cc.
Referenced by clear(), finalAnalysis(), init(), and qieAnalysis().
|
private |
Definition at line 129 of file HcalTB04Analysis.cc.
Referenced by clear(), fillBuffer(), and fillEvent().
|
private |
Definition at line 130 of file HcalTB04Analysis.cc.
Referenced by clear(), fillBuffer(), fillEvent(), and finalAnalysis().
|
private |
Definition at line 130 of file HcalTB04Analysis.cc.
Referenced by clear(), fillBuffer(), fillEvent(), and finalAnalysis().
|
private |
Definition at line 137 of file HcalTB04Analysis.cc.
|
private |
Definition at line 139 of file HcalTB04Analysis.cc.
Referenced by clear(), fillEvent(), and update().
|
private |
Definition at line 139 of file HcalTB04Analysis.cc.
Referenced by clear(), fillEvent(), and update().
|
private |
Definition at line 138 of file HcalTB04Analysis.cc.
Referenced by clear(), fillEvent(), and update().
|
private |
Definition at line 139 of file HcalTB04Analysis.cc.
Referenced by clear(), fillEvent(), and update().
|
private |
Definition at line 113 of file HcalTB04Analysis.cc.
Referenced by scale().
|
private |
Definition at line 113 of file HcalTB04Analysis.cc.
Referenced by scale().
|
private |
Definition at line 113 of file HcalTB04Analysis.cc.
Referenced by scale().
|
private |
Definition at line 113 of file HcalTB04Analysis.cc.
Referenced by scale().
|
private |
Definition at line 142 of file HcalTB04Analysis.cc.
Referenced by clear(), fillEvent(), and update().
|
private |
Definition at line 141 of file HcalTB04Analysis.cc.
Referenced by clear(), fillEvent(), and update().
|
private |
Definition at line 140 of file HcalTB04Analysis.cc.
Referenced by clear(), fillEvent(), and update().
|
private |
Definition at line 140 of file HcalTB04Analysis.cc.
Referenced by clear(), fillEvent(), and update().
|
private |
Definition at line 143 of file HcalTB04Analysis.cc.
|
private |
Definition at line 111 of file HcalTB04Analysis.cc.