]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FASTSIM/AliFastMuonTriggerEff.cxx
Fix for mother volume length.
[u/mrichter/AliRoot.git] / FASTSIM / AliFastMuonTriggerEff.cxx
index b4371ff608271bd085aa68cce3b9c3cb7d7a3f45..8940c91da1cd1e7ae7f1c0366f428e6a84e89735 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
-/*
-The trigger parametrization is computed for background levels 0., 0.5 and 1.
-In order to set a background level different from 0 it is necessary to 
-explicitly force it with:
-ForceBkgLevel(BkgLevel).
+/* $Id$ */
+// The trigger parametrization is computed for background levels 0., 0.5 and 1.
+// In order to set a background level different from 0 it is necessary to 
+// explicitly force it with:
+// ForceBkgLevel(BkgLevel).
+// For intermediate background levels, the trigger response is linearly 
+// interpolated between these values.
+// 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().
 
-For intermediate background levels, the trigger response is linearly 
-interpolated between these values.
-
-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().
-
-$Log$
-Revision 1.10  2006/04/19 21:58:28  morsch
-Coding rule violations corrected
-
-Revision 1.9  2005/09/24 03:51:43  hristov
-Removing extra semicolon (Fedora Core 4)
-
-Revision 1.8  2005/09/22 11:31:42  morsch
-Completely revised version. (P. Cortese)
-
-*/
 
 #include "AliFastMuonTriggerEff.h"
 #include "TROOT.h"
@@ -61,6 +48,13 @@ AliFastMuonTriggerEff::AliFastMuonTriggerEff():
     UnsetInt();
 }
 
+AliFastMuonTriggerEff::AliFastMuonTriggerEff(const AliFastMuonTriggerEff& eff)
+    :AliFastResponse(eff)
+{
+// Copy constructor
+    eff.Copy(*this);
+}
+
 void AliFastMuonTriggerEff::SetCut(Int_t cut) 
 {  
   //
@@ -458,3 +452,11 @@ Float_t AliFastMuonTriggerEff::Evaluate(Float_t charge, Float_t pt,
 
     return eff;
 }
+
+AliFastMuonTriggerEff& AliFastMuonTriggerEff::operator=(const  AliFastMuonTriggerEff& rhs)
+{
+// Assignment operator
+    rhs.Copy(*this);
+    return *this;
+}
+