* provided "as is" without express or implied warranty. *
**************************************************************************/
-/* $Id$ */
+//_________________________________________________________________________
+// This analysis provides a new list of clusters to be used in other analysis
+//
+// Author: Constantin Loizides, Salvatore Aiola
+// Adapted from analysis class from Deepa Thomas
+//
+// $Id$
+//_________________________________________________________________________
// --- Root ---
#include <TClonesArray.h>
} else if (fClusterizeFastORs) { // Fill digits from FastORs
AliEMCALGeometry *fGeom = AliEMCALGeometry::GetInstance(fGeomName);
-
- AliESDEvent* esd = dynamic_cast<AliESDEvent*>(InputEvent());
- if (!esd){
- AliError("Cannot get the ESD event");
- return;
- }
- AliESDCaloTrigger *triggers = esd->GetCaloTrigger("EMCAL");
+ AliVCaloTrigger *triggers = InputEvent()->GetCaloTrigger("EMCAL");
if (!triggers || !(triggers->GetEntries() > 0))
return;