1 #ifndef TrackingMaterialProducer_h 2 #define TrackingMaterialProducer_h 9 #include "G4LogicalVolume.hh" 25 class G4VPhysicalVolume;
26 class G4LogicalVolume;
27 class G4TouchableHistory;
35 public Observer<const BeginOfEvent*>,
36 public Observer<const BeginOfTrack*>,
47 void update(
const G4Step*)
override;
49 void update(
const EndOfJob*)
override;
52 bool isSelected(
const G4VTouchable* touch);
53 bool isSelectedFast(
const G4TouchableHistory* touch);
60 std::vector<MaterialAccountingTrack>*
m_tracks;
65 #endif // TrackingMaterialProducer_h
MaterialAccountingTrack m_track
TProfile * radLen_vs_eta_
std::vector< MaterialAccountingTrack > * m_tracks
std::vector< std::string > m_selectedNames
std::vector< const G4LogicalVolume * > m_selectedVolumes