/*
$Log$
+Revision 1.34 2001/05/30 15:55:35 hristov
+Strings compared instead of pointers
+
Revision 1.33 2001/05/30 14:04:31 hristov
Dynamic cast replaced (F.Carminati)
#include "AliMC.h"
#include "AliRun.h"
-#include "../TGeant3/TGeant3.h"
+#include "AliGeant3.h"
#include "AliITShit.h"
#include "AliITSGeant3Geometry.h"
#include "AliITS.h"
// Based on the geometry tree defined in Geant 3.21, this
// routine initilizes the Class AliITSgeom from the Geant 3.21 ITS geometry
// sturture.
- if(strcmp(gMC->GetName(),"TGeant3")) {
+ if(gMC->IsA()!=AliGeant3::Class()) {
Error("InitAliITSgeom",
"Wrong Monte Carlo. InitAliITSgeom uses TGeant3 calls");
return;
/*
$Log$
+Revision 1.17 2001/05/30 15:55:35 hristov
+Strings compared instead of pointers
+
Revision 1.16 2001/05/30 14:04:31 hristov
Dynamic cast replaced (F.Carminati)
#include "AliMC.h"
#include "AliRun.h"
-#include "../TGeant3/TGeant3.h"
+#include "AliGeant3.h"
#include "AliITShit.h"
#include "AliITSGeant3Geometry.h"
#include "AliITS.h"
// Based on the geometry tree defined in Geant 3.21, this
// routine initilizes the Class AliITSgeom from the Geant 3.21 ITS geometry
// sturture.
- if(strcmp(gMC->GetName(),"TGeant3")) {
+ if(gMC->IsA()!=AliGeant3::Class()) {
Error("InitAliITSgeom",
"Wrong Monte Carlo. InitAliITSgeom uses TGeant3 calls");
return;
/*
$Log$
+Revision 1.12 2001/05/30 15:55:35 hristov
+Strings compared instead of pointers
+
Revision 1.11 2001/05/30 14:04:31 hristov
Dynamic cast replaced (F.Carminati)
#include "AliMC.h"
#include "AliRun.h"
-#include "../TGeant3/TGeant3.h"
+#include "AliGeant3.h"
#include "AliITShit.h"
#include "AliITSGeant3Geometry.h"
#include "AliITS.h"
// Based on the geometry tree defined in Geant 3.21, this
// routine initilizes the Class AliITSgeom from the Geant 3.21 ITS geometry
// sturture.
- if(strcmp(gMC->GetName(),"TGeant3")) {
+ if(gMC->IsA()!=AliGeant3::Class()) {
Error("InitAliITSgeom",
"Wrong Monte Carlo. InitAliITSgeom uses TGeant3 calls");
return;
/*
$Log$
+Revision 1.42 2001/05/30 15:55:35 hristov
+Strings compared instead of pointers
+
Revision 1.41 2001/05/30 14:04:31 hristov
Dynamic cast replaced (F.Carminati)
#include "AliRun.h"
#include "AliMagF.h"
#include "AliConst.h"
-#include "../TGeant3/TGeant3.h"
+#include "AliGeant3.h"
#include "AliITSGeant3Geometry.h"
#include "AliITShit.h"
#include "AliITS.h"
// Based on the geometry tree defined in Geant 3.21, this
// routine initilizes the Class AliITSgeom from the Geant 3.21 ITS geometry
// sturture.
- if(strcmp(gMC->GetName(),"TGeant3")) {
+ if(gMC->IsA()!=AliGeant3::Class()) {
Error("InitAliITSgeom",
"Wrong Monte Carlo. InitAliITSgeom uses TGeant3 calls");
return;
/*
$Log$
+Revision 1.26 2001/05/30 15:55:35 hristov
+Strings compared instead of pointers
+
Revision 1.25 2001/05/30 14:04:31 hristov
Dynamic cast replaced (F.Carminati)
#include "AliRun.h"
#include "AliMagF.h"
#include "AliConst.h"
-#include "../TGeant3/TGeant3.h"
+#include "AliGeant3.h"
#include "AliITSGeant3Geometry.h"
#include "AliITShit.h"
#include "AliITS.h"
// Based on the geometry tree defined in Geant 3.21, this
// routine initilizes the Class AliITSgeom from the Geant 3.21 ITS geometry
// sturture.
- if(strcmp(gMC->GetName(),"TGeant3")) {
+ if(gMC->IsA()!=AliGeant3::Class()) {
Error("InitAliITSgeom",
"Wrong Monte Carlo. InitAliITSgeom uses TGeant3 calls");
return;
/*
$Log$
+Revision 1.10 2001/05/30 15:55:35 hristov
+Strings compared instead of pointers
+
Revision 1.9 2001/05/30 14:04:31 hristov
Dynamic cast replaced (F.Carminati)
#include "AliMC.h"
#include "AliRun.h"
-#include "../TGeant3/TGeant3.h"
+#include "AliGeant3.h"
#include "AliITSGeant3Geometry.h"
#include "AliITShit.h"
#include "AliITS.h"
// Based on the geometry tree defined in Geant 3.21, this
// routine initilizes the Class AliITSgeom from the Geant 3.21 ITS geometry
// sturture.
- if(strcmp(gMC->GetName(),"TGeant3")) {
+ if(gMC->IsA()!=AliGeant3::Class()) {
Error("InitAliITSgeom",
"Wrong Monte Carlo. InitAliITSgeom uses TGeant3 calls");
return;
# C++ compilation flags
-CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/ -I$(ALICE_ROOT)/TPC -I$(ALICE_ROOT)/CONTAINERS
+CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I../TGeant3 -I$(ALICE_ROOT)/include/ -I$(ALICE_ROOT)/TPC -I$(ALICE_ROOT)/CONTAINERS
# FORTRAN compilation flags