]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Optional geometry without CPV
authorkharlov <kharlov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 20 Dec 2006 16:56:43 +0000 (16:56 +0000)
committerkharlov <kharlov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 20 Dec 2006 16:56:43 +0000 (16:56 +0000)
PHOS/AliPHOSGeometry.cxx
PHOS/AliPHOSv0.cxx

index 33a8d95f01bb690b4c8ec3873e29ffe110e92c78..995c086310b534252514a6c73b762402c4272428 100644 (file)
@@ -110,7 +110,7 @@ void AliPHOSGeometry::Init(void)
   //  IHEP is the Protvino CPV (cathode pad chambers)
   
   TString test(GetName()) ; 
-  if (test != "IHEP" ) {
+  if (test != "IHEP" && test != "noCPV") {
     AliFatal(Form("%s is not a known geometry (choose among IHEP)", 
                  test.Data() )) ; 
   }
index f92eb586d2134963efd94c94547981bbd48c14c9..9fe4743a75a75716b0b8bc171ef10bad09ca867a 100644 (file)
@@ -17,6 +17,9 @@
 /* History of cvs commits:
  *
  * $Log$
+ * Revision 1.83  2006/11/14 17:11:15  hristov
+ * Removing inheritances from TAttLine, TAttMarker and AliRndm in AliModule. The copy constructor and assignment operators are moved to the private part of the class and not implemented. The corresponding changes are propagated to the detectors
+ *
  * Revision 1.82  2006/09/27 19:55:57  kharlov
  * Alignment object with symbolic volume names are introduced
  *
@@ -332,7 +335,8 @@ void AliPHOSv0::CreateGeometry()
   
   this->CreateGeometryforEMC() ; 
 
-  this->CreateGeometryforCPV() ;
+  if (strstr(fTitle.Data(),"noCPV") == 0) 
+    this->CreateGeometryforCPV() ;
   
   this->CreateGeometryforSupport() ;