/*
$Log$
+Revision 1.18 2002/12/03 09:03:06 hristov
+Changes needed on Itanium (F.Carminati)
+
+Revision 1.17 2002/10/22 14:45:41 alibrary
+Introducing Riostream.h
+
+Revision 1.16 2002/10/14 14:57:00 hristov
+Merging the VirtualMC branch to the main development branch (HEAD)
+
+Revision 1.14.6.1 2002/06/10 17:51:15 hristov
+Merged with v3-08-02
+
+Revision 1.15 2002/05/19 18:17:03 hristov
+Changes needed by ICC/IFC compiler (Intel)
+
+Revision 1.14 2001/11/19 16:17:03 nilsen
+Applyed fixes to bugs found by Rene Brun. With many thanks. Some additonal
+bugs found by Rene require more work to fix. Will be fixed soon.
+
+Revision 1.13 2001/10/12 22:07:20 nilsen
+A patch for C++ io manipulation functions so that they will work both
+with GNU gcc 2.96 and GNU gcc 3.01 compilers. Needs to be tested with
+other platforms.
+
Revision 1.12 2001/08/24 21:06:37 nilsen
Added more documentation, fixed up some coding violations, and some
forward declorations.
// initilize this one with predefined values.
////////////////////////////////////////////////////////////////////////
-#include <iostream.h>
-#include <iomanip.h>
+#include <Riostream.h>
#include <stdlib.h>
#include <TShape.h>
#include <TBRIK.h>
AliITSgeomSSD::~AliITSgeomSSD(){
// Destructor.
- delete fLowEdgeP; fLowEdgeP = 0;
- delete fLowEdgeN; fLowEdgeN = 0;
- delete fShapeSSD; fShapeSSD = 0;
+ if(fLowEdgeP) delete [] fLowEdgeP; fLowEdgeP = 0;
+ if(fLowEdgeN) delete [] fLowEdgeN; fLowEdgeN = 0;
+ if(fShapeSSD) delete fShapeSSD; fShapeSSD = 0;
fNp = 0;
fNn = 0;
fAngleP = 0.0;
#else
Int_t fmt;
#endif
+#else
+#if defined __ICC || defined __ECC
+ ios::fmtflags fmt;
#else
Int_t fmt;
+#endif
#endif
fmt = os->setf(ios::scientific); // set scientific floating point output
//======================================================================
/*
$Log$
+Revision 1.18 2002/12/03 09:03:06 hristov
+Changes needed on Itanium (F.Carminati)
+
+Revision 1.17 2002/10/22 14:45:41 alibrary
+Introducing Riostream.h
+
+Revision 1.16 2002/10/14 14:57:00 hristov
+Merging the VirtualMC branch to the main development branch (HEAD)
+
+Revision 1.14.6.1 2002/06/10 17:51:15 hristov
+Merged with v3-08-02
+
+Revision 1.15 2002/05/19 18:17:03 hristov
+Changes needed by ICC/IFC compiler (Intel)
+
+Revision 1.14 2001/11/19 16:17:03 nilsen
+Applyed fixes to bugs found by Rene Brun. With many thanks. Some additonal
+bugs found by Rene require more work to fix. Will be fixed soon.
+
+Revision 1.13 2001/10/12 22:07:20 nilsen
+A patch for C++ io manipulation functions so that they will work both
+with GNU gcc 2.96 and GNU gcc 3.01 compilers. Needs to be tested with
+other platforms.
+
Revision 1.12 2001/08/24 21:06:37 nilsen
Added more documentation, fixed up some coding violations, and some
forward declorations.
//======================================================================
/*
$Log$
+Revision 1.18 2002/12/03 09:03:06 hristov
+Changes needed on Itanium (F.Carminati)
+
+Revision 1.17 2002/10/22 14:45:41 alibrary
+Introducing Riostream.h
+
+Revision 1.16 2002/10/14 14:57:00 hristov
+Merging the VirtualMC branch to the main development branch (HEAD)
+
+Revision 1.14.6.1 2002/06/10 17:51:15 hristov
+Merged with v3-08-02
+
+Revision 1.15 2002/05/19 18:17:03 hristov
+Changes needed by ICC/IFC compiler (Intel)
+
+Revision 1.14 2001/11/19 16:17:03 nilsen
+Applyed fixes to bugs found by Rene Brun. With many thanks. Some additonal
+bugs found by Rene require more work to fix. Will be fixed soon.
+
+Revision 1.13 2001/10/12 22:07:20 nilsen
+A patch for C++ io manipulation functions so that they will work both
+with GNU gcc 2.96 and GNU gcc 3.01 compilers. Needs to be tested with
+other platforms.
+
Revision 1.12 2001/08/24 21:06:37 nilsen
Added more documentation, fixed up some coding violations, and some
forward declorations.
// cout << "AliITSgeomSSD275and75 default creator called: start" << endl;
AliITSgeomSSD::ResetSSD(par,kangleA,kangleC,
kNstrips+1,leA,kNstrips+1,leC);
- delete leA;
- delete leC;
+ delete [] leA;
+ delete [] leC;
// cout << "AliITSgeomSSD275and75 default creator called: end" << endl;
}
//________________________________________________________________________
//======================================================================
/*
$Log$
+Revision 1.18 2002/12/03 09:03:06 hristov
+Changes needed on Itanium (F.Carminati)
+
+Revision 1.17 2002/10/22 14:45:41 alibrary
+Introducing Riostream.h
+
+Revision 1.16 2002/10/14 14:57:00 hristov
+Merging the VirtualMC branch to the main development branch (HEAD)
+
+Revision 1.14.6.1 2002/06/10 17:51:15 hristov
+Merged with v3-08-02
+
+Revision 1.15 2002/05/19 18:17:03 hristov
+Changes needed by ICC/IFC compiler (Intel)
+
+Revision 1.14 2001/11/19 16:17:03 nilsen
+Applyed fixes to bugs found by Rene Brun. With many thanks. Some additonal
+bugs found by Rene require more work to fix. Will be fixed soon.
+
+Revision 1.13 2001/10/12 22:07:20 nilsen
+A patch for C++ io manipulation functions so that they will work both
+with GNU gcc 2.96 and GNU gcc 3.01 compilers. Needs to be tested with
+other platforms.
+
Revision 1.12 2001/08/24 21:06:37 nilsen
Added more documentation, fixed up some coding violations, and some
forward declorations.