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 */
8 // Base class for fast detector response simulation.
9 // The 3-vector of the particle can be passes as
11 // transverse momentum pt, polar angle theta and azimuthal angle phi
12 // Author: Andreas Morsch
13 // andreas.morsch@cern.ch
16 class AliFastParticle;
18 class AliFastResponse : public TNamed {
21 AliFastResponse(const char* Name, const char* Title): TNamed(Name, Title){}
22 virtual ~AliFastResponse(){}
23 virtual void Init() = 0;
25 virtual void Evaluate(Float_t charge, Float_t p, Float_t theta , Float_t phi,
26 Float_t& pS, Float_t& thetaS, Float_t& phiS);
27 virtual void Evaluate(Float_t p, Float_t theta , Float_t phi,
28 Float_t& pS, Float_t& thetaS, Float_t& phiS);
30 virtual Float_t Evaluate(Float_t charge, Float_t pt, Float_t theta, Float_t phi);
32 void Copy(TObject&) const;
34 ClassDef(AliFastResponse,1) // Base class for fast response