]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
removed fIsStandalone attribute
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 25 Oct 2001 12:19:03 +0000 (12:19 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 25 Oct 2001 12:19:03 +0000 (12:19 +0000)
AliGeant4/AliDetSwitch.cxx
AliGeant4/AliDetSwitch.h

index ff04dc0f78327cfeb2d00a91be3e2abcf2c0a22f..58e0d638863db77f18b33922283ac37e7eeff6f7 100644 (file)
 
 //_____________________________________________________________________________
 AliDetSwitch::AliDetSwitch(G4String detName, G4int nofVersions, 
-                 G4int defaultVersion, AliModuleType modType, 
-                G4bool isStandalone)
+                           G4int defaultVersion, AliModuleType modType)
   : fDetName(detName),
     fNofVersions(nofVersions),
     fDefaultVersion(defaultVersion),
-    fIsStandalone(isStandalone),
     fType(modType),
     fSwitchedVersion(-1)
 {
@@ -49,7 +47,6 @@ AliDetSwitch& AliDetSwitch::operator=(const AliDetSwitch& right)
   fDefaultVersion = right.fDefaultVersion;
   fSwitchedVersion = right.fSwitchedVersion;
   fType = right.fType;
-  fIsStandalone = right.fIsStandalone;
   
   return *this;
 }
index 1b6b188c04ef573ebd3f9f0541b11359bfc600ff..89d4394aef74aafba61f585e52f36d6abca4fa0c 100644 (file)
 class AliDetSwitch
 {
   public:
-    AliDetSwitch(G4String detName, G4int nofVersions, G4int defaultVersion,
-                 AliModuleType modType = kDetector, G4bool isStandalone = true);
+    AliDetSwitch(G4String detName, 
+                 G4int nofVersions, 
+                G4int defaultVersion,
+                 AliModuleType modType = kDetector);
     AliDetSwitch(const AliDetSwitch& right);
     virtual ~AliDetSwitch();
 
@@ -35,18 +37,16 @@ class AliDetSwitch
 
     // get methods
     G4String GetDetName() const;
-    G4int GetNofVersions() const;
-    G4int GetDefaultVersion() const;
-    G4bool IsStandalone() const;
+    G4int    GetNofVersions() const;
+    G4int    GetDefaultVersion() const;
     AliModuleType GetType() const;
-    G4int GetSwitchedVersion() const;
+    G4int    GetSwitchedVersion() const;
 
   private:
     // data members
     G4String       fDetName;         //module name
     G4int          fNofVersions;     //number of versions
     G4int          fDefaultVersion;  //default version
-    G4bool         fIsStandalone;    //true if module can be built standalone
     AliModuleType  fType;            //type of module (detector or structure)
     G4int          fSwitchedVersion; //current selected version
 };
@@ -68,7 +68,4 @@ inline G4int AliDetSwitch::GetSwitchedVersion() const
 inline AliModuleType AliDetSwitch::GetType() const
 { return fType; }
 
-inline G4bool AliDetSwitch::IsStandalone() const
-{ return fIsStandalone; }
-
 #endif //ALI_DET_SWITCH_H