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*);
46 void update(
const EndOfJob*);
57 std::vector<MaterialAccountingTrack>*
m_tracks;
62 #endif // TrackingMaterialProducer_h void produce(edm::Event &, const edm::EventSetup &)
MaterialAccountingTrack m_track
TProfile * radLen_vs_eta_
TrackingMaterialProducer(const edm::ParameterSet &)
std::vector< MaterialAccountingTrack > * m_tracks
std::vector< const G4LogicalVolume * > m_selectedVolumes
std::vector< std::string > m_selectedNames
virtual ~TrackingMaterialProducer()
void update(const BeginOfJob *)
This routine will be called when the appropriate signal arrives.
bool isSelected(const G4VTouchable *touch)
bool isSelectedFast(const G4TouchableHistory *touch)