/*
$Log$
+Revision 1.1 2007/06/24 20:56:19 hristov
+TPC version for the krypton runs (Marek)
+
*/
//
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
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()));
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];