]> git.uio.no Git - u/mrichter/AliRoot.git/blob - FASTSIM/AliFastResponse.h
Base classes for fast simulation. First commit.
[u/mrichter/AliRoot.git] / FASTSIM / AliFastResponse.h
1 #ifndef ALIFASTRESPONSE_H
2 #define ALIFASTRESPONSE_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
8 #include <TNamed.h>
9 class AliFastParticle;
10
11 class AliFastResponse : public TNamed {
12  public:
13     AliFastResponse(){;}
14     AliFastResponse(char* Name, char* Title) : TNamed(Name, Title) {}
15     virtual ~AliFastResponse(){}
16     virtual void    Init()                                                  = 0;
17     virtual Float_t Evaluate(Float_t  pt,  Float_t  theta , Float_t   phi)
18         {return -1.;}
19     virtual void    Evaluate(Float_t   p,  Float_t  theta , Float_t   phi,
20                              Float_t& pS,  Float_t& thetaS, Float_t&  phiS);
21     virtual Float_t Evaluate(AliFastParticle* part);
22  protected:
23     ClassDef(AliFastResponse,1)    // Base class for fast response
24 };
25
26 #endif