updated to renaming of TG3Units
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 13 Feb 2001 15:33:29 +0000 (15:33 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 13 Feb 2001 15:33:29 +0000 (15:33 +0000)
AliGeant4/AliSensitiveDetector.cxx

index ce0f18f98922737baf341cd33e64ea86ce745668..30a167cc46fe85a1221a78f97f73df52aa18d9ab 100644 (file)
@@ -8,7 +8,7 @@
 #include "AliRun.h"
 #include "AliMCQA.h"
 
-#include "TG3Units.h"
+#include "TG4G3Units.h"
 
 AliSensitiveDetector::AliSensitiveDetector(G4String sdName, AliModule* module)
   : TG4VSensitiveDetector(sdName),
@@ -83,7 +83,7 @@ void AliSensitiveDetector::UserProcessHits(const G4Track* track,
   // directly to AliRun
   if (step) 
     gAlice->AddEnergyDeposit(
-      fID, step->GetTotalEnergyDeposit()/TG3Units::Energy());
+      fID, step->GetTotalEnergyDeposit()/TG4G3Units::Energy());
       
   fMCQA->StepManager(fModuleID);