Changing to centrality dependent corrections
[u/mrichter/AliRoot.git] / ANALYSIS / TenderSupplies / AliVtxTenderSupply.h
CommitLineData
e75408ba 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
15class AliESDVertex;
16
17class AliVtxTenderSupply: public AliTenderSupply {
18
19public:
20 AliVtxTenderSupply();
21 AliVtxTenderSupply(const char *name, const AliTender *tender=NULL);
22
23 virtual ~AliVtxTenderSupply(){;}
24
25 virtual void Init(){;}
26 virtual void ProcessEvent();
158b9855 27 //
28 Int_t GetRefitAlgo() const {return fRefitAlgo;}
29 void SetRefitAlgo(Int_t alg=-1) {fRefitAlgo = alg;}
30 //
e75408ba 31private:
32
33 AliVtxTenderSupply(const AliVtxTenderSupply&c);
34 AliVtxTenderSupply& operator= (const AliVtxTenderSupply&c);
35
36 AliESDVertex *fDiamond; //!Information about mean vertex
158b9855 37 Int_t fRefitAlgo; //! optional request for vertex refit
e75408ba 38
39 ClassDef(AliVtxTenderSupply, 1); // Primary vertex tender task
40};
41
42
43#endif
44