]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSclusterV2.h
Checking in the seeds of new cluster fitting code.
[u/mrichter/AliRoot.git] / ITS / AliITSclusterV2.h
CommitLineData
006b5f7f 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 */
5
6//-------------------------------------------------------------------------
7// ITS Cluster Class
8//
9// Origin: Iouri Belikov, CERN, Jouri.Belikov@cern.ch
10//-------------------------------------------------------------------------
11
12#include "AliCluster.h"
13#include "AliITSrecoV2.h"
14
15//_____________________________________________________________________________
16class AliITSclusterV2 : public AliCluster {
17public:
18 AliITSclusterV2() : AliCluster() {fQ=0;}
19 AliITSclusterV2(Int_t *lab,Float_t *hit) : AliCluster(lab,hit) {
20 fIndex=lab[3];
21 fQ=hit[4];
22 }
23 void Use() {fSigmaY2=-fSigmaY2;}
24 void SetQ(Float_t q) {fQ=q;}
25
26 Int_t IsUsed() const {return (fSigmaY2<0) ? 1 : 0;}
27 Float_t GetQ() const {return fQ;}
28 Int_t GetDetectorIndex() const { return fIndex; }
29
30private:
31 Int_t fIndex; // detector index
32 Float_t fQ ; // Q of cluster (in ADC counts)
33
34 ClassDef(AliITSclusterV2,1) // ITS clusters
35};
36
37#endif
38
39