Moving the functions used to initialize TF1 and TF2 to the pivate part of the class
[u/mrichter/AliRoot.git] / FASTSIM / AliFastMuonTrackingRes.h
CommitLineData
041f7f97 1#ifndef ALIFASTMUONTRACKINGRES_H
2#define ALIFASTMUONTRACKINGRES_H
6255180c 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
041f7f97 8// Implementation of AliFastResponse for the Muon Spectrometer resolution.
9// Author: andreas.morsch@cern.ch
10//
6255180c 11#include "AliFastResponse.h"
12class AliMUONFastTracking;
13
14class AliFastMuonTrackingRes : public AliFastResponse {
15 public:
16 AliFastMuonTrackingRes();
041f7f97 17 virtual ~AliFastMuonTrackingRes(){;}
6255180c 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);
15a060e4 23 virtual Float_t Evaluate(AliFastParticle* part) {
24 return AliFastResponse::Evaluate(part);
25 }
88445b6c 26 virtual Float_t Evaluate(Float_t pt, Float_t theta , Float_t phi) {
27 return AliFastResponse::Evaluate(pt,theta,phi);
28 }
6255180c 29 protected:
30 Float_t fBackground; // Background level
31 Float_t fCharge; // Current charge
32
33 AliMUONFastTracking* fFastTracking; //!Pointer to Fast Tracking Data Handler
34 ClassDef(AliFastMuonTrackingRes,1) // Fast MUON Tracking
35};
36
37#endif
38
39