65 Error(
"AliClusters",
"%s is not a valid class name", classname);
66 if (!
fClass->InheritsFrom(TObject::Class()))
67 Error(
"AliClusters",
"%s does not inherit from TObject", classname);
76 if (
this == ¶m)
return (*
this);
99 ::Fatal(
"AliClusters::SetClass",
"ROOT system not initialized");
103 Error(
"AliClusters",
"%s is not a valid class name", classname);
106 if (!
fClass->InheritsFrom(TObject::Class())) {
107 Error(
"AliClusters",
"%s does not inherit from TObject", classname);
119 Error(
"AliClusters",
"cluster type not initialised \n SetClass before!");
145 Error(
"AliClusters",
"class type not specified");
159 if (y <= cl->GetY())
return 0;
163 for (; b<e; m=(b+e)/2) {
165 if (y > cl->
GetY()) b=m+1;
173 Int_t color, Int_t size, Int_t style)
179 for (Int_t i=0;i<ncl;i++){
181 TMarker * marker =
new TMarker;
182 marker->SetX(cl->
GetX()+shiftx);
183 marker->SetY(cl->
GetY()+shifty);
184 marker->SetMarkerSize(size);
185 marker->SetMarkerStyle(style);
186 marker->SetMarkerColor(color);
const Int_t kDefSize
defalut size
void SetArray(Int_t length)
virtual Int_t Find(Double_t y) const
TClonesArray * fClusters
array of clusters
TClass * fClass
! type of cluster class
const TObject * operator[](Int_t i)
void DrawClusters(Float_t shiftx, Float_t shifty, Int_t color, Int_t size, Int_t style)
Bool_t SetClass(const Text_t *classname)
Time Projection Chamber clusters objects.
virtual TObject * InsertCluster(const TObject *c)
AliClusters & operator=(const AliClusters ¶m)