]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSclustererV2.h
set RefPMT=2 for LHC10b re-rconstruction
[u/mrichter/AliRoot.git] / ITS / AliITSclustererV2.h
index 028403f6410df2a2317e8babd06eccab2a533649..3c0bf27f105b261facf1329c8b1c8708aa3437af 100644 (file)
@@ -15,7 +15,6 @@ class TFile;
 class TTree;
 class TClonesArray;
 
-class AliITSgeom;
 class AliITSclusterV2;
 class AliRawReader;
 class AliITSRawStream;
@@ -23,7 +22,7 @@ class AliITSRawStream;
 class AliITSclustererV2 : public TObject {
 public:
   AliITSclustererV2();
-  AliITSclustererV2(const AliITSgeom *geom);
+  AliITSclustererV2(const Char_t *geom);
 
   void SetEvent(Int_t event) { fEvent=event; }
   Int_t Digits2Clusters(TTree *in, TTree *out);
@@ -37,13 +36,7 @@ public:
 
   void RecPoints2Clusters(const TClonesArray *p, Int_t idx, TClonesArray *c);
 
-private:
   class Ali1Dcluster {
-  private:
-    Float_t fY; //cluster position
-    Float_t fQ; //cluster charge
-    Int_t fNd;  //number of digits
-    Int_t fLab[3]; //track label
   public:
     void SetY(Float_t y) {fY=y;}
     void SetQ(Float_t q) {fQ=q;}
@@ -53,6 +46,11 @@ private:
     Float_t GetQ() const {return fQ;}
     Int_t GetNd()const {return fNd;}
     Int_t GetLabel(Int_t lab) const { return fLab[lab]; }
+  private:
+    Float_t fY; //cluster position
+    Float_t fQ; //cluster charge
+    Int_t fNd;  //number of digits
+    Int_t fLab[3]; //track label
   };
   class AliBin {
   public:
@@ -60,6 +58,7 @@ private:
     void SetIndex(UInt_t idx) {fIndex=idx;}
     void SetQ(UShort_t q)  {fQ=q;}
     void SetMask(UInt_t m) {fMask=m;}
+    void Reset() {fIndex=0; fMask=0xFFFFFFFE; fQ=0;}
 
     void Use() {fMask&=0xFFFFFFFE;}
     Bool_t IsNotUsed() const {return (fMask&1);}