Updates in order to enable the '2D' PID for the TRD developed by Daniel Lohner.
[u/mrichter/AliRoot.git] / STEER / STEERBase / AliTRDPIDParams.cxx
index 5f8e60c..950ac42 100644 (file)
@@ -49,6 +49,30 @@ AliTRDPIDParams::AliTRDPIDParams(const char *name) :
   fEntries = new TSortedList;
 }
 
+//____________________________________________________________
+AliTRDPIDParams::AliTRDPIDParams(const AliTRDPIDParams &ref):
+TNamed(ref),
+fEntries(NULL)
+{
+    //
+    // Copy constructor
+    //
+
+    fEntries=(TSortedList*)ref.fEntries->Clone();
+}
+
+//____________________________________________________________
+AliTRDPIDParams::AliTRDPIDParams(const AliTRDPIDParams &ref):
+TNamed(ref),
+fEntries(NULL)
+{
+    //
+    // Copy constructor
+    //
+
+    fEntries=(TSortedList*)ref.fEntries->Clone();
+}
+
 //____________________________________________________________
 AliTRDPIDParams::~AliTRDPIDParams(){
   //