class TTree;
class TClonesArray;
-class AliITSgeom;
class AliITSclusterV2;
class AliRawReader;
class AliITSRawStream;
class AliITSclustererV2 : public TObject {
public:
- AliITSclustererV2(){ fEvent=0; fI=0;}
- AliITSclustererV2(const AliITSgeom *geom);
+ AliITSclustererV2();
+ AliITSclustererV2(const Char_t *geom);
void SetEvent(Int_t event) { fEvent=event; }
Int_t Digits2Clusters(TTree *in, TTree *out);
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;}
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:
- AliBin() {fIndex=0; fQ=0; fMask=0xFFFFFFFE;}
+ AliBin():fIndex(0),fMask(0xFFFFFFFE),fQ(0) {}
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);}