Changeset 1230 for trunk/examples/advanced/composite_calorimeter/src
- Timestamp:
- Jan 8, 2010, 3:02:48 PM (14 years ago)
- Location:
- trunk/examples/advanced/composite_calorimeter/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/advanced/composite_calorimeter/src/CCalEndOfEventAction.cc
r807 r1230 214 214 } 215 215 216 delete[] edep; 217 218 #ifdef G4ANALYSIS_USE 216 219 G4ThreeVector pos = primaryGenerator->GetParticlePosition(); 217 220 float ener = primaryGenerator->GetParticleEnergy()/GeV; … … 219 222 float y = pos.y()/mm; 220 223 float z = pos.z()/mm; 221 delete[] edep; 222 223 #ifdef G4ANALYSIS_USE 224 224 225 CCalAnalysis* analysis = CCalAnalysis::getInstance(); 225 226 analysis->InsertEnergy(fullE); -
trunk/examples/advanced/composite_calorimeter/src/CCalRunAction.cc
r807 r1230 62 62 void CCalRunAction::EndOfRunAction(const G4Run* aRun) { 63 63 64 G4cout << " Executing CCalRunAction" << G4endl;64 G4cout << "### Run " << aRun->GetRunID() << " end." << G4endl; 65 65 66 66 // A.R. Added for visualization of events.
Note: See TracChangeset
for help on using the changeset viewer.