35 #include "EventAction.hh"    38 #include "HistoManager.hh"    49  fEdep1(0.), fEdep2(0.), fWeight1(0.), fWeight2(0.),
    76   if (std::fabs(time - 
fTime0) > TimeWindow) 
return;
   102    analysisManager->FillH1(1, fEdep2, 
fWeight2);
   107  analysisManager->FillH1(2, Etot, Wtot);
   114  G4bool coincidence       = ((
fEdep1 >= Threshold1) && (fEdep2 >= Threshold2));
   115  G4bool anti_coincidence1 = ((
fEdep1 >= Threshold1) && (fEdep2 <  Threshold2));
   116  G4bool anti_coincidence2 = ((fEdep1 <  Threshold1) && (fEdep2 >= Threshold2)); 
   118  if (coincidence)       analysisManager->FillH1(3, fEdep2, 
fWeight2);
   119  if (anti_coincidence1) analysisManager->FillH1(4, 
fEdep1, 
fWeight1);
   120  if (anti_coincidence2) analysisManager->FillH1(5, fEdep2, 
fWeight2); 
   124  Run* run = 
static_cast<Run*
>(
 
G4Run * GetNonConstCurrentRun() const
 
void AddEdep(G4double Edep)
 
void BeginOfEventAction(const G4Event *)
 
void EndOfEventAction(const G4Event *)
 
void AddEdep(G4double val)
 
static const double microsecond
 
ExG4HbookAnalysisManager G4AnalysisManager
 
static G4RunManager * GetRunManager()