]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - START/AliSTARTv0.cxx
Record correctly also the last step in Lego plot
[u/mrichter/AliRoot.git] / START / AliSTARTv0.cxx
index a570b2ceb3f2cf31a7e69eeabe132c874833eb96..a06fa11332d3249e41ebeedadabea3356920f522 100755 (executable)
@@ -234,7 +234,7 @@ void AliSTARTv0::CreateMaterials()
  AliMaterial(1, "START Vacuum$", 1.e-16,1.e-16,1.e-16,1.e16,999);
  AliMaterial(2, "START Air$", 14.61, 7.3, .001205, 30423.,999); 
 
- AliMixture( 3, "Al2O3   $", aal2o3, zal2o3, denscer, -2, wcer);
+ AliMixture( 3, "Al2O3   $", aal2o3, zal2o3, denscer, -2, wal2o3);
  AliMixture( 4, "PMT glass   $",aglass,zglass,dglass,-2,wglass);
   char namate[21];
   gMC->Gfmate((*fIdmate)[3], namate, a, z, d, radl, absl, buf, nbuf);
@@ -271,8 +271,6 @@ void AliSTARTv0::DrawDetector()
 // Draw a shaded view of the Forward multiplicity detector version 0
 //
 
-AliMC* gMC = AliMC::GetMC();
-
 //Set ALIC mother transparent
 gMC->Gsatt("ALIC","SEEN",0);
 //
@@ -294,13 +292,13 @@ gMC->Gdopt("hide","off");
 //-------------------------------------------------------------------
 void AliSTARTv0::Init()
 {
-// Initialises version 0 of the Forward Multiplicity Detector
-//
-AliMC* gMC=AliMC::GetMC();
-//Int_t *idtmed  = gAlice->Idtmed();
-AliSTART::Init();
-fIdSens1=gMC->VolId("PTOP");
-printf("*** START version 0 initialized ***\n");
+  // Initialises version 0 of the Forward Multiplicity Detector
+  //
+  
+  //Int_t *idtmed  = gAlice->Idtmed();
+  AliSTART::Init();
+  fIdSens1=gMC->VolId("PTOP");
+  printf("*** START version 0 initialized ***\n");
  
 }
 
@@ -315,7 +313,7 @@ void AliSTARTv0::StepManager()
   static Float_t hits[7];
   static Float_t edep;
   static Int_t vol[2];
- TLorentzVector pos;
 TLorentzVector pos;
 
   TClonesArray &lhits = *fHits;
   //AliMC* gMC=AliMC::GetMC();