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.3 2000/06/30 12:07:49 kowal2
19 Updated from the TPC-PreRelease branch
21 Revision 1.2.4.4 2000/06/26 07:39:42 kowal2
22 Changes to obey the coding rules
24 Revision 1.2.4.3 2000/06/25 08:38:41 kowal2
25 Splitted from AliTPCtracking
27 Revision 1.2.4.2 2000/06/14 16:45:13 kowal2
28 Improved algorithms. Compiler warnings removed.
30 Revision 1.2.4.1 2000/06/09 07:09:29 kowal2
32 Clustering and tracking classes are splitted from the simulation ones
34 Revision 1.2 2000/04/17 09:37:33 kowal2
35 removed obsolete AliTPCDigitsDisplay.C
37 Revision 1.1.4.2 2000/04/10 11:34:02 kowal2
39 Clusters handling in a new data structure
43 ///////////////////////////////////////////////////////////////////////////////
45 // AliClustersArray object //
47 // Origin: Marian Ivanov , GSI Darmstadt //
50 ///////////////////////////////////////////////////////////////////////////////
55 #include "AliSegmentID.h"
56 #include "TObjArray.h"
58 #include "AliClusters.h"
59 #include "AliDetectorParam.h"
60 #include "AliClustersArray.h"
64 ClassImp(AliClustersArray)
67 AliClustersArray::AliClustersArray()
76 Bool_t AliClustersArray::SetClusterType(Text_t * classname)
79 //set type of Clusters
81 if ( fClusterType !=0 ) {
87 ::Fatal("AliClustersArray", "ROOT system not initialized");
89 fClusterType = gROOT->GetClass(classname);
91 Error("AliClustersArray", "%s is not a valid class name", classname);
94 if (!fClusterType->InheritsFrom(TObject::Class())) {
95 Error("AliClustersArray", "%s does not inherit from TObject", classname);
101 Bool_t AliClustersArray::Setup(const AliDetectorParam *param)
104 //make copy of param object
109 Bool_t AliClustersArray::SetParam(AliDetectorParam * param)
114 Bool_t AliClustersArray::SetFinder(AliClustersFinder * finder)