Public Member Functions | |
void | beginRun (edm::EventSetup const &) override |
CaloSteppingAction (const edm::ParameterSet &p) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
void | registerConsumes (edm::ConsumesCollector) override |
~CaloSteppingAction () 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 Types | |
typedef std::tuple< const G4LogicalVolume *, uint32_t, int, int, double, double, double, double, double, double, double > | PassiveData |
Private Member Functions | |
double | curve_LY (double crystalLength, double crystalDepth) const |
void | fillHit (uint32_t id, double dE, double time, int primID, uint16_t depth, double em, int flag) |
void | fillHits (edm::PCaloHitContainer &cc, int type) |
void | fillPassiveHits (edm::PassiveHitContainer &cc) |
double | getBirkHC (double dE, double step, double chg, double dens) const |
double | getBirkL3 (double dE, double step, double chg, double dens) const |
uint16_t | getDepth (bool flag, double crystalDepth, double radl) const |
uint32_t | getDetIDHC (int det, int lay, int depth, const math::XYZVectorD &pos) const |
void | NaNTrap (const G4Step *) const |
void | saveHits (int flag) |
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... | |
Private Attributes | |
int | allSteps_ |
double | birkC1EC_ |
double | birkC1HC_ |
double | birkC2HC_ |
double | birkC3HC_ |
double | birkCutEC_ |
double | birkSlopeEC_ |
int | count_ |
std::unique_ptr < EcalBarrelNumberingScheme > | ebNumberingScheme_ |
std::unique_ptr < EcalEndcapNumberingScheme > | eeNumberingScheme_ |
int | eventID_ |
std::unique_ptr < HcalNumberingFromPS > | hcNumberingPS_ |
std::unique_ptr < HcalNumberingScheme > | hcNumberingScheme_ |
std::map< std::pair< int, CaloHitID >, CaloGVHit > | hitMap_ [nSD_] |
std::map< const G4LogicalVolume *, std::string > | mapLV_ |
std::vector< std::string > | nameEBSD_ |
std::vector< std::string > | nameEESD_ |
std::vector< std::string > | nameHCSD_ |
std::vector< std::string > | nameHitC_ |
std::unique_ptr< CaloSlaveSD > | slave_ [nSD_] |
double | slopeLY_ |
std::vector< PassiveData > | store_ |
double | timeSliceUnit_ |
std::vector< const G4LogicalVolume * > | volEBSD_ |
std::vector< const G4LogicalVolume * > | volEESD_ |
std::vector< const G4LogicalVolume * > | volHCSD_ |
std::map< const G4LogicalVolume *, double > | xtalMap_ |
Static Private Attributes | |
static const int | nSD_ = 3 |
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 67 of file CaloSteppingAction.cc.
|
private |
Definition at line 120 of file CaloSteppingAction.cc.
CaloSteppingAction::CaloSteppingAction | ( | const edm::ParameterSet & | p | ) |
Definition at line 124 of file CaloSteppingAction.cc.
References allSteps_, birkC1EC_, birkC1HC_, birkC2HC_, birkC3HC_, birkCutEC_, birkSlopeEC_, ebNumberingScheme_, eeNumberingScheme_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), hcNumberingPS_, hcNumberingScheme_, isotrackApplyRegressor::k, nameEBSD_, nameEESD_, nameHCSD_, nameHitC_, nSD_, slave_, slopeLY_, and timeSliceUnit_.
|
override |
|
overridevirtual |
Reimplemented from SimWatcher.
Definition at line 229 of file CaloSteppingAction.cc.
References edm::EventSetup::getData().
|
private |
Definition at line 483 of file CaloSteppingAction.cc.
References slopeLY_, and histoStyle::weight.
Referenced by update().
|
private |
Definition at line 456 of file CaloSteppingAction.cc.
References CaloGVHit::addEnergyDeposit(), dataset::end, eventID_, hitMap_, CaloGVHit::setEventID(), CaloGVHit::setID(), and timeSliceUnit_.
Referenced by update().
|
private |
Definition at line 200 of file CaloSteppingAction.cc.
References slave_.
Referenced by produce().
|
private |
Definition at line 207 of file CaloSteppingAction.cc.
References mapLV_, and store_.
Referenced by produce().
|
private |
Definition at line 521 of file CaloSteppingAction.cc.
References funct::abs(), birkC1HC_, birkC2HC_, birkC3HC_, c, and histoStyle::weight.
Referenced by update().
|
private |
Definition at line 501 of file CaloSteppingAction.cc.
References birkC1EC_, birkCutEC_, birkSlopeEC_, log, and histoStyle::weight.
Referenced by update().
|
private |
Definition at line 473 of file CaloSteppingAction.cc.
References HLT_FULL_cff::depth, PCaloHit::kEcalDepthMask, PCaloHit::kEcalDepthOffset, and PCaloHit::kEcalDepthRefz.
Referenced by update().
|
private |
Definition at line 444 of file CaloSteppingAction.cc.
References relativeConstraints::error, hcNumberingPS_, hcNumberingScheme_, AlCaHLTBitMon_QueryRunRegistry::string, and createJobs::tmp.
Referenced by update().
|
private |
Definition at line 430 of file CaloSteppingAction.cc.
References Exception, and edm::isNotFinite().
Referenced by update().
|
overridevirtual |
Implements SimProducer.
Definition at line 186 of file CaloSteppingAction.cc.
References allSteps_, fillHits(), fillPassiveHits(), isotrackApplyRegressor::k, eostools::move(), nameHitC_, nSD_, edm::Event::put(), and saveHits().
|
overridevirtual |
Reimplemented from SimWatcher.
Definition at line 179 of file CaloSteppingAction.cc.
References edm::BeginRun, and edm::ConsumesCollector::esConsumes().
|
private |
Definition at line 538 of file CaloSteppingAction.cc.
References hitMap_, findQualityFiles::size, and slave_.
Referenced by produce().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfRun * >.
Definition at line 242 of file CaloSteppingAction.cc.
References allSteps_, PVValHelper::dz, isotrackApplyRegressor::k, mapLV_, mergeVDriftHistosByStation::name, nameEBSD_, nameEESD_, nameHCSD_, AlCaHLTBitMon_QueryRunRegistry::string, volEBSD_, volEESD_, volHCSD_, and xtalMap_.
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 316 of file CaloSteppingAction.cc.
References allSteps_, SplitLinear::begin, dataset::end, eventID_, hitMap_, isotrackApplyRegressor::k, nSD_, slave_, and store_.
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 328 of file CaloSteppingAction.cc.
References funct::abs(), EcalBaseNumber::addLevel(), allSteps_, filterCSVwithJSON::copy, curve_LY(), HLT_FULL_cff::depth, ebNumberingScheme_, eeNumberingScheme_, relval_parameters_module::energy, fillHit(), spr::find(), g, getBirkHC(), getBirkL3(), EcalBaseNumber::getCapacity(), getDepth(), getDetIDHC(), cuy::ii, G4TrackToParticleID::isGammaElectronPositron(), submitPVResolutionJobs::key, mapLV_, MeV, NaNTrap(), EcalBaseNumber::setSize(), findQualityFiles::size, store_, volEBSD_, volEESD_, volHCSD_, and xtalMap_.
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 424 of file CaloSteppingAction.cc.
References count_.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 114 of file CaloSteppingAction.cc.
Referenced by CaloSteppingAction(), produce(), and update().
|
private |
Definition at line 115 of file CaloSteppingAction.cc.
Referenced by CaloSteppingAction(), and getBirkL3().
|
private |
Definition at line 116 of file CaloSteppingAction.cc.
Referenced by CaloSteppingAction(), and getBirkHC().
|
private |
Definition at line 116 of file CaloSteppingAction.cc.
Referenced by CaloSteppingAction(), and getBirkHC().
|
private |
Definition at line 117 of file CaloSteppingAction.cc.
Referenced by CaloSteppingAction(), and getBirkHC().
|
private |
Definition at line 116 of file CaloSteppingAction.cc.
Referenced by CaloSteppingAction(), and getBirkL3().
|
private |
Definition at line 115 of file CaloSteppingAction.cc.
Referenced by CaloSteppingAction(), and getBirkL3().
|
private |
Definition at line 114 of file CaloSteppingAction.cc.
Referenced by update(), and ~CaloSteppingAction().
|
private |
Definition at line 99 of file CaloSteppingAction.cc.
Referenced by CaloSteppingAction(), and update().
|
private |
Definition at line 100 of file CaloSteppingAction.cc.
Referenced by CaloSteppingAction(), and update().
|
private |
Definition at line 114 of file CaloSteppingAction.cc.
|
private |
Definition at line 101 of file CaloSteppingAction.cc.
Referenced by CaloSteppingAction(), and getDetIDHC().
|
private |
Definition at line 106 of file CaloSteppingAction.cc.
Referenced by CaloSteppingAction(), and getDetIDHC().
Definition at line 118 of file CaloSteppingAction.cc.
Referenced by fillHit(), saveHits(), and update().
|
private |
Definition at line 113 of file CaloSteppingAction.cc.
Referenced by fillPassiveHits(), and update().
|
private |
Definition at line 109 of file CaloSteppingAction.cc.
Referenced by CaloSteppingAction(), and update().
|
private |
Definition at line 109 of file CaloSteppingAction.cc.
Referenced by CaloSteppingAction(), and update().
|
private |
Definition at line 109 of file CaloSteppingAction.cc.
Referenced by CaloSteppingAction(), and update().
|
private |
Definition at line 110 of file CaloSteppingAction.cc.
Referenced by CaloSteppingAction(), and produce().
|
staticprivate |
Definition at line 98 of file CaloSteppingAction.cc.
Referenced by CaloSteppingAction(), produce(), and update().
|
private |
Definition at line 107 of file CaloSteppingAction.cc.
Referenced by CaloSteppingAction(), fillHits(), saveHits(), and update().
|
private |
Definition at line 115 of file CaloSteppingAction.cc.
Referenced by CaloSteppingAction(), and curve_LY().
|
private |
Definition at line 121 of file CaloSteppingAction.cc.
Referenced by fillPassiveHits(), and update().
|
private |
Definition at line 117 of file CaloSteppingAction.cc.
Referenced by CaloSteppingAction(), and fillHit().
|
private |
Definition at line 111 of file CaloSteppingAction.cc.
Referenced by update().
|
private |
Definition at line 111 of file CaloSteppingAction.cc.
Referenced by update().
|
private |
Definition at line 111 of file CaloSteppingAction.cc.
Referenced by update().
|
private |
Definition at line 112 of file CaloSteppingAction.cc.
Referenced by update().