MollerEventAction.cc

Go to the documentation of this file.
00001 
00002 
00003 #include "MollerEventAction.hh"
00004 
00005 #include "MollerDetectorHit.hh"
00006 
00007 //#ifdef G4UI_USE_ROOT
00008 #include "RootAnalysis.hh"
00009 //#endif
00010 
00011 #include "G4Event.hh"
00012 #include "G4EventManager.hh"
00013 #include "G4HCofThisEvent.hh"
00014 #include "G4VHitsCollection.hh"
00015 #include "G4TrajectoryContainer.hh"
00016 #include "G4Trajectory.hh"
00017 #include "G4VVisManager.hh"
00018 #include "G4SDManager.hh"
00019 #include "G4UImanager.hh"
00020 #include "G4ios.hh"
00021 
00022 
00023  
00024 MollerEventAction::MollerEventAction() 
00025 {;}
00026 
00027  
00028 MollerEventAction::~MollerEventAction() 
00029 {;}
00030 
00031  
00032 void MollerEventAction::BeginOfEventAction(const G4Event* anEvent)
00033 {
00034     if( (anEvent->GetEventID() % 1000) == 0 ){
00035   printf("Event %8d\r", anEvent->GetEventID() );
00036   fflush(stdout);
00037     }
00038   gRootAnalysis->BeginOfEventAction(anEvent);
00039 }
00040 
00041 
00042 void MollerEventAction::EndOfEventAction(const G4Event* anEvent)
00043 {
00044   gRootAnalysis->EndOfEventAction(anEvent);
00045 }
00046 

Generated on 16 Jun 2013 for mollersim by  doxygen 1.6.1