1 #ifndef ALIITSCLUSTERV2_H
2 #define ALIITSCLUSTERV2_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
6 //-------------------------------------------------------------------------
9 // Origin: Iouri Belikov, CERN, Jouri.Belikov@cern.ch
10 //-------------------------------------------------------------------------
12 #include "AliCluster.h"
13 #include "AliITSrecoV2.h"
15 //_____________________________________________________________________________
16 class AliITSclusterV2 : public AliCluster {
18 AliITSclusterV2() : AliCluster() {fQ=0;}
19 AliITSclusterV2(Int_t *lab,Float_t *hit) : AliCluster(lab,hit) {
23 void Use() {fSigmaY2=-fSigmaY2;}
24 void SetQ(Float_t q) {fQ=q;}
26 Int_t IsUsed() const {return (fSigmaY2<0) ? 1 : 0;}
27 Float_t GetQ() const {return fQ;}
28 Int_t GetDetectorIndex() const { return fIndex; }
31 Int_t fIndex; // detector index
32 Float_t fQ ; // Q of cluster (in ADC counts)
34 ClassDef(AliITSclusterV2,1) // ITS clusters