]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FASTSIM/AliFastMuonTriggerEff.h
checked in Astrids Task to EMCALTasks
[u/mrichter/AliRoot.git] / FASTSIM / AliFastMuonTriggerEff.h
index 536512257208c770b60a966aebbe9d7c3dbc340f..1186c1c8268eadbb73a3b347deb75ec7549625da 100644 (file)
@@ -14,6 +14,8 @@
 // There is increased granularity in the pT region below 3 GeV. Although
 // it does not seem to be necessary it is also possible to interpolate
 // between pT bins using SetInt().
+// Author: Pietro Cortese (Universita' del Piemonte Orientale - Alessandria 
+// and INFN of Torino)
 
 #include <AliFastResponse.h>
 #include <TString.h>
@@ -30,19 +32,23 @@ class AliFastMuonTriggerEff : public AliFastResponse {
     
  public:
     AliFastMuonTriggerEff();
-    AliFastMuonTriggerEff(const char* /*Name*/, const char* /*Title*/) {;}
+    AliFastMuonTriggerEff(const char* /*Name*/, const char* /*Title*/);
     AliFastMuonTriggerEff(const AliFastMuonTriggerEff& eff);
     virtual ~AliFastMuonTriggerEff(){;}
     virtual void    Init();
     virtual void    Evaluate(Float_t charge, Float_t pt, Float_t theta, Float_t phi,
                             Float_t& effLow, Float_t& effHigh, Float_t& effAny);
+    virtual void    Evaluate(Float_t pt, Float_t theta, Float_t phi,
+                            Float_t& effLow, Float_t& effHigh, Float_t& effAny)
+       {Evaluate(1., pt, theta, phi, effLow, effHigh, effAny);}
     virtual Float_t Evaluate(Float_t charge, Float_t pt, Float_t theta, Float_t phi);
+    
     virtual void    SetCut(Int_t cut = kLow);
     virtual Float_t Cut() const {return fCut;}
     virtual Int_t   SetBkgLevel(Float_t Bkg=0.);
     virtual Int_t   ForceBkgLevel(Float_t Bkg=0.);
     virtual Float_t GetBkgLevel() const {return fBkg;}
-    Int_t LoadTables(Char_t *namet);  // Load trigger response tables
+    Int_t LoadTables(const Char_t *namet);  // Load trigger response tables
     void SetInt() {fInt=1;}
     void UnsetInt() {fInt=0;}
     Int_t GetInt() const {return fInt;}