23 #include <TClonesArray.h>
69 TIter patchIter(inputPatches);
71 std::vector<AliEmcalTriggerPatchInfo *> selectedPatches;
72 while((patch = dynamic_cast<AliEmcalTriggerPatchInfo *>(patchIter()))){
74 selectedPatches.push_back(patch);
79 for(std::vector<AliEmcalTriggerPatchInfo *>::iterator it = selectedPatches.begin(); it != selectedPatches.end(); ++it){
81 if(!mainPatch) mainPatch = testpatch;
ClassImp(AliEmcalTriggerSelection) AliEmcalTriggerSelection
const AliEmcalTriggerSelectionCuts * fSelectionCuts
Int_t CompareTriggerPatches(const AliEmcalTriggerPatchInfo *first, const AliEmcalTriggerPatchInfo *second) const
void SetSelectionCuts(const AliEmcalTriggerSelectionCuts *const cuts)
Main data structure storing all relevant information of EMCAL/DCAL trigger patches.
void SetMainPatch(const AliEmcalTriggerPatchInfo *const mainpatch)
AliEmcalTriggerDecision * MakeDecison(const TClonesArray *const reconstructedPatches) const
void AddAcceptedPatch(AliEmcalTriggerPatchInfo *const acceptedPatch)
Class to make array of trigger patch objects in AOD/ESD events.
Bool_t IsSelected(const AliEmcalTriggerPatchInfo *const patch) const
AliEmcalTriggerSelection()