]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - FASTSIM/AliFastMuonTrackingAcc.h
Added NHard function.
[u/mrichter/AliRoot.git] / FASTSIM / AliFastMuonTrackingAcc.h
... / ...
CommitLineData
1#ifndef ALIFASTMUONTRACKINGACC
2#define ALIFASTMUONTRACKINGACC
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"
9class AliMUONFastTracking;
10
11class AliFastMuonTrackingAcc : public AliFastResponse {
12 public:
13 AliFastMuonTrackingAcc();
14 ~AliFastMuonTrackingAcc(){;}
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(AliFastMuonTrackingAcc,1) // Fast MUON Tracking Acceptance
32};
33
34#endif
35
36
37
38
39