Public Member Functions | |
HcalTB04Analysis (const edm::ParameterSet &p) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
~HcalTB04Analysis () override | |
Public Member Functions inherited from SimProducer | |
void | registerProducts (edm::ProducesCollector producesCollector) |
SimProducer () | |
Public Member Functions inherited from SimWatcher | |
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 | clear () |
void | fillBuffer (const EndOfEvent *evt) |
void | fillEvent (PHcalTB04Info &) |
void | finalAnalysis () |
HcalTB04Analysis (const HcalTB04Analysis &)=delete | |
void | init () |
const HcalTB04Analysis & | operator= (const HcalTB04Analysis &)=delete |
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 BeginOfEvent *evt) 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... | |
void | xtalAnalysis (CLHEP::HepRandomEngine *) |
Private Attributes | |
G4RotationMatrix * | beamline_RM |
double | beamOffset |
int | count |
std::vector< CaloHit > | ecalHitCache |
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 |
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 |
int | mode |
HcalQie * | myQie |
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 |
double | scaleHB0 |
double | scaleHB16 |
double | scaleHE0 |
double | scaleHO |
std::vector< double > | secEkin |
std::vector< G4ThreeVector > | secMomentum |
std::vector< int > | secPartID |
std::vector< int > | secTrackID |
std::vector< int > | shortLivedSecondaries |
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) |
Definition at line 72 of file HcalTB04Analysis.cc.
HcalTB04Analysis::HcalTB04Analysis | ( | const edm::ParameterSet & | p | ) |
Definition at line 148 of file HcalTB04Analysis.cc.
References beamline_RM, beamOffset, ecalNoise, JetChargeProducer_cfi::exp, edm::ParameterSet::getParameter(), hcalOnly, histo, iceta, icphi, init(), createfilelist::int, mode, myQie, names, AlCaHLTBitMon_ParallelJobs::p, scaleHB0, scaleHB16, scaleHE0, and scaleHO.
|
override |
Definition at line 193 of file HcalTB04Analysis.cc.
|
privatedelete |
|
private |
Definition at line 1013 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.
|
private |
Definition at line 471 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(), GeV, watchdog::group, hcalHitCache, hcalHitLayer, hfClusterShapes_cfi::hits, mps_fire::i, heavyIonCSV_trainingSettings::idx, LEDCalibrationChannels::ieta, createfilelist::int, LEDCalibrationChannels::iphi, dqmiolumiharvest::j, phase1PixelTopology::layer, dqm-mbProfile::log, SiStripPI::max, 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(), 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 940 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 829 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 216 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().
|
privatedelete |
|
overridevirtual |
Implements SimProducer.
Definition at line 210 of file HcalTB04Analysis.cc.
References MillePedeFileConverter_cfg::e, fillEvent(), and eostools::move().
|
private |
Definition at line 719 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 1060 of file HcalTB04Analysis.cc.
References HcalBarrel, phase1PixelTopology::layer, scaleHB0, scaleHB16, scaleHE0, scaleHO, and createJobs::tmp.
Referenced by fillBuffer().
|
private |
Definition at line 1076 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 1049 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 BeginOfEvent * >.
Definition at line 319 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 BeginOfRun * >.
Definition at line 277 of file HcalTB04Analysis.cc.
References hcalOnly, names, sd, 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 EndOfEvent * >.
Definition at line 430 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().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const G4Step * >.
Definition at line 325 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().
|
private |
Definition at line 779 of file HcalTB04Analysis.cc.
References TauDecayModes::dec, ecalHitCache, ecalNoise, enois, esime, triggerObjects_cff::id, idEcal, and nCrystal.
Referenced by update().
|
private |
Definition at line 118 of file HcalTB04Analysis.cc.
Referenced by HcalTB04Analysis().
|
private |
Definition at line 114 of file HcalTB04Analysis.cc.
Referenced by HcalTB04Analysis(), and timeOfFlight().
|
private |
Definition at line 121 of file HcalTB04Analysis.cc.
Referenced by init(), update(), and ~HcalTB04Analysis().
|
private |
Definition at line 129 of file HcalTB04Analysis.cc.
Referenced by clear(), fillBuffer(), fillEvent(), update(), and xtalAnalysis().
|
private |
Definition at line 114 of file HcalTB04Analysis.cc.
Referenced by HcalTB04Analysis(), and xtalAnalysis().
|
private |
Definition at line 133 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), and finalAnalysis().
|
private |
Definition at line 133 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), and finalAnalysis().
|
private |
Definition at line 133 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), and finalAnalysis().
|
private |
Definition at line 133 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), and finalAnalysis().
|
private |
Definition at line 131 of file HcalTB04Analysis.cc.
Referenced by clear(), fillEvent(), finalAnalysis(), and xtalAnalysis().
|
private |
Definition at line 132 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), finalAnalysis(), and init().
|
private |
Definition at line 131 of file HcalTB04Analysis.cc.
Referenced by clear(), fillEvent(), finalAnalysis(), and qieAnalysis().
|
private |
Definition at line 132 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), finalAnalysis(), and init().
|
private |
Definition at line 132 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), finalAnalysis(), and init().
|
private |
Definition at line 132 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), finalAnalysis(), and init().
|
private |
Definition at line 131 of file HcalTB04Analysis.cc.
Referenced by clear(), fillEvent(), finalAnalysis(), and xtalAnalysis().
|
private |
Definition at line 131 of file HcalTB04Analysis.cc.
Referenced by clear(), fillEvent(), finalAnalysis(), and qieAnalysis().
|
private |
Definition at line 132 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), finalAnalysis(), and init().
|
private |
Definition at line 132 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), finalAnalysis(), and init().
|
private |
Definition at line 128 of file HcalTB04Analysis.cc.
Referenced by clear(), fillBuffer(), fillEvent(), and finalAnalysis().
|
private |
Definition at line 133 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), and finalAnalysis().
|
private |
Definition at line 133 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), and finalAnalysis().
|
private |
Definition at line 136 of file HcalTB04Analysis.cc.
Referenced by fillBuffer(), fillEvent(), init(), and update().
|
private |
Definition at line 130 of file HcalTB04Analysis.cc.
Referenced by clear(), fillBuffer(), fillEvent(), qieAnalysis(), and update().
|
private |
Definition at line 130 of file HcalTB04Analysis.cc.
Referenced by clear(), and fillBuffer().
|
private |
Definition at line 112 of file HcalTB04Analysis.cc.
Referenced by HcalTB04Analysis(), init(), and update().
|
private |
Definition at line 109 of file HcalTB04Analysis.cc.
Referenced by finalAnalysis(), HcalTB04Analysis(), and ~HcalTB04Analysis().
|
private |
Definition at line 115 of file HcalTB04Analysis.cc.
Referenced by finalAnalysis(), and HcalTB04Analysis().
|
private |
Definition at line 115 of file HcalTB04Analysis.cc.
Referenced by finalAnalysis(), and HcalTB04Analysis().
|
private |
Definition at line 124 of file HcalTB04Analysis.cc.
Referenced by init(), and xtalAnalysis().
|
private |
Definition at line 123 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), and init().
|
private |
Definition at line 124 of file HcalTB04Analysis.cc.
Referenced by finalAnalysis(), init(), and qieAnalysis().
|
private |
Definition at line 123 of file HcalTB04Analysis.cc.
Referenced by fillEvent(), and init().
|
private |
Definition at line 113 of file HcalTB04Analysis.cc.
Referenced by fillBuffer(), HcalTB04Analysis(), and init().
|
private |
Definition at line 108 of file HcalTB04Analysis.cc.
Referenced by HcalTB04Analysis(), qieAnalysis(), and ~HcalTB04Analysis().
|
private |
Definition at line 117 of file HcalTB04Analysis.cc.
Referenced by fillBuffer(), HcalTB04Analysis(), and update().
|
private |
Definition at line 122 of file HcalTB04Analysis.cc.
Referenced by clear(), finalAnalysis(), init(), and xtalAnalysis().
|
private |
Definition at line 127 of file HcalTB04Analysis.cc.
Referenced by clear(), fillBuffer(), and fillEvent().
|
private |
Definition at line 122 of file HcalTB04Analysis.cc.
Referenced by clear(), finalAnalysis(), init(), and qieAnalysis().
|
private |
Definition at line 127 of file HcalTB04Analysis.cc.
Referenced by clear(), fillBuffer(), and fillEvent().
|
private |
Definition at line 128 of file HcalTB04Analysis.cc.
Referenced by clear(), fillBuffer(), fillEvent(), and finalAnalysis().
|
private |
Definition at line 128 of file HcalTB04Analysis.cc.
Referenced by clear(), fillBuffer(), fillEvent(), and finalAnalysis().
|
private |
Definition at line 135 of file HcalTB04Analysis.cc.
|
private |
Definition at line 137 of file HcalTB04Analysis.cc.
Referenced by clear(), fillEvent(), and update().
|
private |
Definition at line 137 of file HcalTB04Analysis.cc.
Referenced by clear(), fillEvent(), and update().
|
private |
Definition at line 136 of file HcalTB04Analysis.cc.
Referenced by clear(), fillEvent(), and update().
|
private |
Definition at line 137 of file HcalTB04Analysis.cc.
Referenced by clear(), fillEvent(), and update().
|
private |
Definition at line 116 of file HcalTB04Analysis.cc.
Referenced by HcalTB04Analysis(), and scale().
|
private |
Definition at line 116 of file HcalTB04Analysis.cc.
Referenced by HcalTB04Analysis(), and scale().
|
private |
Definition at line 116 of file HcalTB04Analysis.cc.
Referenced by HcalTB04Analysis(), and scale().
|
private |
Definition at line 116 of file HcalTB04Analysis.cc.
Referenced by HcalTB04Analysis(), and scale().
|
private |
Definition at line 140 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 138 of file HcalTB04Analysis.cc.
Referenced by clear(), fillEvent(), and update().
|
private |
Definition at line 141 of file HcalTB04Analysis.cc.
|
private |
Definition at line 113 of file HcalTB04Analysis.cc.