Remove obsolete classes
authorcblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 5 Aug 2009 13:05:30 +0000 (13:05 +0000)
committercblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 5 Aug 2009 13:05:30 +0000 (13:05 +0000)
TRD/AliTRDarrayF.cxx [deleted file]
TRD/AliTRDarrayF.h [deleted file]
TRD/AliTRDarrayI.cxx [deleted file]
TRD/AliTRDarrayS.cxx [deleted file]
TRD/AliTRDarrayS.h [deleted file]

diff --git a/TRD/AliTRDarrayF.cxx b/TRD/AliTRDarrayF.cxx
deleted file mode 100644 (file)
index 51883b2..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-/**************************************************************************
- * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
- *                                                                        *
- * Author: The ALICE Off-line Project.                                    *
- * Contributors are mentioned in the code where appropriate.              *
- *                                                                        *
- * Permission to use, copy, modify and distribute this software and its   *
- * documentation strictly for non-commercial purposes is hereby granted   *
- * without fee, provided that the above copyright notice appears in all   *
- * copies and that both the copyright notice and this permission notice   *
- * appear in the supporting documentation. The authors make no claims     *
- * about the suitability of this software for any purpose. It is          *
- * provided "as is" without express or implied warranty.                  *
- **************************************************************************/
-
-/* $Id$ */
-
-///////////////////////////////////////////////////////////////////////
-//                                                                   //  
-// Added additional functionality to the original TArrayF.           //
-//  - Multiple inheritance from TObject                              //
-//  - Function Expand() allows to expand the array without           //
-//    deleting the array contents                                    //
-//                                                                   //
-// Origin:  Marian Ivanov, Uni. of Bratislava, ivanov@fmph.uniba.sk  // 
-//                                                                   //  
-///////////////////////////////////////////////////////////////////////
-
-#include "AliTRDarrayF.h"
-
-ClassImp(AliTRDarrayF)
-
-//_____________________________________________________________________________
-AliTRDarrayF::AliTRDarrayF():TArrayF()
-{
-  //
-  // Default constructor
-  //
-
-}
-
-//_____________________________________________________________________________
-AliTRDarrayF::~AliTRDarrayF()
-{
-  //
-  // Default destructor
-  //
-
-  if (fArray) {
-    delete [] fArray;
-    fArray = 0;
-  }
-
-}
-
-//_____________________________________________________________________________
-void AliTRDarrayF::Copy(TObject &a) const
-{
-  //
-  // Copy function
-  //
-
-  TObject::Copy(a);
-  TArrayF::Copy(((TArrayF &) a));
-
-}
-
-//_____________________________________________________________________________
-void AliTRDarrayF::Expand(Int_t n)
-{
-  //
-  // Sets the  array size of the TArrayF object to <n> integers and copies
-  // the old array.
-  // If n < 0 leave the array unchanged.
-  // The user is responsible for the appropriate size of the array.
-  //
-
-  if (n < 0) {
-    return;  
-  }
-
-  fArray = (Float_t *) TStorage::ReAlloc(fArray
-                                        ,n *sizeof(Float_t)
-                                        ,fN*sizeof(Float_t));
-
-  if (fArray != 0) {
-    fN = n;
-  } 
-
-}
-
diff --git a/TRD/AliTRDarrayF.h b/TRD/AliTRDarrayF.h
deleted file mode 100644 (file)
index c502c92..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-#ifndef ALITRDARRAYF_H
-#define ALITRDARRAYF_H
-/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
- * See cxx source for full Copyright notice                               */
-
-/* $Id$*/
-
-#include <TObject.h>
-#include <TArrayF.h>
-/////////////////////////////////////////////////////////////
-//                                                         //
-//  Array of floats                                        //
-//  Origin M.Ivanov                                        //
-//                                                         //
-/////////////////////////////////////////////////////////////                   
-
-class AliTRDarrayF: public TObject, public TArrayF {
-
-public:
-
-  AliTRDarrayF();
-  virtual ~AliTRDarrayF();
-  void Copy(TObject &a) const;
-  void Expand(Int_t n);  
-
-  ClassDef(AliTRDarrayF,1)  // An array of floats
-
-};
-
-#endif 
-
diff --git a/TRD/AliTRDarrayI.cxx b/TRD/AliTRDarrayI.cxx
deleted file mode 100644 (file)
index 605f688..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-/**************************************************************************
- * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
- *                                                                        *
- * Author: The ALICE Off-line Project.                                    *
- * Contributors are mentioned in the code where appropriate.              *
- *                                                                        *
- * Permission to use, copy, modify and distribute this software and its   *
- * documentation strictly for non-commercial purposes is hereby granted   *
- * without fee, provided that the above copyright notice appears in all   *
- * copies and that both the copyright notice and this permission notice   *
- * appear in the supporting documentation. The authors make no claims     *
- * about the suitability of this software for any purpose. It is          *
- * provided "as is" without express or implied warranty.                  *
- **************************************************************************/
-
-/* $Id$ */
-
-///////////////////////////////////////////////////////////////////////
-//                                                                   //  
-// Added additional functionality to the original TArrayI.           //
-//  - Multiple inheritance from TObject                              //
-//  - Function Expand() allows to expand the array without           //
-//    deleting the array contents                                    //
-//                                                                   //
-// Origin:  Marian Ivanov, Uni. of Bratislava, ivanov@fmph.uniba.sk  // 
-//                                                                   //  
-///////////////////////////////////////////////////////////////////////
-
-#include "AliTRDarrayI.h"
-
-ClassImp(AliTRDarrayI)
-
-//_____________________________________________________________________________
-AliTRDarrayI::AliTRDarrayI():TArrayI()
-{
-  //
-  // Default constructor
-  //
-
-}
-
-//_____________________________________________________________________________
-AliTRDarrayI::~AliTRDarrayI()
-{
-  //
-  // Default destructor
-  //
-
-}
-
-//_____________________________________________________________________________
-void AliTRDarrayI::Copy(TObject &a) const
-{
-  //
-  // Copy function
-  //
-
-  TObject::Copy(a);
-  TArrayI::Copy(((TArrayI &) a));
-
-}
-
-//_____________________________________________________________________________
-void AliTRDarrayI::Expand(Int_t n)
-{
-  //
-  // Sets the  array size of the TArrayI object to <n> integers and copies
-  // the old array.
-  // If n < 0 leave the array unchanged.
-  // 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;
-  }
-}
-
diff --git a/TRD/AliTRDarrayS.cxx b/TRD/AliTRDarrayS.cxx
deleted file mode 100644 (file)
index 46beb3d..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-/**************************************************************************
- * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
- *                                                                        *
- * Author: The ALICE Off-line Project.                                    *
- * Contributors are mentioned in the code where appropriate.              *
- *                                                                        *
- * Permission to use, copy, modify and distribute this software and its   *
- * documentation strictly for non-commercial purposes is hereby granted   *
- * without fee, provided that the above copyright notice appears in all   *
- * copies and that both the copyright notice and this permission notice   *
- * appear in the supporting documentation. The authors make no claims     *
- * about the suitability of this software for any purpose. It is          *
- * provided "as is" without express or implied warranty.                  *
- **************************************************************************/
-
-/* $Id: AliTRDarrayS.cxx,v Exp $ */
-
-///////////////////////////////////////////////////////////////////////
-//                                                                   //  
-// Added additional functionality to the original TArrayS.           //
-//  - Multiple inheritance from TObject                              //
-//  - Function Expand() allows to expand the array without           //
-//    deleting the array contents                                    //
-//                                                                   //
-// Origin:  Marian Ivanov, Uni. of Bratislava, ivanov@fmph.uniba.sk  // 
-//                                                                   //  
-///////////////////////////////////////////////////////////////////////
-
-#include "AliTRDarrayS.h"
-
-ClassImp(AliTRDarrayS)
-
-//_____________________________________________________________________________
-AliTRDarrayS::AliTRDarrayS():TArrayS()
-{
-  //
-  // Default constructor
-  //
-
-}
-
-//_____________________________________________________________________________
-AliTRDarrayS::~AliTRDarrayS()
-{
-  //
-  // Default destructor
-  //
-
-  if (fArray) {
-    delete [] fArray;
-    fArray = 0;
-  }
-
-}
-
-//_____________________________________________________________________________
-void AliTRDarrayS::Copy(TObject &a) const
-{
-  //
-  // Copy function
-  //
-
-  TObject::Copy(a);
-  TArrayS::Copy(((TArrayS &) a));
-
-}
-
-//_____________________________________________________________________________
-void AliTRDarrayS::Expand(Int_t n)
-{
-  //
-  // Sets the  array size of the TArrayF object to <n> integers and copies
-  // the old array.
-  // If n < 0 leave the array unchanged.
-  // The user is responsible for the appropriate size of the array.
-  //
-
-  if (n < 0) {
-    return;  
-  }
-
-  fArray = (Short_t *) TStorage::ReAlloc(fArray
-                                        ,n *sizeof(Short_t)
-                                        ,fN*sizeof(Short_t));
-
-  if (fArray != 0) {
-    fN = n;
-  } 
-
-}
-
diff --git a/TRD/AliTRDarrayS.h b/TRD/AliTRDarrayS.h
deleted file mode 100644 (file)
index 4b20cab..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-#ifndef ALITRDARRAYS_H
-#define ALITRDARRAYS_H
-/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
- * See cxx source for full Copyright notice                               */
-
-/* $Id: AliTRDarrayS.h,v Exp $*/
-
-#include <TObject.h>
-#include <TArrayS.h>
-/////////////////////////////////////////////////////////////
-//                                                         //
-//  Array of shorts                                        //
-//  Origin M.Ivanov                                        //
-//                                                         //
-/////////////////////////////////////////////////////////////                   
-
-class AliTRDarrayS: public TObject, public TArrayS {
-
-public:
-
-  AliTRDarrayS();
-  virtual ~AliTRDarrayS();
-  void Copy(TObject &a) const;
-  void Expand(Int_t n);  
-
-  ClassDef(AliTRDarrayS,1)  // An array of shorts
-
-};
-
-#endif 
-