geometry without overlaps
authoralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 8 Apr 2008 17:40:41 +0000 (17:40 +0000)
committeralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 8 Apr 2008 17:40:41 +0000 (17:40 +0000)
T0/AliT0v1.cxx

index 6d286e6..7ecf1f8 100644 (file)
@@ -138,12 +138,12 @@ void AliT0v1::CreateGeometry()
   Float_t pglass[3]={1.2,1.3,2.};
   Float_t pcer[3]={0.9,1.1,1.35};
   Float_t psteel[3]={0.9,1.1,0.15};
-  Float_t psupport1[3] = {4.51,4.52,3.9};//C kozhuh vnutri
+  Float_t psupport1[3] = {4.51,4.52,4.0};//C kozhuh vnutri
   Float_t psupport2[3] = {9.4,9.5,4.0};// snaruzhi  C
   Float_t psupport3[3] = {4.51,9.5,0.05};//kryshki  C
   Float_t psupport5[3] = {1.44,1.49,6.5}; // stakanchik dlai feu  C
   Float_t psupport6[3] = {0,1.4,0.04}; //kryshechka stakanchika  Al
-  Float_t psupport7[3] = {1.,1.51,0.4}; //kolechko snaruzhu stakanchika Al
+  Float_t psupport7[3] = {1.5,1.51,0.4}; //kolechko snaruzhu stakanchika Al
    
   // Mother Volume katushka dlia krepezha vokrug truby k Absorbru
     AliMatrix(idrotm[901], 90., 0., 90., 90., 180., 0.);
@@ -265,10 +265,10 @@ void AliT0v1::CreateGeometry()
     Char_t nameTr[40];
     for (Int_t itr=0; itr<12; itr++) {
       sprintf (nameTr,"tr%i",itr+1);
-       x = 6.5 * TMath::Sin(itr * angle);
+      x = 6.5 * TMath::Sin(itr * angle);
       y = 6.5 * TMath::Cos(itr * angle);
       tr[itr] = new TGeoTranslation(nameTr,x,y,6.5);
-     tr[itr]->RegisterYourself();
+      tr[itr]->RegisterYourself();
        stlin->AddNode(ins,itr+13,tr[itr]);
     }
     TGeoCompositeShape *supsh = new TGeoCompositeShape("supsh","supPgon:trPgon-(hole:tr1+hole:tr2+hole:tr3+hole:tr4+hole:tr5+hole:tr6+hole:tr7+hole:tr8+hole:tr9+hole:tr10+hole:tr11+hole:tr12)");
@@ -284,13 +284,11 @@ void AliT0v1::CreateGeometry()
 
     //T0C 
 // first ring: 12 units of Scintillator+PMT+divider
-  Float_t  theta  = (180 / TMath::Pi()) * TMath::ATan(6.6 / zdetC);
+  Float_t  theta  = (180 / TMath::Pi()) * TMath::ATan(6.5 / zdetC);
   Float_t phi[3];
    for (is=0; is<12; is++)
       {  
 
-       //      x = 6.52 * TMath::Sin(is * angle);
-       //      y = 6.52 * TMath::Cos(is * angle);
        x = 6.6 * TMath::Sin(is * angle);
        y = 6.6 * TMath::Cos(is * angle);
        
@@ -345,7 +343,7 @@ void AliT0v1::CreateGeometry()
    z=-pstart[2]+psupport1[2]+0.1;
    gMC->Gspos("0SU1",1,"0STR",0,0,z,0,"ONLY"); //C kozhuh snaruzhi
    gMC->Gspos("0SU2",1,"0STR",0,0,z,0,"ONLY"); //C kozhuh vnutri
-   z=-pstart[2]+psupport3[2]+0.5;
+   z=-pstart[2]+psupport3[2]; //+0.01;
    gMC->Gspos("0SU3",1,"0STR",0,0,z,0,"ONLY"); //peredniaia kryshka
    z=-pstart[2]+2.*psupport1[2]-0.05;//+0.1;
    gMC->Gspos("0SU4",1,"0STR",0,0,z,0,"MANY"); //zadnaiai kryshka