]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FASTSIM/AliFastMuonTrackingRes.cxx
Coding rule violations corrected.
[u/mrichter/AliRoot.git] / FASTSIM / AliFastMuonTrackingRes.cxx
index c86a4edfc5bb0ddf9b0583ee6c3a55451e130de5..8748f6da07c4b85582452cec9d7a65f54a56e088 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
-/*
-$Log$
-Revision 1.6  2003/11/13 14:21:57  morsch
-Coding Rule violation corrections.
-
-Revision 1.5  2003/08/13 17:37:29  hristov
-Bug fix (Alpha)
-
-Revision 1.4  2003/08/05 16:14:20  morsch
-Some problems with too big fluctuations corrected. (A. de Falco)
-
-Revision 1.1  2003/01/06 10:13:09  morsch
-First commit.
-
-*/
+/* $Id: */
 
 // Implementation of AliFastResponse for the Muon Spectrometer resolution.
 // The response depends on the charge of the muon and
@@ -51,6 +37,13 @@ AliFastMuonTrackingRes::AliFastMuonTrackingRes() :
     SetBackground();
 }
 
+AliFastMuonTrackingRes::AliFastMuonTrackingRes(const AliFastMuonTrackingRes & res)
+    :AliFastResponse(res)
+{
+// Copy constructor
+    res.Copy(*this);
+}
+
 void AliFastMuonTrackingRes::Init()
 {
 // Initialisation
@@ -131,7 +124,12 @@ void AliFastMuonTrackingRes::Evaluate(Float_t   p,  Float_t  theta , Float_t   p
     thetaS = theta + gRandom->Gaus(meantheta,sigmatheta);
 }
 
-
+AliFastMuonTrackingRes& AliFastMuonTrackingRes::operator=(const  AliFastMuonTrackingRes& rhs)
+{
+// Assignment operator
+    rhs.Copy(*this);
+    return *this;
+}