]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALIFASTMUONTRACKINGRES_H | |
2 | #define ALIFASTMUONTRACKINGRES_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 | // Implementation of AliFastResponse for the Muon Spectrometer resolution. | |
9 | // Author: andreas.morsch@cern.ch | |
10 | // | |
11 | #include "AliFastResponse.h" | |
12 | class AliMUONFastTracking; | |
13 | ||
14 | class AliFastMuonTrackingRes : public AliFastResponse { | |
15 | public: | |
16 | AliFastMuonTrackingRes(); | |
17 | virtual ~AliFastMuonTrackingRes(){;} | |
18 | void SetBackground(Float_t bg = 1.) {fBackground = bg;} | |
19 | void SetCharge(Float_t charge = 1.) {fCharge = charge;} | |
20 | virtual void Init(); | |
21 | virtual void Evaluate(Float_t p, Float_t theta , Float_t phi, | |
22 | Float_t& pS, Float_t& thetaS, Float_t& phiS); | |
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(AliFastMuonTrackingRes,1) // Fast MUON Tracking | |
32 | }; | |
33 | ||
34 | #endif | |
35 | ||
36 |