]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FASTSIM/AliFastMuonTrackingEff.cxx
Bug fix: AliHLTComponent::ConfigureFromArgumentString
[u/mrichter/AliRoot.git] / FASTSIM / AliFastMuonTrackingEff.cxx
index 053bcac350ccf6d7d2bfeda7dfc4759eccab21c7..87031ab5058318fc407365841673c509085cb8de 100644 (file)
@@ -22,6 +22,9 @@
 // Author: Alessandro de Falco 
 // alessandro.de.falco@ca.infn.it
 // 
+
+#include <TMath.h>
+
 #include "AliFastMuonTrackingEff.h"
 #include "AliMUONFastTracking.h"
 
@@ -29,15 +32,20 @@ ClassImp(AliFastMuonTrackingEff)
 
 
 AliFastMuonTrackingEff::AliFastMuonTrackingEff() :
-    AliFastResponse("Efficiency", "Muon Tracking Efficiency")
+    AliFastResponse("Efficiency", "Muon Tracking Efficiency"),
+    fBackground(1.),
+    fCharge(1.),
+    fFastTracking(0)
 {
 //
 // Constructor
-    SetBackground();
 }
 
 AliFastMuonTrackingEff::AliFastMuonTrackingEff(const AliFastMuonTrackingEff& eff)
-    :AliFastResponse(eff)
+    :AliFastResponse(eff),
+    fBackground(1.),
+    fCharge(1.),
+    fFastTracking(0)
 {
 // Copy constructor
     eff.Copy(*this);
@@ -53,7 +61,7 @@ void AliFastMuonTrackingEff::Init()
 
 
 
-Float_t AliFastMuonTrackingEff::Evaluate(Float_t pt, Float_t theta, Float_t phi)
+Float_t AliFastMuonTrackingEff::Evaluate(Float_t /*charge*/, Float_t pt, Float_t theta, Float_t phi)
 {
 //
 // Evaluate the efficience for muon with 3-vector (pt, theta, phi)
@@ -62,6 +70,7 @@ Float_t AliFastMuonTrackingEff::Evaluate(Float_t pt, Float_t theta, Float_t phi)
     return eff;
 }
 
+
 AliFastMuonTrackingEff& AliFastMuonTrackingEff::operator=(const  AliFastMuonTrackingEff& rhs)
 {
 // Assignment operator