remove EMCAL-specific alignment classes - obsolete
authorjklay <jklay@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 10 Oct 2006 19:11:09 +0000 (19:11 +0000)
committerjklay <jklay@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 10 Oct 2006 19:11:09 +0000 (19:11 +0000)
EMCAL/AliEMCALAlignData.cxx [deleted file]
EMCAL/AliEMCALAlignData.h [deleted file]

diff --git a/EMCAL/AliEMCALAlignData.cxx b/EMCAL/AliEMCALAlignData.cxx
deleted file mode 100644 (file)
index 5304635..0000000
+++ /dev/null
@@ -1,106 +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$ */
-
-////////////////////////////////////////////////
-//  class for EMCAL alignment parameters       //
-//  
-//  A. Pavlinov
-//
-//  JLK (21-Apr-2006): this should go away sometime
-//  soon and EMCAL should use
-//  official ALICE alignment classes
-//
-////////////////////////////////////////////////
-
-#include "AliEMCALAlignData.h"
-#include "AliAlignObjMatrix.h"
-
-ClassImp(AliEMCALAlignData)
-
-//________________________________________________________________
-AliEMCALAlignData::AliEMCALAlignData()
-{
-  // Default constructor
-  Reset();
-}
-
-//________________________________________________________________
-AliEMCALAlignData::AliEMCALAlignData(const char* name)
-{
-  // Constructor
-  TString namst = "Align_";
-  namst += name;
-  SetName(namst.Data());
-  SetTitle(namst.Data());
-  Reset();
-}
-
-//________________________________________________________________
-AliEMCALAlignData::AliEMCALAlignData(const AliEMCALAlignData& alignda) :
-  TNamed(alignda)
-{
-  // copy constructor
-  SetName(alignda.GetName());
-  SetTitle(alignda.GetName());
-  Reset();
-  fNSuperModules = alignda.GetNSuperModules();
-  for(Int_t module=0; module<fNSuperModules; module++) {
-    fSuperModuleMatrix[module] = alignda.fSuperModuleMatrix[module];
-  }
-}
-
-//________________________________________________________________
-AliEMCALAlignData &AliEMCALAlignData::operator =(const AliEMCALAlignData& alignda)
-{
-  // assignment operator
-  SetName(alignda.GetName());
-  SetTitle(alignda.GetName());
-  Reset();
-  fNSuperModules = alignda.GetNSuperModules();
-  for(Int_t module=0; module<fNSuperModules; module++) {
-    fSuperModuleMatrix[module] = new AliAlignObjMatrix(*alignda.fSuperModuleMatrix[module]);
-  }
-  return *this;
-}
-
-//________________________________________________________________
-AliEMCALAlignData::~AliEMCALAlignData()
-{
-  // Destructor
-  for(Int_t module=0; module<fNSuperModules; module++) {
-    if(fSuperModuleMatrix[module]) delete fSuperModuleMatrix[module];
-  }
-}
-
-//________________________________________________________________
-void AliEMCALAlignData::Reset()
-{
-  // Set all to default values
-  fNSuperModules = 12;
-  memset(fSuperModuleMatrix,0,12*sizeof(AliAlignObjMatrix*));
-  for(Int_t module=0; module<fNSuperModules; module++) fSuperModuleMatrix[module] = 0;
-}
-
-//________________________________________________________________
-void  AliEMCALAlignData::Print(Option_t */*option =""*/) const
-{
-  // Print alignment data
-
-  printf("EMCAL alignment object\n");
-  printf("     Number of modules: %d\n",fNSuperModules);
-}
-//________________________________________________________________
diff --git a/EMCAL/AliEMCALAlignData.h b/EMCAL/AliEMCALAlignData.h
deleted file mode 100644 (file)
index 6f761c8..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-#ifndef ALIEMCALALIGNDATA_H
-#define ALIEMCALALIGNDATA_H
-
-/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
- * See cxx source for full Copyright notice                               */
-
-/* $Id$ */
-
-///////////////////////////////////////////////////////////////////////
-//  Class for EMCAL alignment parameters - go to standard tools      //
-//  Apply allignment to super modules only                           //
-///////////////////////////////////////////////////////////////////////
-
-#include "TNamed.h"
-
-class AliAlignObjMatrix;
-
-class AliEMCALAlignData: public TNamed {
-
- public:
-  AliEMCALAlignData();
-  AliEMCALAlignData(const char* name);
-  AliEMCALAlignData(const AliEMCALAlignData &alignda);
-  AliEMCALAlignData& operator= (const AliEMCALAlignData &alignda);
-  virtual ~AliEMCALAlignData();
-
-  void Reset();
-  virtual void Print(Option_t *option = "") const; // *MENU*
-
-  // Getters
-  Int_t   GetNSuperModules() const {return fNSuperModules;}
-  AliAlignObjMatrix *GetSuperModuleMatrix(Int_t module) const
-  {
-    if(module>=0&&module<fNSuperModules) return fSuperModuleMatrix[module];
-    else                                 return 0;
-  }
-
-  // Setters
-  void SetNSuperModules(Int_t nSuperModules) {fNSuperModules = nSuperModules;}
-  void SetSuperModuleMatrix(Int_t module, AliAlignObjMatrix *matrix) 
-  {
-    if(module>=0&&module<fNSuperModules) fSuperModuleMatrix[module] = matrix;
-  }
-
- protected:
-  Int_t   fNSuperModules;                    // number of EMCAL supermodules (max=12)
-  AliAlignObjMatrix *fSuperModuleMatrix[12]; //matrix info for supermodules
-
-  ClassDef(AliEMCALAlignData,1)    // EMCAL Alignment data
-};
-
-#endif