]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCv4.cxx
Temporary removed information from the event HEADER (Marian)
[u/mrichter/AliRoot.git] / TPC / AliTPCv4.cxx
index 66b9eeac25cf4a71d02a632db4f3f32ff2097e31..73a321a1e379f0553bc0376407a32a0288ea977f 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.1  2007/06/24 20:56:19  hristov
+TPC version for the krypton runs (Marek)
+
 */
 
 //
@@ -683,12 +686,12 @@ void AliTPCv4::CreateGeometry()
    Double_t x0,y0;
    x0=110.2*TMath::Cos(openingAngle);
    y0=110.2*TMath::Sin(openingAngle);
-   TGeoCombiTrans *combi1a = new TGeoCombiTrans("combi1",x0,y0,1.09+0.222,rot); //a-side 
-   TGeoCombiTrans *combi1c = new TGeoCombiTrans("combi1",x0,y0,1.09+0.195,rot); //c-side
+   TGeoCombiTrans *combi1a = new TGeoCombiTrans("combi1",x0,y0,1.09+0.195,rot); //a-side 
+   TGeoCombiTrans *combi1c = new TGeoCombiTrans("combi1",x0,y0,1.09+0.222,rot); //c-side
    x0=188.45*TMath::Cos(openingAngle);
    y0=188.45*TMath::Sin(openingAngle);
-   TGeoCombiTrans *combi2a = new TGeoCombiTrans("combi2",x0,y0,0.99+0.222,rot); //a-side
-   TGeoCombiTrans *combi2c = new TGeoCombiTrans("combi2",x0,y0,0.99+0.195,rot); //c-side
+   TGeoCombiTrans *combi2a = new TGeoCombiTrans("combi2",x0,y0,0.99+0.195,rot); //a-side
+   TGeoCombiTrans *combi2c = new TGeoCombiTrans("combi2",x0,y0,0.99+0.222,rot); //c-side
    //
    //
    // A-side
@@ -1144,9 +1147,9 @@ void AliTPCv4::Init()
   fIDrift=gMC->VolId("TPC_Drift");
   fSecOld=-100; // fake number 
 
-  gMC->SetMaxNStep(30000); // max. number of steps increased
+  gMC->SetMaxNStep(-30000); // max. number of steps increased
 
-  gMC->Gstpar(idtmed[20],"LOSS",5); // specific energy loss
+  gMC->Gstpar(idtmed[20],"LOSS",6); // specific energy loss
 
   AliInfo("*** TPC version 4 initialized ***");
   AliInfo(Form("Maximum number of steps = %d",gMC->GetMaxNStep()));
@@ -1277,7 +1280,7 @@ void AliTPCv4::StepManager()
   if(gMC->TrackStep() > 0){ 
 
     Int_t nel = (Int_t)(((gMC->Edep())-kpoti)/kwIon) + 1;
-    nel=TMath::Min(nel,300); // 300 electrons corresponds to 10 keV
+    nel=TMath::Min(nel,30); // 30 electrons corresponds to 1 keV
     //
     gMC->TrackPosition(p);
     hits[0]=p[0];