]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TENDER/Tender/AliTenderSupply.h
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / TENDER / Tender / AliTenderSupply.h
CommitLineData
106c7c4e 1#ifndef ALITENDERSUPPLY_H
2#define ALITENDERSUPPLY_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7// Author: Andrei Gheata, 01/09/2009
8
9//==============================================================================
10// AliTenderSupply - Base class for user-defined ESD additions and corrections.
11//==============================================================================
12
13#ifndef ROOT_TNamed
14#include "TNamed.h"
15#endif
16
17class AliTender;
18
19class AliTenderSupply : public TNamed {
20
af71a55f 21protected:
f91aec70 22 const AliTender *fTender; // Tender car
106c7c4e 23
24public:
25 AliTenderSupply();
af71a55f 26 AliTenderSupply(const char *name, const AliTender *tender=NULL);
106c7c4e 27 AliTenderSupply(const AliTenderSupply &other);
28 virtual ~AliTenderSupply();
29 AliTenderSupply& operator=(const AliTenderSupply &other);
30
31 // Run control
32 virtual void Init() = 0;
33 virtual void ProcessEvent() = 0;
af71a55f 34
35 void SetTender(const AliTender *tender) {fTender = tender;}
106c7c4e 36
37 ClassDef(AliTenderSupply,1) // Base class for tender user algorithms
38};
39#endif