* provided "as is" without express or implied warranty. *
**************************************************************************/
-/*
-$Log$
-Revision 1.3 2000/06/08 18:32:58 cblume
-Make code compliant to coding conventions
-
-Revision 1.2 2000/05/08 16:17:27 cblume
-Merge TRD-develop
-
-Revision 1.1.4.1 2000/05/08 14:35:54 cblume
-Update
-
-Revision 1.1 2000/02/28 18:57:18 cblume
-Add new TRD classes
-
-*/
+/* $Id$ */
///////////////////////////////////////////////////////////////////////
// //
ClassImp(AliTRDarrayI)
+//_____________________________________________________________________________
+AliTRDarrayI::AliTRDarrayI():TArrayI()
+{
+ //
+ // Default constructor
+ //
+
+}
+
//_____________________________________________________________________________
AliTRDarrayI::~AliTRDarrayI()
{
}
//_____________________________________________________________________________
-void AliTRDarrayI::Copy(TObject &a)
+void AliTRDarrayI::Copy(TObject &a) const
{
//
// Copy function
}
-
//_____________________________________________________________________________
void AliTRDarrayI::Expand(Int_t n)
{
// The user is responsible for the appropriate size of the array.
//
- if (n < 0) return;
- fArray = (Int_t*) TStorage::ReAlloc(fArray
- ,n * sizeof(Int_t)
- ,fN * sizeof(Int_t));
- if (fArray != 0) fN = n;
+ if (n < 0) {
+ return;
+ }
+
+ fArray = (Int_t *) TStorage::ReAlloc(fArray
+ ,n *sizeof(Int_t)
+ ,fN*sizeof(Int_t));
+
+ if (fArray != 0) {
+ fN = n;
+ }
}