Warnings corrected.
[u/mrichter/AliRoot.git] / FASTSIM / AliFastResponse.h
CommitLineData
8bb5c9a6 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
a42548b0 8// Base class for fast detector response simulation.
9// The 3-vector of the particle can be passes as
10// a TParticle or as
11// transverse momentum pt, polar angle theta and azimuthal angle phi
12// Author: Andreas Morsch
13// andreas.morsch@cern.ch
14
8bb5c9a6 15#include <TNamed.h>
16class AliFastParticle;
17
18class AliFastResponse : public TNamed {
19 public:
20 AliFastResponse(){;}
15a060e4 21 AliFastResponse(const char* Name, const char* Title): TNamed(Name, Title){}
8bb5c9a6 22 virtual ~AliFastResponse(){}
23 virtual void Init() = 0;
20432218 24
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);
8bb5c9a6 27 virtual void Evaluate(Float_t p, Float_t theta , Float_t phi,
28 Float_t& pS, Float_t& thetaS, Float_t& phiS);
20432218 29
30 virtual Float_t Evaluate(Float_t charge, Float_t pt, Float_t theta, Float_t phi);
31
a42548b0 32 void Copy(TObject&) const;
8bb5c9a6 33 protected:
34 ClassDef(AliFastResponse,1) // Base class for fast response
35};
36
37#endif