]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RALICE/icepack/IcePandel.cxx
26-sep-2007 NvE AliTrack extended with GetNsignals for a specific signal class.
[u/mrichter/AliRoot.git] / RALICE / icepack / IcePandel.cxx
index 5bca729485e481b79098e1403e186857a983f77a..ff411276acd3223225afc9f45510589b937d9a7a 100644 (file)
@@ -20,6 +20,9 @@
 // TTask derived class to perform track fitting via minimisation of a
 // convoluted Pandel pdf.
 //
+// In case an event has been rejected by an AliEventSelector (based) processor,
+// this task (and its sub-tasks) is not executed.
+//
 // The code in this processor is based on the algorithms as developed
 // by Oladipo Fadiran, George Japaridze (Clark Atlanta University, USA)
 // and Nick van Eijndhoven (Utrecht University, The Netherlands).
@@ -225,6 +228,13 @@ void IcePandel::Exec(Option_t* opt)
  fEvt=(IceEvent*)parent->GetObject("IceEvent");
  if (!fEvt) return;
 
+ // Only process accepted events
+ AliDevice* seldev=(AliDevice*)fEvt->GetDevice("AliEventSelector");
+ if (seldev)
+ {
+  if (seldev->GetSignal("Select") < 0.1) return;
+ }
+
  // Storage of the used parameters in the IcePandel device
  AliSignal params;
  params.SetNameTitle("IcePandel","IcePandel processor parameters");