fDetSwitchVector moved to protected; GetDetSwitch() added; GetDetSwitchVector() removed
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 2 May 2001 10:38:42 +0000 (10:38 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 2 May 2001 10:38:42 +0000 (10:38 +0000)
AliGeant4/AliModulesComposition.h

index 9cde8d9..e07a75b 100644 (file)
@@ -56,13 +56,11 @@ class AliModulesComposition : public G4VUserDetectorConstruction
     void SetProcessConfigToModules(G4bool processConfig);
     
     // get methods
-    const G4RWTPtrOrderedVector<AliDetSwitch>& GetDetSwitchVector() const;
     G4String GetSwitchedDetsList() const;
     G4String GetAvailableDetsList() const;
     G4String GetAvailableDetsListWithCommas() const;
     G4String GetDetNamesList() const;
     G4String GetDetNamesListWithCommas() const;
-    //G4ThreeVector GetMagField() const;
     
   protected:
     AliModulesComposition(const AliModulesComposition& right);
@@ -78,6 +76,12 @@ class AliModulesComposition : public G4VUserDetectorConstruction
                                      AliModuleType moduleType = kDetector);
     void ConstructModules();
 
+    // get methods
+    AliDetSwitch* GetDetSwitch(const G4String& detName);
+
+    // data members
+    AliDetSwitchRWVector  fDetSwitchVector; //vector of AliDetSwitch
+    
   private:    
     // methods
     void SetReadGeometryToModules(G4bool readGeometry);
@@ -85,8 +89,6 @@ class AliModulesComposition : public G4VUserDetectorConstruction
     void SetAllLVSensitiveToModules(G4bool allSensitive);
 
     // data members
-    AliDetSwitchRWVector                fDetSwitchVector;          //..         
-                                          //vector of AliDetSwitch
     AliSingleModuleConstructionRWVector fModuleConstructionVector; //..
                                          //vector of 
                                          //AliSingleModuleConstruction