]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
removed old commented lines only
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 24 Oct 2000 07:10:43 +0000 (07:10 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 24 Oct 2000 07:10:43 +0000 (07:10 +0000)
AliGeant4/AliDetConstruction.cxx

index d096573e7c731f1304f18abfd8b255b9db3b58b8..31e35ff6048cf97058194d963ca26791059335dd 100644 (file)
@@ -215,51 +215,6 @@ void AliDetConstruction::CheckDetDependencies()
       AliGlobals::Warning(text);
     }  
   }
-/*  
-  if (verTRD > -1 && verTOF > -1) {
-    // both TRD and TOF 
-    if (verTOF == 2 || verTOF == 3 || verTOF == 5 || verTOF == 6) {
-      G4String text = "AliDetConstruction::CheckDetDependencies: \n";
-      text = text + "    Switched TOF and TRD require different FRAME versions."; 
-      AliGlobals::Exception(text);
-    }  
-    if (verFRAME != 0) {
-      detSwitchFRAME->SwitchOn(0);
-      G4String text = "AliDetConstruction::CheckDetDependencies: \n";
-      text = text + "    Switched TOF and TRD require FRAME v0.\n"; 
-      text = text + "    The det switch for FRAME has been changed."; 
-      AliGlobals::Warning(text);
-    }  
-  }
-  else if (verTRD > -1 && verTOF == -1)   {
-    // only TRD
-    if (verFRAME != 0) {
-      detSwitchFRAME->SwitchOn(0);
-      G4String text = "AliDetConstruction::CheckDetDependencies: \n";
-      text = text + "    Switched TRD requires FRAME v0.\n"; 
-      text = text + "    The det switch for FRAME has been changed."; 
-      AliGlobals::Warning(text);
-    }          
-  }  
-  else if (verTRD == -1 && verTOF > -1)   {
-    // only TOF
-    if ((verTOF == 0 || verTOF == 1 || verTOF == 4) && (verFRAME !=0)) {
-      detSwitchFRAME->SwitchOn(0);
-      G4String text = "AliDetConstruction::CheckDetDependencies: \n";
-      text = text + "    Switched TOF requires FRAME v0.\n"; 
-      text = text + "    The det switch for FRAME has been changed."; 
-      AliGlobals::Warning(text);
-    }
-    if ((verTOF == 2 || verTOF == 3 || verTOF == 5 || verTOF == 6) &&
-        (verFRAME != 1)) {
-      detSwitchFRAME->SwitchOn(1);
-      G4String text = "AliDetConstruction::CheckDetDependencies: \n";
-      text = text + "    Switched TOF requires FRAME v1.\n"; 
-      text = text + "    The det switch for FRAME has been changed."; 
-      AliGlobals::Warning(text);
-    }
-  }
-*/    
 }  
 
 // public methods