]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - START/AliSTARTv0.cxx
Small syntax change for HP compiler
[u/mrichter/AliRoot.git] / START / AliSTARTv0.cxx
index ebca267a187d7b3c8ddcc6ab59a8a50ec54bf9a0..263b08d64dad5e02ecdfe5717d6adcecb7a44d95 100755 (executable)
@@ -1,3 +1,22 @@
+/**************************************************************************
+ * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ *                                                                        *
+ * Author: The ALICE Off-line Project.                                    *
+ * Contributors are mentioned in the code where appropriate.              *
+ *                                                                        *
+ * Permission to use, copy, modify and distribute this software and its   *
+ * documentation strictly for non-commercial purposes is hereby granted   *
+ * without fee, provided that the above copyright notice appears in all   *
+ * copies and that both the copyright notice and this permission notice   *
+ * appear in the supporting documentation. The authors make no claims     *
+ * about the suitability of this software for any purpose. It is          *
+ * provided "as is" without express or implied warranty.                  *
+ **************************************************************************/
+
+/*
+$Log$
+*/
+
 /////////////////////////////////////////////////////////////////////
 //                                                                 //
 // START ( T-zero) detector  version 0                        //
@@ -265,14 +284,12 @@ void AliSTARTv0::CreateMaterials()
 
 }
 //---------------------------------------------------------------------
-void AliSTARTv0::DrawDetector()
+void AliSTARTv0::DrawModule()
 {
 //
 // 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 +311,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 +332,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();