- fNobjects = 0;
- fSegmentation = seg;
- fNpz = fSegmentation->Npz();
- fNpx = fSegmentation->Npx();
- fMaxIndex = fNpz*fNpx+fNpx; // 2 halves of detector
- fHitMap = new Int_t[fMaxIndex];
- fObjects = obj;
- if(fObjects) fNobjects = fObjects->GetEntriesFast();
- fMapThreshold = thr;
- ClearMap();
+ fNpz = fSegmentation->Npz();
+ fNpx = fSegmentation->Npx();
+ fMaxIndex = fNpz*fNpx+fNpx; // 2 halves of detector
+ fHitMap = new Int_t[fMaxIndex];
+ if(fObjects) fNobjects = fObjects->GetEntriesFast();
+ ClearMap();
+}
+//______________________________________________________________________
+AliITSMapA1::AliITSMapA1(AliITSsegmentation *seg, TObjArray *obj, TArrayI thr):
+fSegmentation(seg),
+fNpx(0),
+fNpz(0),
+fObjects(obj),
+fNobjects(0),
+fMaxIndex(0),
+fMapThresholdArr(thr),
+fHitMap(0),
+fMapThreshold(0){
+ //constructor
+
+ fNpz = fSegmentation->Npz();
+ fNpx = fSegmentation->Npx();
+ fMaxIndex = fNpz*fNpx+fNpx; // 2 halves of detector
+ fHitMap = new Int_t[fMaxIndex];
+ if(fObjects) fNobjects = fObjects->GetEntriesFast();
+ ClearMap();