1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
18 ///////////////////////////////////////////////////////////////////////////////
20 // AliClustersArray object //
22 // Origin: Marian Ivanov , GSI Darmstadt //
25 ///////////////////////////////////////////////////////////////////////////////
30 #include "AliSegmentID.h"
31 #include "TObjArray.h"
33 #include "AliClusters.h"
34 #include "AliDetectorParam.h"
35 #include "AliClustersArray.h"
39 ClassImp(AliClustersArray)
42 AliClustersArray::AliClustersArray():AliSegmentArray(),
53 Bool_t AliClustersArray::SetClusterType(const char * classname)
56 //set type of Clusters
58 if ( fClusterType !=0 ) {
64 ::Fatal("AliClustersArray", "ROOT system not initialized");
66 fClusterType = gROOT->GetClass(classname);
68 Error("AliClustersArray", "%s is not a valid class name", classname);
71 if (!fClusterType->InheritsFrom(TObject::Class())) {
72 Error("AliClustersArray", "%s does not inherit from TObject", classname);
78 Bool_t AliClustersArray::Setup(const AliDetectorParam */*param*/)
81 //make copy of param object
86 Bool_t AliClustersArray::SetParam(AliDetectorParam * /*param*/)
91 Bool_t AliClustersArray::SetFinder(AliClustersFinder * /*finder*/)