]> git.uio.no Git - u/mrichter/AliRoot.git/blame - FASTSIM/AliFastMuonTrackingRes.h
Coding rule violations corrected.
[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.
a42548b0 9// The response depends on the charge of the muon and
10// the background level.
11// The class uses the instance of an object of type AliMUONFastTracking to
12// obtain the smearing parameters.
041f7f97 13// Author: andreas.morsch@cern.ch
a42548b0 14
6255180c 15#include "AliFastResponse.h"
16class AliMUONFastTracking;
17
18class AliFastMuonTrackingRes : public AliFastResponse {
19 public:
20 AliFastMuonTrackingRes();
a42548b0 21 AliFastMuonTrackingRes(const AliFastMuonTrackingRes& glauber);
041f7f97 22 virtual ~AliFastMuonTrackingRes(){;}
6255180c 23 void SetBackground(Float_t bg = 1.) {fBackground = bg;}
24 void SetCharge(Float_t charge = 1.) {fCharge = charge;}
25 virtual void Init();
26 virtual void Evaluate(Float_t p, Float_t theta , Float_t phi,
27 Float_t& pS, Float_t& thetaS, Float_t& phiS);
15a060e4 28 virtual Float_t Evaluate(AliFastParticle* part) {
29 return AliFastResponse::Evaluate(part);
30 }
88445b6c 31 virtual Float_t Evaluate(Float_t pt, Float_t theta , Float_t phi) {
32 return AliFastResponse::Evaluate(pt,theta,phi);
33 }
a42548b0 34 // Copy
35 AliFastMuonTrackingRes& operator=(const AliFastMuonTrackingRes & rhs);
36
6255180c 37 protected:
38 Float_t fBackground; // Background level
39 Float_t fCharge; // Current charge
40
41 AliMUONFastTracking* fFastTracking; //!Pointer to Fast Tracking Data Handler
42 ClassDef(AliFastMuonTrackingRes,1) // Fast MUON Tracking
43};
44
45#endif
46
47