]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
ITSV replaced with an assembly. (M. Sitta)
authormasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 19 Mar 2008 16:50:50 +0000 (16:50 +0000)
committermasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 19 Mar 2008 16:50:50 +0000 (16:50 +0000)
ITS/AliITSv11Hybrid.cxx

index a8029572778613939f3dc53480bfd0b2033f2ca9..a78d27689ffe342c6a8117ff2d57ebdab875fc77 100644 (file)
@@ -14,7 +14,7 @@
  **************************************************************************/
 
 
-/* $Id$ */
+/* $Id:$ */
 
 
 //========================================================================
@@ -1690,8 +1690,8 @@ void AliITSv11Hybrid::CreateOldGeometry(){
     dgh[48] = ztpc+4.+0.1;
     dgh[49] = 62.0;//62.4;
     dgh[50] = 85.;
-    gMC->Gsvolu("ITSV", "PCON", idtmed[205], dgh, 51);
-
+    //   gMC->Gsvolu("ITSV", "PCON", idtmed[205], dgh, 51);
+    new TGeoVolumeAssembly("ITSV");
     // --- Place the ghost volume in its mother volume (ALIC) and make it 
     //     invisible
     //    gMC->Gspos("ITSV", 1, "ALIC", 0., 0., 0., 0, "ONLY");
@@ -5778,7 +5778,7 @@ void AliITSv11Hybrid::SetDefaults(){
        (AliITSCalibrationSDD*)fDetTypeSim->GetCalibrationModel(
            GetITSgeom()->GetStartSDD());
     const char *kopt=rsp->GetZeroSuppOption();
-    if((!strstr(kopt,"2D")) && (!strstr(kopt,"1D")) || strstr(kData1,"real") ){
+    if((!strstr(kopt,"ZS")) || strstr(kData1,"real") ){
        fDetTypeSim->SetDigitClassName(kSDD,"AliITSdigit");
     } else fDetTypeSim->SetDigitClassName(kSDD,"AliITSdigitSDD");
     // SSD  Layer 5