]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - FASTSIM/AliFastMuonTrackingAcc.h
Extra header added to the list
[u/mrichter/AliRoot.git] / FASTSIM / AliFastMuonTrackingAcc.h
... / ...
CommitLineData
1#ifndef ALIFASTMUONTRACKINGACC_H
2#define ALIFASTMUONTRACKINGACC_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// Realisation of AliFastResponse for the
9// fast simulation of the muon spectrometer acceptance.
10// The acceptance depends on the muon 3-vector which can be passed as (pt, theta, phi),
11// where pt is the transverse momentum, theta the polar angle and phi the azimuthal angle.
12// Author: Andreas Morsch
13// andreas.morsch@cern.ch
14
15#include "AliFastResponse.h"
16class AliMUONFastTracking;
17
18class AliFastMuonTrackingAcc : public AliFastResponse {
19 public:
20 AliFastMuonTrackingAcc();
21 AliFastMuonTrackingAcc(const AliFastMuonTrackingAcc& acc);
22 virtual ~AliFastMuonTrackingAcc(){;}
23 void SetBackground(Float_t bg = 1.) {fBackground = bg;}
24 void SetCharge(Float_t charge = 1.) {fCharge = charge;}
25 virtual void Init();
26 virtual Float_t Evaluate(Float_t charge, Float_t pt, Float_t theta, Float_t phi);
27 virtual void Evaluate(Float_t charge, Float_t p, Float_t theta , Float_t phi,
28 Float_t& pS, Float_t& thetaS, Float_t& phiS)
29 {AliFastResponse::Evaluate(charge, p, theta, phi, pS, thetaS, phiS);}
30 virtual void Evaluate(Float_t p, Float_t theta , Float_t phi,
31 Float_t& pS, Float_t& thetaS, Float_t& phiS)
32 {AliFastResponse::Evaluate(p, theta, phi, pS, thetaS, phiS);}
33
34 // Copy
35 AliFastMuonTrackingAcc& operator=(const AliFastMuonTrackingAcc& rhs);
36 protected:
37 Float_t fBackground; // Background level
38 Float_t fCharge; // Current charge
39
40 AliMUONFastTracking* fFastTracking; //!Pointer to Fast Tracking Data Handler
41 ClassDef(AliFastMuonTrackingAcc,1) // Fast MUON Tracking Acceptance
42};
43
44#endif
45
46
47
48
49