From 5902624ea26fc130324852715c05b96527a953bc Mon Sep 17 00:00:00 2001 From: ivana Date: Tue, 24 Oct 2000 07:10:43 +0000 Subject: [PATCH] removed old commented lines only --- AliGeant4/AliDetConstruction.cxx | 45 -------------------------------- 1 file changed, 45 deletions(-) diff --git a/AliGeant4/AliDetConstruction.cxx b/AliGeant4/AliDetConstruction.cxx index d096573e7c7..31e35ff6048 100644 --- a/AliGeant4/AliDetConstruction.cxx +++ b/AliGeant4/AliDetConstruction.cxx @@ -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 -- 2.43.0