]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONproto.cxx
new slow simulation up to RawData
[u/mrichter/AliRoot.git] / MUON / AliMUONproto.cxx
index a115b656622e05b7f9a0867fdf5c5b2c368df8af..ddad38e8f271943de92500a1221895f1a5916594 100644 (file)
  * about the suitability of this software for any purpose. It is          *
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
-/*
-$Log$
-Revision 1.3  2000/10/11 09:19:12  egangler
-Corrected some bugs - it should compile now
-
-Revision 1.2  2000/06/15 07:58:49  morsch
-Code from MUON-dev joined
 
-Revision 1.1.2.1  2000/04/18 09:11:15  morsch
-Implementation of MUON Chamber Prototype Class
-Both read digits from raw data or use the Monte-Carlo.
-Rachid GUERNANE, IPN Lyon guernane@ipnl.in2p3.fr
-
-*/
+/* $Id$ */
 
 /*
 Implementation of MUON Chamber Prototype Class 
@@ -66,8 +54,7 @@ Both read digits from raw data or use the Monte-Carlo.
 #include "TTUBE.h"
 #include "AliMUONClusterFinder.h"
 #include "AliRun.h"
-#include "AliMC.h"
-#include "iostream.h"
+#include "Riostream.h"
 #include "AliCallf77.h" 
 #include "AliConst.h"
 //#include "chainalice2.h"
@@ -308,7 +295,6 @@ void AliMUONproto::Init()
    
    //
    // Set the chamber (sensitive region) GEANT identifier
-   AliMC* gMC = AliMC::GetMC(); 
    ((AliMUONChamber*)(*fChambers)[0])->SetGid(gMC->VolId("C01G"));
 
    printf("\n\n\n Finished Init for Prototype ALICE2 - CPC chamber type\n\n\n");
@@ -441,7 +427,7 @@ void AliMUONproto::StepManager()
       }
     
       new(lhits[fNhits++]) 
-         AliMUONHit(fIshunt,gAlice->CurrentTrack(),vol,hits);
+         AliMUONHit(fIshunt,gAlice->GetCurrentTrackNumber(),vol,hits);
       eloss = 0; 
       //
       // Check additional signal generation conditions 
@@ -603,4 +589,4 @@ void AliMUONproto::SetThreshold()
     
     inputFile.close();    
 }
-#endif
\ No newline at end of file
+#endif