]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFv0.cxx
Transition to NewIO
[u/mrichter/AliRoot.git] / TOF / AliTOFv0.cxx
index 16f3f75274239740d1e24e18c1b39a50bdd49a49..ae5583e69a6bac0f5d3fdc5c57ad490d3e0c5cca 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
-/*
-$Log$
-Revision 1.26  2002/05/08 13:24:50  vicinanz
-AliTOFanalyzeMatching.C macro added and minor changes to the AliTOF code
-
-Revision 1.25  2001/11/22 11:22:51  hristov
-Updated version of TOF digitization, N^2 problem solved (J.Chudoba)
-
-Revision 1.23  2001/09/27 10:39:20  vicinanz
-SDigitizer and Merger added
-
-Revision 1.22  2001/09/20 15:54:22  vicinanz
-Updated Strip Structure (Double Stack)
-
-Revision 1.21  2001/08/28 08:45:59  vicinanz
-TTask and TFolder structures implemented
-
-Revision 1.9  2001/05/04 10:09:48  vicinanz
-Major upgrades to the strip structure
-
-Revision 1.8  2000/12/04 08:48:20  alibrary
-Fixing problems in the HEAD
-
-Revision 1.7  2000/10/02 21:28:17  fca
-Removal of useless dependecies via forward declarations
-
-Revision 1.6  2000/05/10 16:52:18  vicinanz
-New TOF version with holes for PHOS/RICH
-
-Revision 1.4.2.1  2000/05/10 09:37:16  vicinanz
-New version with Holes for PHOS/RICH
-
-Revision 1.14  1999/11/05 22:39:06  fca
-New hits structure
-
-Revision 1.13  1999/11/02 11:26:39  fca
-added stdlib.h for exit
-
-Revision 1.12  1999/11/01 20:41:57  fca
-Added protections against using the wrong version of FRAME
-
-Revision 1.11  1999/10/22 08:04:14  fca
-Correct improper use of negative parameters
-
-Revision 1.10  1999/10/16 19:30:06  fca
-Corrected Rotation Matrix and CVS log
-
-Revision 1.9  1999/10/15 15:35:20  fca
-New version for frame1099 with and without holes
-
-Revision 1.8  1999/09/29 09:24:33  fca
-Introduction of the Copyright and cvs Log
-
-*/
+/* $Id$ */
 
 ///////////////////////////////////////////////////////////////////////////////
 //
@@ -96,19 +43,19 @@ Introduction of the Copyright and cvs Log
 //                                                                           //
 ///////////////////////////////////////////////////////////////////////////////
 
-#include <iostream.h>
+#include <Riostream.h>
 #include <stdlib.h>
 
-#include "AliTOFv0.h"
-#include "TBRIK.h"
-#include "TGeometry.h"
-#include "TNode.h"
+#include <TBRIK.h>
+#include <TGeometry.h>
 #include <TLorentzVector.h>
-#include "TObject.h"
-#include "AliRun.h"
-#include "AliMC.h"
-#include "AliConst.h"
+#include <TNode.h>
+#include <TObject.h>
+#include <TVirtualMC.h>
 
+#include "AliConst.h"
+#include "AliRun.h"
+#include "AliTOFv0.h"
  
 ClassImp(AliTOFv0)
  
@@ -781,10 +728,8 @@ void AliTOFv0::DrawDetectorModules()
 // Draw a shaded view of the TOF detector version 0
 //
  
- AliMC* pMC = AliMC::GetMC();
 //Set ALIC mother transparent
pMC->Gsatt("ALIC","SEEN",0);
gMC->Gsatt("ALIC","SEEN",0);
 
 //
 //Set volumes visible
@@ -854,10 +799,8 @@ void AliTOFv0::DrawDetectorStrips()
 // Draw a shaded view of the TOF strips for version 0
 //
  
- AliMC* pMC = AliMC::GetMC();
 //Set ALIC mother transparent
pMC->Gsatt("ALIC","SEEN",0);
gMC->Gsatt("ALIC","SEEN",0);
 
 //
 //Set volumes visible