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 Revision 1.4 2000/10/05 15:59:31 kowal2
19 Forward declarations. Changes due to a new class AliComplexCluster.
21 Revision 1.3 2000/06/30 12:07:49 kowal2
22 Updated from the TPC-PreRelease branch
24 Revision 1.2.4.4 2000/06/26 07:39:42 kowal2
25 Changes to obey the coding rules
27 Revision 1.2.4.3 2000/06/25 08:38:41 kowal2
28 Splitted from AliTPCtracking
30 Revision 1.2.4.2 2000/06/14 16:45:13 kowal2
31 Improved algorithms. Compiler warnings removed.
33 Revision 1.2.4.1 2000/06/09 07:09:29 kowal2
35 Clustering and tracking classes are splitted from the simulation ones
37 Revision 1.2 2000/04/17 09:37:33 kowal2
38 removed obsolete AliTPCDigitsDisplay.C
40 Revision 1.1.4.2 2000/04/10 11:34:02 kowal2
42 Clusters handling in a new data structure
46 ///////////////////////////////////////////////////////////////////////////////
48 // AliClustersArray object //
50 // Origin: Marian Ivanov , GSI Darmstadt //
53 ///////////////////////////////////////////////////////////////////////////////
58 #include "AliSegmentID.h"
59 #include "TObjArray.h"
61 #include "AliClusters.h"
62 #include "AliDetectorParam.h"
63 #include "AliClustersArray.h"
67 ClassImp(AliClustersArray)
70 AliClustersArray::AliClustersArray()
80 Bool_t AliClustersArray::SetClusterType(Text_t * classname)
83 //set type of Clusters
85 if ( fClusterType !=0 ) {
91 ::Fatal("AliClustersArray", "ROOT system not initialized");
93 fClusterType = gROOT->GetClass(classname);
95 Error("AliClustersArray", "%s is not a valid class name", classname);
98 if (!fClusterType->InheritsFrom(TObject::Class())) {
99 Error("AliClustersArray", "%s does not inherit from TObject", classname);
105 Bool_t AliClustersArray::Setup(const AliDetectorParam *param)
108 //make copy of param object
113 Bool_t AliClustersArray::SetParam(AliDetectorParam * param)
118 Bool_t AliClustersArray::SetFinder(AliClustersFinder * finder)