Changeset 57 for MEMPHYS/HEAD
- Timestamp:
- Dec 8, 2005, 11:35:25 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MEMPHYS/HEAD/applications/MEMPHYS_session.cxx
r54 r57 20 20 #include <G4Lab/TrackingAction.h> 21 21 #include <G4Lab/Helpers.h> 22 #include <G4Lab/DigitsCollectionType.h> 22 23 23 24 //MEMPHYS: … … 31 32 #include "MEMPHYS/MEMPHYSStackingAction.hh" 32 33 #include "MEMPHYS/MEMPHYSTrackingAction.hh" 33 34 34 #include "MEMPHYS/MEMPHYSWCDigi.hh" 35 35 36 36 // Create a manager to access the MEMPHYSAnalysis from the callbacks : … … 88 88 session->addManager(analysisManager); 89 89 } 90 if(session->session()) { 91 //GB 07/12/2005 : declare DigitsCollections types. 92 //FIXME : Why can't we be generic as for hits collection ? 93 //FIXME : From G4VDigiCollection, we can't loop on G4VDigi ! 94 session->addType 95 (new G4Lab::DigitsCollectionType<MEMPHYSWCDigi> 96 (*(session->session()),"WCDigitizedCollection")); 97 } 90 98 91 99 G4UImanager* UI = G4UImanager::GetUIpointer(); … … 133 141 } 134 142 143 135 144 // Main UI loop : 136 145 session->SessionStart();
Note: See TracChangeset
for help on using the changeset viewer.