Coding rule violations corrected.
[u/mrichter/AliRoot.git] / ITS / AliITSVertexerIons.h
1 #ifndef ALIITSVERTEXERIONS_H
2 #define ALIITSVERTEXERIONS_H
3
4 #include <AliITSVertexer.h>
5
6 //////////////////////////////////////////////////////////////////////
7 // AliITSVertexerIons  is a class for full 3D primary vertex        //
8 // finding optimized for Ion-Ion interactions                       //
9 //                                                                  // 
10 //                                                                  //
11 //                                                                  //
12 //                                                                  //
13 // Written by Giuseppe Lo Re and Francesco Riggi                    //
14 // Giuseppe.Lore@ct.infn.it                                         //
15 // Franco.Riggi@ct.infn.it                                          //
16 //                                                                  //
17 // Release date: Mar 2004                                           //
18 //                                                                  //
19 //                                                                  //       
20 //////////////////////////////////////////////////////////////////////
21
22 class AliITS;
23 class TH1F;
24
25 class AliITSVertexerIons : public AliITSVertexer {
26
27  public:
28   AliITSVertexerIons();
29   AliITSVertexerIons(TString fn); 
30   virtual ~AliITSVertexerIons(); // destructor
31   virtual AliESDVertex* FindVertexForCurrentEvent(Int_t event);
32   virtual void FindVertices();
33   virtual void PhiFunc(Double_t &x,Double_t &y,Double_t &phi);
34   virtual void PrintStatus() const;
35   Int_t GetNpThreshold() const {return fNpThreshold;}
36   void SetNpThreshold(Int_t t = 500){fNpThreshold = t;}
37   Double_t GetMaxDeltaPhi() const {return fMaxDeltaPhi;}
38   void SetMaxDeltaPhi(Double_t dphi=0.45) {fMaxDeltaPhi=dphi;}
39   Double_t GetMaxDeltaZ() const {return fMaxDeltaPhi;}
40   void SetMaxDeltaZ(Double_t dz=0.15) {fMaxDeltaZ=dz;}
41   Double_t FindMaxAround(Double_t point, TH1F *h, Double_t distance);
42  protected:
43   AliITS *fITS;            //! pointer to the AliITS object
44   Int_t fNpThreshold;      // minimum number of rec points for vertexing
45   Double_t fMaxDeltaPhi;   // Maximum phi difference for rec points correlation
46   Double_t fMaxDeltaZ;     // Maximum z difference for rec points correlation
47   AliITSVertexerIons(const AliITSVertexerIons &source); // copy constructor (NO copy allowed: the constructor is protected to avoid misuse)   
48   AliITSVertexerIons& operator=(const AliITSVertexerIons &source); // assignment operator (NO assignment allowed)
49
50   ClassDef(AliITSVertexerIons,3);
51 };
52
53 #endif