]> git.uio.no Git - u/mrichter/AliRoot.git/blame - FASTSIM/AliFastMuonTriggerEff.h
Decay of L0s, Lambda, Sigma, Xi and Omega switched off. To be handled by the\
[u/mrichter/AliRoot.git] / FASTSIM / AliFastMuonTriggerEff.h
CommitLineData
6255180c 1#ifndef ALIFASTMUONTRIGGEREFF_H
2#define ALIFASTMUONTRIGGEREFF_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#include <AliFastResponse.h>
9enum CutTupe {kLow, kHigh};
10
11class AliFastMuonTriggerEff : public AliFastResponse {
12
13 public:
14 AliFastMuonTriggerEff();
f86dad79 15 AliFastMuonTriggerEff(char* Name, char* Title):AliFastResponse(Name, Title) {;}
6255180c 16 virtual ~AliFastMuonTriggerEff(){;}
17 virtual void Init();
18 virtual void Evaluate(Float_t charge, Float_t pt, Float_t theta, Float_t phi,
19 Float_t& effLow, Float_t& effHigh);
20 virtual Float_t Evaluate(Float_t charge, Float_t pt, Float_t theta, Float_t phi);
15a060e4 21 virtual Float_t Evaluate(Float_t pt, Float_t theta, Float_t phi) {
22 return AliFastResponse::Evaluate(pt, theta, phi);
23 }
24 virtual Float_t Evaluate(AliFastParticle* part) {
25 return AliFastResponse::Evaluate(part);
26 }
6255180c 27 virtual void SetCut(Int_t cut = kLow) {fCut = cut;}
28 virtual Float_t Cut() {return fCut;}
29 protected:
30 virtual void InitTree();
31 protected:
32 Int_t fLook[2][10][20]; // Look up table for bkg=0
33 Float_t fDpt; // Delta_pt
34 Float_t fPhiMin; // lower limit for phi
35 Float_t fPhiMax; // upper limit for phi
36 Float_t fDphi; // Delta_phi
37 Float_t fThetaMin; // lower limit for theta
38 Float_t fThetaMax; // upper limit for theta
39 Float_t fDtheta; // Delta_theta
40 Int_t fCut; // Cut type (low/high)
41 Int_t fZones; // Total number of zones
f86dad79 42 static const Int_t fSim=2; // Number of pt extentions (internal use)
6255180c 43 Float_t** fEffLow; // Table for low-pt cut bkg=0
44 Float_t** fEffHigh; // Table for high-pt cut bkg=0
45
46 ClassDef(AliFastMuonTriggerEff,1) // Fast Muon Trigger response
47};
48
49#endif
50
51
52