updated to renaming in physics(global) category
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 13 Feb 2001 14:44:51 +0000 (14:44 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 13 Feb 2001 14:44:51 +0000 (14:44 +0000)
TGeant4/TG4SpecialCuts.cxx
TGeant4/TG4SpecialCuts.h

index 9b5eeb4900f0c23899a5de2bf65d332867ef385c..ca26588683ea3df1ce5692d6aafe453234db0679 100644 (file)
@@ -4,14 +4,15 @@
 // See the class description in the header file.
 
 #include "TG4SpecialCuts.h"
-#include "TG4CutVector.h"
+#include "TG4G3CutVector.h"
 #include "TG4Limits.h"
 
 #include <G4UserLimits.hh>
 
 #include <G4EnergyLossTables.hh>
 
-TG4SpecialCuts::TG4SpecialCuts(TG3ParticleWSP particle, TG4CutVector* cutVector,
+TG4SpecialCuts::TG4SpecialCuts(TG4G3ParticleWSP particle, 
+                               TG4G3CutVector* cutVector,
                                const G4String& processName)
   : G4UserSpecialCuts(processName),
     fCutVector(cutVector)
@@ -19,27 +20,27 @@ TG4SpecialCuts::TG4SpecialCuts(TG3ParticleWSP particle, TG4CutVector* cutVector,
 //
   switch (particle) {
     case kGamma:
-      fPtrMinEkineInCutVector = &TG4CutVector::GetMinEkineForGamma;
+      fPtrMinEkineInCutVector = &TG4G3CutVector::GetMinEkineForGamma;
       fPtrMinEkineInLimits = &TG4Limits::GetMinEkineForGamma;
       break;
     case kElectron: case kEplus:  
-      fPtrMinEkineInCutVector = &TG4CutVector::GetMinEkineForElectron;
+      fPtrMinEkineInCutVector = &TG4G3CutVector::GetMinEkineForElectron;
       fPtrMinEkineInLimits = &TG4Limits::GetMinEkineForElectron;
       break;
     case kChargedHadron:  
-      fPtrMinEkineInCutVector = &TG4CutVector::GetMinEkineForHadron;
+      fPtrMinEkineInCutVector = &TG4G3CutVector::GetMinEkineForHadron;
       fPtrMinEkineInLimits = &TG4Limits::GetMinEkineForHadron;
       break;
     case kNeutralHadron:  
-      fPtrMinEkineInCutVector = &TG4CutVector::GetMinEkineForNeutralHadron;
+      fPtrMinEkineInCutVector = &TG4G3CutVector::GetMinEkineForNeutralHadron;
       fPtrMinEkineInLimits = &TG4Limits::GetMinEkineForNeutralHadron;
       break;
     case kMuon:  
-      fPtrMinEkineInCutVector = &TG4CutVector::GetMinEkineForMuon;
+      fPtrMinEkineInCutVector = &TG4G3CutVector::GetMinEkineForMuon;
       fPtrMinEkineInLimits = &TG4Limits::GetMinEkineForMuon;
       break;
     case kAny:
-      fPtrMinEkineInCutVector = &TG4CutVector::GetMinEkineForOther;
+      fPtrMinEkineInCutVector = &TG4G3CutVector::GetMinEkineForOther;
       fPtrMinEkineInLimits = &TG4Limits::GetMinEkineForOther;
       break;
     case kNofParticlesWSP:
index ec0ed35f4bb727cacb9fb07f98cc3635815cf660..83a58f35cecb33d8b86f0c52790f566a73d36719 100644 (file)
@@ -7,19 +7,20 @@
 #define TG4_SPECIAL_CUTS_H
 
 #include <G4UserSpecialCuts.hh>
-#include "TG3ParticleWSP.h"
+#include "TG4G3ParticleWSP.h"
 
-class TG4CutVector;
+class TG4G3CutVector;
 class TG4Limits;
 
-typedef G4double(TG4CutVector::*PtrMinEkineInCutVector)(const G4Track&) const;
+typedef G4double(TG4G3CutVector::*PtrMinEkineInCutVector)(const G4Track&)
+const;
 typedef G4double(TG4Limits::*PtrMinEkineInLimits)(const G4Track&) const;
 
 class TG4SpecialCuts: public G4UserSpecialCuts
 // to do: change to inheritance from G4VProcess
 {
   public:
-    TG4SpecialCuts(TG3ParticleWSP particle, TG4CutVector* cutVector, 
+    TG4SpecialCuts(TG4G3ParticleWSP particle, TG4G3CutVector* cutVector, 
                    const G4String& processName ="specialCut");
     // --> protected
     // TG4SpecialCuts();                  
@@ -42,7 +43,7 @@ class TG4SpecialCuts: public G4UserSpecialCuts
     
   private:
     // data members
-    TG4CutVector*           fCutVector;              //TG4CutVector 
+    TG4G3CutVector*         fCutVector;              //TG4G3CutVector 
     PtrMinEkineInCutVector  fPtrMinEkineInCutVector; //pointer to 
                                 //TG4CutVector::GetMinEKineForXX() method for 
                                //the particle XX that this process is applied to