]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TPC/AliClustersArray.cxx
Add outliers map to the statistical functions
[u/mrichter/AliRoot.git] / TPC / AliClustersArray.cxx
CommitLineData
cc80f89e 1/**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
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 **************************************************************************/
15
88cb7938 16/* $Id$ */
cc80f89e 17
18///////////////////////////////////////////////////////////////////////////////
19// //
73042f01 20// AliClustersArray object //
cc80f89e 21//
73042f01 22// Origin: Marian Ivanov , GSI Darmstadt //
cc80f89e 23// //
24// //
25///////////////////////////////////////////////////////////////////////////////
26
27#include "TObject.h"
28#include "TClass.h"
29#include <TROOT.h>
30#include "AliSegmentID.h"
31#include "TObjArray.h"
cc80f89e 32
cc80f89e 33#include "AliClusters.h"
cc80f89e 34#include "AliDetectorParam.h"
35#include "AliClustersArray.h"
36
37
38
39ClassImp(AliClustersArray)
40//
41
179c6296 42 AliClustersArray::AliClustersArray():AliSegmentArray(),
43 fParam(0),
44 fClFinder(0),
45 fClusterType(0)
cc80f89e 46{
47 //
48 //Default constructor
49 //
179c6296 50
cc80f89e 51}
52
8e8eae84 53Bool_t AliClustersArray::SetClusterType(const char * classname)
cc80f89e 54{
55 //
56 //set type of Clusters
57 //
58 if ( fClusterType !=0 ) {
59 delete fClusterType;
60 fClusterType = 0;
61 }
62
63 if (!gROOT)
73042f01 64 ::Fatal("AliClustersArray", "ROOT system not initialized");
cc80f89e 65
66 fClusterType = gROOT->GetClass(classname);
67 if (!fClusterType) {
73042f01 68 Error("AliClustersArray", "%s is not a valid class name", classname);
cc80f89e 69 return kFALSE;
70 }
73042f01 71 if (!fClusterType->InheritsFrom(TObject::Class())) {
72 Error("AliClustersArray", "%s does not inherit from TObject", classname);
cc80f89e 73 return kFALSE;
74 }
75 return kTRUE;
76}
77
176aff27 78Bool_t AliClustersArray::Setup(const AliDetectorParam */*param*/)
cc80f89e 79{
80 //
81 //make copy of param object
82
83 return kTRUE;
84}
85
176aff27 86Bool_t AliClustersArray::SetParam(AliDetectorParam * /*param*/)
cc80f89e 87{
88 return kTRUE;
89}
90
176aff27 91Bool_t AliClustersArray::SetFinder(AliClustersFinder * /*finder*/)
cc80f89e 92{
93 return kTRUE;
94}