1 #ifndef TrackingMaterialProducer_h 2 #define TrackingMaterialProducer_h 9 #include "G4LogicalVolume.hh" 25 class G4VPhysicalVolume;
26 class G4LogicalVolume;
31 public Observer<const BeginOfEvent*>,
32 public Observer<const BeginOfTrack*>,
44 void update(
const G4Step*)
override;
46 void update(
const EndOfJob*)
override;
57 std::vector<MaterialAccountingTrack>*
m_tracks;
62 #endif // TrackingMaterialProducer_h
MaterialAccountingTrack m_track
TProfile * radLen_vs_eta_
TrackingMaterialProducer(const edm::ParameterSet &)
std::vector< MaterialAccountingTrack > * m_tracks
std::vector< const G4LogicalVolume * > m_selectedVolumes
~TrackingMaterialProducer() override
std::vector< std::string > m_selectedNames
void produce(edm::Event &, const edm::EventSetup &) override
void update(const BeginOfJob *) override
This routine will be called when the appropriate signal arrives.
bool isSelected(const G4VTouchable *touch)
bool isSelectedFast(const G4TouchableHistory *touch)