Ignore:
Timestamp:
Jan 8, 2010, 3:02:48 PM (14 years ago)
Author:
garnier
Message:

update to geant4.9.3

Location:
trunk/examples/advanced/composite_calorimeter/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/advanced/composite_calorimeter/src/CCalEndOfEventAction.cc

    r807 r1230  
    214214  }
    215215
     216  delete[] edep;
     217
     218#ifdef G4ANALYSIS_USE
    216219  G4ThreeVector pos = primaryGenerator->GetParticlePosition();
    217220  float ener = primaryGenerator->GetParticleEnergy()/GeV;
     
    219222  float y    = pos.y()/mm;
    220223  float z    = pos.z()/mm;
    221   delete[] edep;
    222 
    223 #ifdef G4ANALYSIS_USE
     224
    224225  CCalAnalysis* analysis = CCalAnalysis::getInstance();
    225226  analysis->InsertEnergy(fullE);
  • trunk/examples/advanced/composite_calorimeter/src/CCalRunAction.cc

    r807 r1230  
    6262void CCalRunAction::EndOfRunAction(const G4Run* aRun) {
    6363
    64   G4cout << "Executing CCalRunAction" << G4endl;
     64  G4cout << "### Run " << aRun->GetRunID() << " end." << G4endl;
    6565
    6666  // A.R. Added for visualization of events.
Note: See TracChangeset for help on using the changeset viewer.