]>
Commit | Line | Data |
---|---|---|
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> | |
9 | enum CutTupe {kLow, kHigh}; | |
10 | ||
11 | class 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); | |
21 | virtual void SetCut(Int_t cut = kLow) {fCut = cut;} | |
22 | virtual Float_t Cut() {return fCut;} | |
23 | protected: | |
24 | virtual void InitTree(); | |
25 | protected: | |
26 | Int_t fLook[2][10][20]; // Look up table for bkg=0 | |
27 | Float_t fDpt; // Delta_pt | |
28 | Float_t fPhiMin; // lower limit for phi | |
29 | Float_t fPhiMax; // upper limit for phi | |
30 | Float_t fDphi; // Delta_phi | |
31 | Float_t fThetaMin; // lower limit for theta | |
32 | Float_t fThetaMax; // upper limit for theta | |
33 | Float_t fDtheta; // Delta_theta | |
34 | Int_t fCut; // Cut type (low/high) | |
35 | Int_t fZones; // Total number of zones | |
f86dad79 | 36 | static const Int_t fSim=2; // Number of pt extentions (internal use) |
6255180c | 37 | Float_t** fEffLow; // Table for low-pt cut bkg=0 |
38 | Float_t** fEffHigh; // Table for high-pt cut bkg=0 | |
39 | ||
40 | ClassDef(AliFastMuonTriggerEff,1) // Fast Muon Trigger response | |
41 | }; | |
42 | ||
43 | #endif | |
44 | ||
45 | ||
46 |