1 #ifndef TrackingMaterialProducer_h 2 #define TrackingMaterialProducer_h 10 #include "G4LogicalVolume.hh" 26 class G4VPhysicalVolume;
27 class G4LogicalVolume;
28 class G4TouchableHistory;
36 public Observer<const BeginOfEvent*>,
37 public Observer<const BeginOfTrack*>,
48 void update(
const G4Step*)
override;
50 void update(
const EndOfJob*)
override;
53 bool isSelected(
const G4VTouchable* touch);
54 bool isSelectedFast(
const G4TouchableHistory* touch);
63 std::vector<MaterialAccountingTrack>*
m_tracks;
75 #endif // TrackingMaterialProducer_h
MaterialAccountingTrack m_track
TProfile * radLen_vs_eta_
std::vector< MaterialAccountingTrack > * m_tracks
std::ofstream outVolumeZpositionTxt
std::vector< std::string > m_selectedNames
std::vector< const G4LogicalVolume * > m_selectedVolumes