]> git.uio.no Git - u/mrichter/AliRoot.git/blob - FASTSIM/AliFastMuonTrackingEff.h
Adding MUON HLT code to the repository.
[u/mrichter/AliRoot.git] / FASTSIM / AliFastMuonTrackingEff.h
1 #ifndef ALIFASTMUONTRACKINGEFF
2 #define ALIFASTMUONTRACKINGEFF
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 #include "AliFastResponse.h"
9 class AliMUONFastTracking;
10
11 class AliFastMuonTrackingEff :  public AliFastResponse {
12  public:
13     AliFastMuonTrackingEff();
14     ~AliFastMuonTrackingEff(){;}
15     void SetBackground(Float_t bg = 1.) {fBackground = bg;}
16     void SetCharge(Float_t charge = 1.) {fCharge     = charge;}
17     virtual void Init();
18     virtual Float_t Evaluate(Float_t pt, Float_t theta, Float_t phi);
19     virtual void    Evaluate(Float_t   p,  Float_t  theta , Float_t   phi,
20                              Float_t& pS,  Float_t& thetaS, Float_t&  phiS) {
21       AliFastResponse::Evaluate(p,  theta,  phi, pS, thetaS, phiS);
22     }
23     virtual Float_t Evaluate(AliFastParticle* part) {
24       return AliFastResponse::Evaluate(part);
25     }
26  protected:
27     Float_t              fBackground;   // Background level
28     Float_t              fCharge;       // Current charge
29     
30     AliMUONFastTracking* fFastTracking; //!Pointer to Fast Tracking Data Handler
31     ClassDef(AliFastMuonTrackingEff,1)  // Fast MUON Tracking Efficiency
32 };
33
34 #endif
35
36
37
38
39