EMCAL/DCAL Trigger Mapping for Run 2
[u/mrichter/AliRoot.git] / EVGEN / AliGenLib.h
CommitLineData
b22ee262 1#ifndef ALIGENLIB_H
2#define ALIGENLIB_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
5d1f1244 6/* $Id$ */
b22ee262 7
8#include <TObject.h>
65fb704d 9
65fb704d 10class TRandom;
b22ee262 11
12class AliGenLib :
65fb704d 13 public TObject
b22ee262 14{
6078e216 15public:
16 //
675e9664 17 virtual ~AliGenLib(){}
75e0cc59 18 typedef Double_t (*GenFunc) (const Double_t *, const Double_t *);
65fb704d 19 typedef Int_t (*GenFuncIp)(TRandom *);
d5b6b483 20 virtual GenFunc GetPt(Int_t param, const char *tname) const = 0;
21 virtual GenFunc GetY (Int_t param, const char *tname) const = 0;
22 virtual GenFuncIp GetIp(Int_t param, const char *tname) const = 0;
6078e216 23 virtual GenFunc GetV2(Int_t, const char *) const { return NoV2; }
24 static Double_t NoV2(const Double_t *, const Double_t *) { return 0; }
762c0d1d 25 ClassDef(AliGenLib,0) // Library providing y and pT parameterisations
b22ee262 26};
27#endif