1 #ifndef ALIVTXTENDERSUPPLY_H
2 #define ALIVTXTENDERSUPPLY_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 ////////////////////////////////////////////////////////////////////////
9 // Vertex tender, redo primary vertex on the fly //
11 ////////////////////////////////////////////////////////////////////////
13 #include <AliTenderSupply.h>
17 class AliVtxTenderSupply: public AliTenderSupply {
21 AliVtxTenderSupply(const char *name, const AliTender *tender=NULL);
23 virtual ~AliVtxTenderSupply(){;}
25 virtual void Init(){;}
26 virtual void ProcessEvent();
28 Int_t GetRefitAlgo() const {return fRefitAlgo;}
29 void SetRefitAlgo(Int_t alg=-1) {fRefitAlgo = alg;}
33 AliVtxTenderSupply(const AliVtxTenderSupply&c);
34 AliVtxTenderSupply& operator= (const AliVtxTenderSupply&c);
36 AliESDVertex *fDiamond; //!Information about mean vertex
37 Int_t fRefitAlgo; //! optional request for vertex refit
39 ClassDef(AliVtxTenderSupply, 1); // Primary vertex tender task