#include <TrackingMaterialProducer.h>
Public Member Functions | |
TrackingMaterialProducer (const edm::ParameterSet &) | |
~TrackingMaterialProducer () 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 | |
const SimWatcher & | operator= (const SimWatcher &)=delete |
SimWatcher () | |
SimWatcher (const SimWatcher &)=delete | |
virtual | ~SimWatcher () |
Public Member Functions inherited from Observer< const BeginOfJob * > | |
Observer () | |
void | slotForUpdate (const BeginOfJob * iT) |
virtual | ~Observer () |
Public Member Functions inherited from Observer< const EndOfJob * > | |
Observer () | |
void | slotForUpdate (const EndOfJob * 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 BeginOfTrack * > | |
Observer () | |
void | slotForUpdate (const BeginOfTrack * iT) |
virtual | ~Observer () |
Public Member Functions inherited from Observer< const G4Step * > | |
Observer () | |
void | slotForUpdate (const G4Step * iT) |
virtual | ~Observer () |
Public Member Functions inherited from Observer< const EndOfTrack * > | |
Observer () | |
void | slotForUpdate (const EndOfTrack * iT) |
virtual | ~Observer () |
Private Member Functions | |
bool | isSelected (const G4VTouchable *touch) |
bool | isSelectedFast (const G4TouchableHistory *touch) |
void | produce (edm::Event &, const edm::EventSetup &) override |
void | update (const BeginOfEvent *) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const BeginOfJob *) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const BeginOfTrack *) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const EndOfJob *) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const EndOfTrack *) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const G4Step *) override |
This routine will be called when the appropriate signal arrives. More... | |
Private Attributes | |
bool | isHFNose |
bool | isHGCal |
double | m_hgcalzfront |
bool | m_primaryTracks |
std::vector< std::string > | m_selectedNames |
std::vector< const G4LogicalVolume * > | m_selectedVolumes |
MaterialAccountingTrack | m_track |
const G4VPhysicalVolume * | m_track_volume |
std::vector< MaterialAccountingTrack > * | m_tracks |
std::string | m_txtOutFile |
TFile * | output_file_ |
std::ofstream | outVolumeZpositionTxt |
TProfile * | radLen_vs_eta_ |
Static Private Attributes | |
static constexpr float | innerHFnoseEta = 4. |
static constexpr float | innerHGCalEta = 2.4 |
static constexpr float | outerHFnoseEta = 3.3 |
static constexpr float | outerHGCalEta = 2.0 |
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 33 of file TrackingMaterialProducer.h.
TrackingMaterialProducer::TrackingMaterialProducer | ( | const edm::ParameterSet & | iPSet | ) |
Definition at line 80 of file TrackingMaterialProducer.cc.
References spr::find(), edm::ParameterSet::getParameter(), trackingMaterialAnalyser_ForHFNosePhaseII_cfi::isHFNose, trackingMaterialAnalyser_cfi::isHGCal, or, MillePedeFileConverter_cfg::out, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 110 of file TrackingMaterialProducer.cc.
|
private |
|
private |
Definition at line 186 of file TrackingMaterialProducer.cc.
References ztail::d, and spr::find().
|
overrideprivatevirtual |
Implements SimProducer.
Definition at line 348 of file TrackingMaterialProducer.cc.
References iEvent, eostools::move(), and tracks.
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent * >.
Definition at line 137 of file TrackingMaterialProducer.cc.
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 BeginOfJob * >.
Definition at line 118 of file TrackingMaterialProducer.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, and GetVolume().
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 BeginOfTrack * >.
Definition at line 142 of file TrackingMaterialProducer.cc.
References trackingMaterialAnalyser_ForHFNosePhaseII_cfi::isHFNose, trackingMaterialAnalyser_cfi::isHGCal, and HLT_FULL_cff::track.
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 EndOfJob * >.
Definition at line 113 of file TrackingMaterialProducer.cc.
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 EndOfTrack * >.
Definition at line 327 of file TrackingMaterialProducer.cc.
References HLT_FULL_cff::track.
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 196 of file TrackingMaterialProducer.cc.
References fastSimProducer_cff::energyLoss, GetSensitiveVolume(), GetTransform(), trackingMaterialAnalyser_ForHFNosePhaseII_cfi::isHFNose, trackingMaterialAnalyser_cfi::isHGCal, personalPlayback::level, or, position, mathSSE::sqrt(), HcalDetIdTransform::transform(), MonitorAlCaEcalPi0_cfi::X0, and PV3DBase< T, PVType, FrameType >::z().
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
staticconstexprprivate |
Definition at line 71 of file TrackingMaterialProducer.h.
|
staticconstexprprivate |
Definition at line 69 of file TrackingMaterialProducer.h.
|
private |
Definition at line 68 of file TrackingMaterialProducer.h.
|
private |
Definition at line 67 of file TrackingMaterialProducer.h.
|
private |
Definition at line 61 of file TrackingMaterialProducer.h.
|
private |
Definition at line 57 of file TrackingMaterialProducer.h.
|
private |
Definition at line 58 of file TrackingMaterialProducer.h.
|
private |
Definition at line 59 of file TrackingMaterialProducer.h.
|
private |
Definition at line 62 of file TrackingMaterialProducer.h.
|
private |
Definition at line 63 of file TrackingMaterialProducer.h.
|
private |
Definition at line 64 of file TrackingMaterialProducer.h.
|
private |
Definition at line 60 of file TrackingMaterialProducer.h.
|
staticconstexprprivate |
Definition at line 72 of file TrackingMaterialProducer.h.
|
staticconstexprprivate |
Definition at line 70 of file TrackingMaterialProducer.h.
|
private |
Definition at line 65 of file TrackingMaterialProducer.h.
|
private |
Definition at line 73 of file TrackingMaterialProducer.h.
|
private |
Definition at line 66 of file TrackingMaterialProducer.h.