]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TENDER/Tender/AliTenderSupply.h
Split: Tender*, EventMixing out of ANALYSIS
[u/mrichter/AliRoot.git] / TENDER / Tender / AliTenderSupply.h
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
17 class AliTender;
18
19 class AliTenderSupply : public TNamed {
20
21 protected:
22   const AliTender          *fTender;         // Tender car
23   
24 public:  
25   AliTenderSupply();
26   AliTenderSupply(const char *name, const AliTender *tender=NULL);
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;
34   
35   void                      SetTender(const AliTender *tender) {fTender = tender;}
36     
37   ClassDef(AliTenderSupply,1)  // Base class for tender user algorithms
38 };
39 #endif