Correcting sources of warnings
[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,
88445b6c 19 Float_t& effLow, Float_t& effHigh, Float_t& eff);
6255180c 20 virtual Float_t Evaluate(Float_t charge, Float_t pt, Float_t theta, Float_t phi);
88445b6c 21 virtual void Evaluate(Float_t p, Float_t theta , Float_t phi,
22 Float_t& pS, Float_t& thetaS, Float_t& phiS) {
23 AliFastResponse::Evaluate(p, theta , phi, pS, thetaS, phiS);
24 }
15a060e4 25 virtual Float_t Evaluate(Float_t pt, Float_t theta, Float_t phi) {
26 return AliFastResponse::Evaluate(pt, theta, phi);
27 }
28 virtual Float_t Evaluate(AliFastParticle* part) {
29 return AliFastResponse::Evaluate(part);
30 }
6255180c 31 virtual void SetCut(Int_t cut = kLow) {fCut = cut;}
32 virtual Float_t Cut() {return fCut;}
33 protected:
34 virtual void InitTree();
35 protected:
36 Int_t fLook[2][10][20]; // Look up table for bkg=0
37 Float_t fDpt; // Delta_pt
38 Float_t fPhiMin; // lower limit for phi
39 Float_t fPhiMax; // upper limit for phi
40 Float_t fDphi; // Delta_phi
41 Float_t fThetaMin; // lower limit for theta
42 Float_t fThetaMax; // upper limit for theta
43 Float_t fDtheta; // Delta_theta
44 Int_t fCut; // Cut type (low/high)
45 Int_t fZones; // Total number of zones
f86dad79 46 static const Int_t fSim=2; // Number of pt extentions (internal use)
6255180c 47 Float_t** fEffLow; // Table for low-pt cut bkg=0
48 Float_t** fEffHigh; // Table for high-pt cut bkg=0
49
50 ClassDef(AliFastMuonTriggerEff,1) // Fast Muon Trigger response
51};
52
53#endif
54
55
56