1 #ifndef TrackingMaterialProducer_h 2 #define TrackingMaterialProducer_h 9 #include "G4LogicalVolume.hh" 25 class G4VPhysicalVolume;
26 class G4LogicalVolume;
27 class G4TouchableHistory;
33 public Observer<const BeginOfEvent*>,
34 public Observer<const BeginOfTrack*>,
46 void update(
const G4Step*)
override;
48 void update(
const EndOfJob*)
override;
51 bool isSelected(
const G4VTouchable* touch );
52 bool isSelectedFast(
const G4TouchableHistory* touch );
59 std::vector<MaterialAccountingTrack>*
m_tracks;
64 #endif // TrackingMaterialProducer_h
MaterialAccountingTrack m_track
TProfile * radLen_vs_eta_
std::vector< MaterialAccountingTrack > * m_tracks
std::vector< const G4LogicalVolume * > m_selectedVolumes
std::vector< std::string > m_selectedNames