ROOT logo
#ifndef ALIFASTRESPONSE_H
#define ALIFASTRESPONSE_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 * See cxx source for full Copyright notice                               */

/* $Id$ */

// Base class for fast detector response simulation. 
// The 3-vector of the particle can be passes as
// a TParticle or as
// transverse momentum pt, polar angle theta and azimuthal angle phi
// Author: Andreas Morsch
// andreas.morsch@cern.ch

#include <TNamed.h>
class AliFastParticle;

class AliFastResponse : public TNamed {
 public:
    AliFastResponse(){;}
    AliFastResponse(const char* Name, const char* Title): TNamed(Name, Title){}
    virtual ~AliFastResponse(){}
    virtual void    Init()                                                  = 0;

    virtual void    Evaluate(Float_t charge, Float_t   p,  Float_t  theta , Float_t   phi,
			     Float_t& pS,  Float_t& thetaS, Float_t&  phiS);
    virtual void    Evaluate(Float_t   p,  Float_t  theta , Float_t   phi,
			     Float_t& pS,  Float_t& thetaS, Float_t&  phiS);
 
    virtual Float_t Evaluate(Float_t charge, Float_t pt, Float_t theta, Float_t phi);
 
    void Copy(TObject&) const;
 protected:
    ClassDef(AliFastResponse,1)    // Base class for fast response
};

#endif
 AliFastResponse.h:1
 AliFastResponse.h:2
 AliFastResponse.h:3
 AliFastResponse.h:4
 AliFastResponse.h:5
 AliFastResponse.h:6
 AliFastResponse.h:7
 AliFastResponse.h:8
 AliFastResponse.h:9
 AliFastResponse.h:10
 AliFastResponse.h:11
 AliFastResponse.h:12
 AliFastResponse.h:13
 AliFastResponse.h:14
 AliFastResponse.h:15
 AliFastResponse.h:16
 AliFastResponse.h:17
 AliFastResponse.h:18
 AliFastResponse.h:19
 AliFastResponse.h:20
 AliFastResponse.h:21
 AliFastResponse.h:22
 AliFastResponse.h:23
 AliFastResponse.h:24
 AliFastResponse.h:25
 AliFastResponse.h:26
 AliFastResponse.h:27
 AliFastResponse.h:28
 AliFastResponse.h:29
 AliFastResponse.h:30
 AliFastResponse.h:31
 AliFastResponse.h:32
 AliFastResponse.h:33
 AliFastResponse.h:34
 AliFastResponse.h:35
 AliFastResponse.h:36
 AliFastResponse.h:37