]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ANALYSIS/AliMultiInputEventHandler.cxx
Support for AliPIDResponse handling (A.Pulvirenti)
[u/mrichter/AliRoot.git] / ANALYSIS / AliMultiInputEventHandler.cxx
index fd71ac051205abe03083cc836bd01a7c85165bce..ff3ed28b4b6de0909927acb2158a83bbd10377f7 100644 (file)
@@ -262,3 +262,26 @@ UInt_t  AliMultiInputEventHandler::IsEventSelected()
   
   return fIsSelectedResult;
 }
+
+//______________________________________________________________________________
+AliPIDResponse* AliMultiInputEventHandler::GetPIDResponse()
+{
+   // retrieve PID response
+   
+   AliInputEventHandler *firstIH = dynamic_cast<AliInputEventHandler*> (GetFirstInputEventHandler());
+   if (firstIH) {
+      return firstIH->GetPIDResponse();
+   }
+   
+   return 0x0;
+}
+   
+//______________________________________________________________________________
+void AliMultiInputEventHandler::CreatePIDResponse(Bool_t isMC)
+{
+   // create PID response
+   AliInputEventHandler *firstIH = dynamic_cast<AliInputEventHandler*> (GetFirstInputEventHandler());
+   if (firstIH) {
+      firstIH->CreatePIDResponse(isMC);
+   }
+}