Line data Source code
1 : #ifndef ALIFASTMUONTRACKINGEFF_H
2 : #define ALIFASTMUONTRACKINGEFF_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 : // Class for fast simulation of the ALICE Muon Spectrometer
9 : // Tracking Efficiency.
10 : // The efficiency depends on transverse momentum pt, polar angle theta and azimuthal angle phi.
11 : //
12 : // Author: Alessandro de Falco
13 : // alessandro.de.falco@ca.infn.it
14 :
15 : #include "AliFastResponse.h"
16 : class AliMUONFastTracking;
17 :
18 : class AliFastMuonTrackingEff : public AliFastResponse {
19 : public:
20 : AliFastMuonTrackingEff();
21 0 : virtual ~AliFastMuonTrackingEff(){;}
22 : AliFastMuonTrackingEff(const AliFastMuonTrackingEff& eff);
23 0 : void SetBackground(Float_t bg = 1.) {fBackground = bg;}
24 0 : void SetCharge(Float_t charge = 1.) {fCharge = charge;}
25 : virtual void Init();
26 : virtual Float_t Evaluate(Float_t charge, Float_t pt, Float_t theta, Float_t phi);
27 : virtual void Evaluate(Float_t charge, Float_t p, Float_t theta , Float_t phi,
28 : Float_t& pS, Float_t& thetaS, Float_t& phiS)
29 0 : {AliFastResponse::Evaluate(charge, p, theta, phi, pS, thetaS, phiS);}
30 : virtual void Evaluate(Float_t p, Float_t theta , Float_t phi,
31 : Float_t& pS, Float_t& thetaS, Float_t& phiS)
32 0 : {AliFastResponse::Evaluate(p, theta, phi, pS, thetaS, phiS);}
33 :
34 : // Copy
35 : AliFastMuonTrackingEff& operator=(const AliFastMuonTrackingEff& rhs);
36 : protected:
37 : Float_t fBackground; // Background level
38 : Float_t fCharge; // Current charge
39 :
40 : AliMUONFastTracking* fFastTracking; //!Pointer to Fast Tracking Data Handler
41 12 : ClassDef(AliFastMuonTrackingEff,1) // Fast MUON Tracking Efficiency
42 : };
43 :
44 : #endif
45 :
46 :
47 :
48 :
49 :
|