description.Form("Event contains at least one %s cluster with energy > %.02f GeV.", fDetector.Data(), fEThreshold);
SetDescription(description.Data());
+
// Enable the detectors for readout.
- GetReadoutList().Enable(AliHLTReadoutList::kPHOS);
+ //GetReadoutList().Enable(AliHLTReadoutList::kPHOS);
+ SetCaloReadoutList(); //FR
+
// Add the available HLT information for readout too.
GetTriggerDomain().Add(kAliHLTAnyDataTypeID, fDetector.Data());
///Get the clusters from the esd
virtual Int_t GetClustersFromEsd( const AliESDEvent * esd, TRefArray * clustersRefs ) = 0;
+ // FR: Set the appropriate readout list for each calo
+ virtual void SetCaloReadoutList() = 0;
+
/// inherited from AliHLTTrigger: calculate the trigger
Int_t DoTrigger();
Int_t AliHLTTriggerEmcalClusterEnergy::GetClustersFromEsd( const AliESDEvent * esd, TRefArray * clustersRefs ){
return esd->GetEMCALClusters(clustersRefs);
}
+
+// FR
+void AliHLTTriggerEmcalClusterEnergy::SetCaloReadoutList() {
+ GetReadoutList().Enable(AliHLTReadoutList::kEMCAL);
+}
AliHLTComponent* Spawn();
+protected:
+ // FR
+ void SetCaloReadoutList();
+
private:
///Inherited from AliHLTTriggerCaloClusterEnergy, get the correct set of ESD calo clusters
Int_t AliHLTTriggerPhosClusterEnergy::GetClustersFromEsd( const AliESDEvent * esd, TRefArray * clustersRefs ){
return esd->GetPHOSClusters(clustersRefs);
}
+
+// FR
+void AliHLTTriggerPhosClusterEnergy::SetCaloReadoutList() {
+ GetReadoutList().Enable(AliHLTReadoutList::kPHOS);
+}
/// inherited from AliHLTComponent: create an instance
AliHLTComponent* Spawn();
+protected:
+ // FR
+ void SetCaloReadoutList();
private: