]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ANALYSIS/TenderSupplies/AliVtxTenderSupply.h
Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / ANALYSIS / TenderSupplies / AliVtxTenderSupply.h
1 #ifndef ALIVTXTENDERSUPPLY_H
2 #define ALIVTXTENDERSUPPLY_H
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6
7 ////////////////////////////////////////////////////////////////////////
8 //                                                                    //
9 //  Vertex tender, redo primary vertex on the fly                     //
10 //                                                                    //
11 ////////////////////////////////////////////////////////////////////////
12
13 #include <AliTenderSupply.h>
14
15 class AliESDVertex;
16
17 class AliVtxTenderSupply: public AliTenderSupply {
18   
19 public:
20   AliVtxTenderSupply();
21   AliVtxTenderSupply(const char *name, const AliTender *tender=NULL);
22   
23   virtual ~AliVtxTenderSupply(){;}
24   
25   virtual void              Init(){;}
26   virtual void              ProcessEvent();
27   //
28   Int_t   GetRefitAlgo()              const {return fRefitAlgo;}
29   void    SetRefitAlgo(Int_t alg=-1)        {fRefitAlgo = alg;}
30   //
31 private:
32   
33   AliVtxTenderSupply(const AliVtxTenderSupply&c);
34   AliVtxTenderSupply& operator= (const AliVtxTenderSupply&c);
35
36   AliESDVertex *fDiamond;           //!Information about mean vertex  
37   Int_t         fRefitAlgo;         //! optional request for vertex refit 
38
39   ClassDef(AliVtxTenderSupply, 1);  // Primary vertex tender task
40 };
41
42
43 #endif
44