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

/* $Id$ */

// Realisation of AliFastResponse for the
// fast simulation of the muon spectrometer acceptance.
// The acceptance depends on the muon 3-vector which can be passed as (pt, theta, phi), 
// where pt is the transverse momentum, theta the polar angle and phi the azimuthal angle.
// Author: Andreas Morsch
// andreas.morsch@cern.ch 

#include "AliFastResponse.h"
class AliMUONFastTracking;

class AliFastMuonTrackingAcc :  public AliFastResponse {
 public:
    AliFastMuonTrackingAcc();
    AliFastMuonTrackingAcc(const AliFastMuonTrackingAcc& acc);
    virtual ~AliFastMuonTrackingAcc(){;}
    void SetBackground(Float_t bg = 1.) {fBackground = bg;}
    void SetCharge(Float_t charge = 1.) {fCharge     = charge;}
    virtual void    Init();
    virtual Float_t Evaluate(Float_t charge, Float_t pt, Float_t theta, Float_t phi);
    virtual void    Evaluate(Float_t charge, Float_t   p,  Float_t  theta , Float_t   phi,
			     Float_t& pS,  Float_t& thetaS, Float_t&  phiS)
	{AliFastResponse::Evaluate(charge, p, theta, phi, pS, thetaS, phiS);}
    virtual void    Evaluate(Float_t   p,  Float_t  theta , Float_t   phi,
			     Float_t& pS,  Float_t& thetaS, Float_t&  phiS)
	{AliFastResponse::Evaluate(p, theta, phi, pS, thetaS, phiS);}
    
    // Copy
    AliFastMuonTrackingAcc& operator=(const AliFastMuonTrackingAcc& rhs);
 protected:
    Float_t              fBackground;   // Background level
    Float_t              fCharge;       // Current charge
    
    AliMUONFastTracking* fFastTracking; //!Pointer to Fast Tracking Data Handler
    ClassDef(AliFastMuonTrackingAcc,1)  // Fast MUON Tracking Acceptance
};

#endif





 AliFastMuonTrackingAcc.h:1
 AliFastMuonTrackingAcc.h:2
 AliFastMuonTrackingAcc.h:3
 AliFastMuonTrackingAcc.h:4
 AliFastMuonTrackingAcc.h:5
 AliFastMuonTrackingAcc.h:6
 AliFastMuonTrackingAcc.h:7
 AliFastMuonTrackingAcc.h:8
 AliFastMuonTrackingAcc.h:9
 AliFastMuonTrackingAcc.h:10
 AliFastMuonTrackingAcc.h:11
 AliFastMuonTrackingAcc.h:12
 AliFastMuonTrackingAcc.h:13
 AliFastMuonTrackingAcc.h:14
 AliFastMuonTrackingAcc.h:15
 AliFastMuonTrackingAcc.h:16
 AliFastMuonTrackingAcc.h:17
 AliFastMuonTrackingAcc.h:18
 AliFastMuonTrackingAcc.h:19
 AliFastMuonTrackingAcc.h:20
 AliFastMuonTrackingAcc.h:21
 AliFastMuonTrackingAcc.h:22
 AliFastMuonTrackingAcc.h:23
 AliFastMuonTrackingAcc.h:24
 AliFastMuonTrackingAcc.h:25
 AliFastMuonTrackingAcc.h:26
 AliFastMuonTrackingAcc.h:27
 AliFastMuonTrackingAcc.h:28
 AliFastMuonTrackingAcc.h:29
 AliFastMuonTrackingAcc.h:30
 AliFastMuonTrackingAcc.h:31
 AliFastMuonTrackingAcc.h:32
 AliFastMuonTrackingAcc.h:33
 AliFastMuonTrackingAcc.h:34
 AliFastMuonTrackingAcc.h:35
 AliFastMuonTrackingAcc.h:36
 AliFastMuonTrackingAcc.h:37
 AliFastMuonTrackingAcc.h:38
 AliFastMuonTrackingAcc.h:39
 AliFastMuonTrackingAcc.h:40
 AliFastMuonTrackingAcc.h:41
 AliFastMuonTrackingAcc.h:42
 AliFastMuonTrackingAcc.h:43
 AliFastMuonTrackingAcc.h:44
 AliFastMuonTrackingAcc.h:45
 AliFastMuonTrackingAcc.h:46
 AliFastMuonTrackingAcc.h:47
 AliFastMuonTrackingAcc.h:48
 AliFastMuonTrackingAcc.h:49