Removing obsolete class
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 1 Feb 2011 15:27:16 +0000 (15:27 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 1 Feb 2011 15:27:16 +0000 (15:27 +0000)
STEER/AliTrackMap.cxx [deleted file]
STEER/AliTrackMap.h [deleted file]
STEER/CMakelibSTEER.pkg
STEER/STEERLinkDef.h

diff --git a/STEER/AliTrackMap.cxx b/STEER/AliTrackMap.cxx
deleted file mode 100644 (file)
index 8f2b660..0000000
+++ /dev/null
@@ -1,127 +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$ */
-
-////////////////////////////////////////////////////////////////////////
-//
-// AliTrackMap.cxx
-// description: 
-//   contains a relation between track label and it's index
-//   in a TreeH.
-//   The main method is At, it takes a particle label as an argument
-//   and returns the correponding entry in TreeH (many particles
-//   are usually stored in 1 TreeH entry, one has to check particle
-//   labels for each hit). 'At' returns:
-//       kNoEntry = -1 if the particle has no entry in TreeH
-//       kOutOfBounds = -2 if the particle label is out of bounds
-//                  
-//  Author: Jiri Chudoba (CERN), 2002
-//
-////////////////////////////////////////////////////////////////////////
-
-#include <Riostream.h>
-
-#include "AliLog.h"
-#include "AliTrackMap.h"
-
-ClassImp(AliTrackMap)
-
-//_______________________________________________________________________
-AliTrackMap::AliTrackMap():
-  fSize(0),
-  fArray(0)
-{
-  //
-  // default ctor
-  //
-}
-
-//_______________________________________________________________________
-AliTrackMap::AliTrackMap(const AliTrackMap& trm):
-  TNamed(trm),
-  fSize(0),
-  fArray(0)
-{
-  //
-  // default ctor
-  //
-  trm.Copy(*this);
-}
-
-//_______________________________________________________________________
-AliTrackMap::AliTrackMap(Int_t size, Int_t *array): 
-  TNamed("AliTrackMap", "AliTrackMap"),
-  fSize(size),
-  fArray(new Int_t[fSize])
-{
-  //
-  // ctor
-  //
-  for (Int_t i = 0; i < fSize; i++) fArray[i] = array[i];
-}
-
-//_______________________________________________________________________
-void AliTrackMap::Copy(TObject& ) const
-{
-  AliFatal("Not implemented");
-}
-
-//_______________________________________________________________________
-AliTrackMap::~AliTrackMap()
-{
-  //
-  // dtor
-  //
-  delete [] fArray;
-}
-
-//_______________________________________________________________________
-Int_t AliTrackMap::At(Int_t label) const
-{
-  //
-  // returns entry number in the TreeH corresponding to particle with 
-  // label label
-  //
-  if (label < 0 || label >= fSize) {
-    AliError(Form("label %d out of range, fSize = %d", label, fSize));
-    return kOutOfBounds;
-  }
-  return fArray[label];
-}
-
-//_______________________________________________________________________
-void AliTrackMap::SetEventNr(Int_t eventNr) 
-{
-  //
-  // map is identified by it's name, event number is part of it
-  //
-  char name[20];
-  sprintf(name,"AliTrackMap_%5.5d",eventNr);
-  SetName(name);  
-}
-
-//_______________________________________________________________________
-void AliTrackMap::PrintValues() const
-{
-  //
-  // method for debugging
-  //
-  cout<<this->GetName()<<" contains these values: "<<endl;
-  for (Int_t i = 0; i < fSize; i++) {
-    cout<<i<<"\t"<<fArray[i]<<"\n";
-  }
-}
-
diff --git a/STEER/AliTrackMap.h b/STEER/AliTrackMap.h
deleted file mode 100644 (file)
index b5f9239..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-#ifndef ALITRACKMAP_H
-#define ALITRACKMAP_H
-/* Copyright(c) 1998-2000, ALICE Experiment at CERN, All rights reserved. *
- * See cxx source for full Copyright notice                               */
-
-/* $Id$ */
-
-////////////////////////////////////////////////////////////////////////
-//
-// AliTrackMap.h
-// description:
-//   contains a relation between track label and it's index
-//   in a TreeH.
-//   See http://AliSoft.cern.ch/people/chudoba/classes/AliTrackMap.html
-//                  
-//  Author: Jiri Chudoba (CERN), 2002
-//
-////////////////////////////////////////////////////////////////////////
-
-#include "TNamed.h"
-
-typedef enum { kOutOfBounds = -2, kNoEntry} MapConsts_t;
-
-class AliTrackMap: public TNamed {
-
-public:
-  AliTrackMap();
-  AliTrackMap(Int_t size, Int_t *array);
-  AliTrackMap(const AliTrackMap& trm);
-  AliTrackMap& operator=(const AliTrackMap& trm)
-    {trm.Copy(*this); return(*this);}
-  ~AliTrackMap();
-  Int_t At(Int_t label) const;
-  Int_t Size() const {return fSize;}
-  void SetEventNr(Int_t eventNr);
-  void PrintValues() const;
-
-private:
-  void Copy(TObject &trm) const;
-
-  Int_t fSize;             // size of the array
-  Int_t *fArray;           //[fSize] actual map
-
-  ClassDef(AliTrackMap,1)  // connection between track label and TreeH indeces
-};
-
-#endif // ALITRACKMAP_H
-
-
-
-
-
index 096936f..1d6ff1a 100644 (file)
@@ -1,4 +1,4 @@
-set ( SRCS  AliRunLoader.cxx AliLoader.cxx AliDataLoader.cxx AliObjectLoader.cxx AliBaseLoader.cxx AliTreeLoader.cxx AliTaskLoader.cxx AliDetector.cxx AliDigit.cxx    AliHit.cxx AliRun.cxx AliGenerator.cxx AliVertexGenerator.cxx AliLego.cxx       AliModule.cxx   AliDigitNew.cxx AliGeometry.cxx AliRecPoint.cxx AliHitMap.cxx AliLegoGenerator.cxx AliLegoGeneratorXYZ.cxx AliLegoGeneratorPhiZ.cxx AliLegoGeneratorEta.cxx AliLegoGeneratorEtaR.cxx AliRndm.cxx AliDebugVolume.cxx AliConfig.cxx AliRunDigitizer.cxx AliDigitizer.cxx AliStream.cxx AliMergeCombi.cxx AliGausCorr.cxx AliTrackMap.cxx AliMemoryWatcher.cxx AliVertexer.cxx AliV0vertexer.cxx AliCascadeVertexer.cxx AliMC.cxx AliSimulation.cxx AliReconstruction.cxx AliVertexGenFile.cxx AliReconstructor.cxx AliGeomManager.cxx AliAlignObj.cxx AliAlignObjParams.cxx AliAlignObjMatrix.cxx AliMisAligner.cxx AliTriggerInput.cxx AliTriggerDetector.cxx AliTriggerConfiguration.cxx AliTriggerBCMask.cxx AliTriggerInteraction.cxx AliTriggerDescriptor.cxx AliTriggerClass.cxx AliTriggerCluster.cxx AliTriggerPFProtection.cxx AliCentralTrigger.cxx AliRieman.cxx AliTrackFitter.cxx AliTrackFitterRieman.cxx AliTrackFitterKalman.cxx AliTrackFitterStraight.cxx AliTrackResiduals.cxx AliTrackResidualsChi2.cxx AliTrackResidualsFast.cxx AliTrackResidualsLinear.cxx AliAlignmentTracks.cxx AliExpression.cxx AliCTPRawStream.cxx AliMathBase.cxx AliSignalProcesor.cxx AliTracker.cxx AliCluster.cxx AliCluster3D.cxx AliTrackleter.cxx AliHelix.cxx AliV0.cxx AliKink.cxx AliSelectorRL.cxx AliSurveyObj.cxx AliSurveyPoint.cxx AliSurveyToAlignObjs.cxx AliFstream.cxx AliCTPRawData.cxx AliQADataMaker.cxx AliGlobalQADataMaker.cxx AliQADataMakerSim.cxx AliQADataMakerRec.cxx AliCorrQADataMakerRec.cxx AliQAManager.cxx AliQAChecker.cxx AliCorrQAChecker.cxx AliGlobalQAChecker.cxx AliQACheckerBase.cxx AliQAThresholds.cxx AliMillepede.cxx AliPlaneEff.cxx AliTriggerRunScalers.cxx AliGRPPreprocessor.cxx AliGRPRecoParam.cxx AliRelAlignerKalman.cxx AliESDTagCreator.cxx AliGRPObject.cxx AliQAv1.cxx AliRunInfo.cxx AliEventInfo.cxx AliRecoParam.cxx AliDetectorRecoParam.cxx AliMillePedeRecord.cxx AliMillePede2.cxx AliMatrixSq.cxx AliVectorSparse.cxx AliMatrixSparse.cxx AliSymMatrix.cxx AliSymBDMatrix.cxx AliRectMatrix.cxx AliMinResSolve.cxx AliParamSolver.cxx AliGRPManager.cxx AliDCSArray.cxx AliLHCReader.cxx AliLHCDipValT.cxx AliLHCData.cxx AliCTPTimeParams.cxx AliCTPInputTimeParams.cxx AliLHCClockPhase.cxx AliLTUConfig.cxx)
+set ( SRCS  AliRunLoader.cxx AliLoader.cxx AliDataLoader.cxx AliObjectLoader.cxx AliBaseLoader.cxx AliTreeLoader.cxx AliTaskLoader.cxx AliDetector.cxx AliDigit.cxx    AliHit.cxx AliRun.cxx AliGenerator.cxx AliVertexGenerator.cxx AliLego.cxx       AliModule.cxx   AliDigitNew.cxx AliGeometry.cxx AliRecPoint.cxx AliHitMap.cxx AliLegoGenerator.cxx AliLegoGeneratorXYZ.cxx AliLegoGeneratorPhiZ.cxx AliLegoGeneratorEta.cxx AliLegoGeneratorEtaR.cxx AliRndm.cxx AliDebugVolume.cxx AliConfig.cxx AliRunDigitizer.cxx AliDigitizer.cxx AliStream.cxx AliMergeCombi.cxx AliGausCorr.cxx AliMemoryWatcher.cxx AliVertexer.cxx AliV0vertexer.cxx AliCascadeVertexer.cxx AliMC.cxx AliSimulation.cxx AliReconstruction.cxx AliVertexGenFile.cxx AliReconstructor.cxx AliGeomManager.cxx AliAlignObj.cxx AliAlignObjParams.cxx AliAlignObjMatrix.cxx AliMisAligner.cxx AliTriggerInput.cxx AliTriggerDetector.cxx AliTriggerConfiguration.cxx AliTriggerBCMask.cxx AliTriggerInteraction.cxx AliTriggerDescriptor.cxx AliTriggerClass.cxx AliTriggerCluster.cxx AliTriggerPFProtection.cxx AliCentralTrigger.cxx AliRieman.cxx AliTrackFitter.cxx AliTrackFitterRieman.cxx AliTrackFitterKalman.cxx AliTrackFitterStraight.cxx AliTrackResiduals.cxx AliTrackResidualsChi2.cxx AliTrackResidualsFast.cxx AliTrackResidualsLinear.cxx AliAlignmentTracks.cxx AliExpression.cxx AliCTPRawStream.cxx AliMathBase.cxx AliSignalProcesor.cxx AliTracker.cxx AliCluster.cxx AliCluster3D.cxx AliTrackleter.cxx AliHelix.cxx AliV0.cxx AliKink.cxx AliSelectorRL.cxx AliSurveyObj.cxx AliSurveyPoint.cxx AliSurveyToAlignObjs.cxx AliFstream.cxx AliCTPRawData.cxx AliQADataMaker.cxx AliGlobalQADataMaker.cxx AliQADataMakerSim.cxx AliQADataMakerRec.cxx AliCorrQADataMakerRec.cxx AliQAManager.cxx AliQAChecker.cxx AliCorrQAChecker.cxx AliGlobalQAChecker.cxx AliQACheckerBase.cxx AliQAThresholds.cxx AliMillepede.cxx AliPlaneEff.cxx AliTriggerRunScalers.cxx AliGRPPreprocessor.cxx AliGRPRecoParam.cxx AliRelAlignerKalman.cxx AliESDTagCreator.cxx AliGRPObject.cxx AliQAv1.cxx AliRunInfo.cxx AliEventInfo.cxx AliRecoParam.cxx AliDetectorRecoParam.cxx AliMillePedeRecord.cxx AliMillePede2.cxx AliMatrixSq.cxx AliVectorSparse.cxx AliMatrixSparse.cxx AliSymMatrix.cxx AliSymBDMatrix.cxx AliRectMatrix.cxx AliMinResSolve.cxx AliParamSolver.cxx AliGRPManager.cxx AliDCSArray.cxx AliLHCReader.cxx AliLHCDipValT.cxx AliLHCData.cxx AliCTPTimeParams.cxx AliCTPInputTimeParams.cxx AliLHCClockPhase.cxx AliLTUConfig.cxx)
 
 string(REPLACE ".cxx" ".h" HDRS  "${SRCS}")
 
index 197ea6d..9ab2d61 100644 (file)
@@ -47,7 +47,6 @@
 #pragma link C++ class  AliTaskLoader+;
 #pragma link C++ class  AliRunLoader+;
 #pragma link C++ class  AliReconstructor+;
-#pragma link C++ class  AliTrackMap+;
 #pragma link C++ class  AliMemoryWatcher+;
 #pragma link C++ class  AliMC+;
 #pragma link C++ class  AliSimulation+;