1 #ifndef ALIEMCALTRIGGERSELECTION_H
2 #define ALIEMCALTRIGGERSELECTION_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
6 // Author: Markus Fasel
11 class AliEmcalTriggerDecision;
12 class AliEmcalTriggerPatchInfo;
13 class AliEmcalTriggerSelectionCuts;
16 class AliEmcalTriggerSelection: public TNamed {
18 AliEmcalTriggerSelection();
19 AliEmcalTriggerSelection(const char *name, const AliEmcalTriggerSelectionCuts * const cuts);
20 virtual ~AliEmcalTriggerSelection() {}
22 const AliEmcalTriggerSelectionCuts *GetSelectionCuts() const { return fSelectionCuts; }
24 void SetOutputName(const char *name) { fOutputName = name; }
25 void SetSelectionCuts(const AliEmcalTriggerSelectionCuts * const cuts) { fSelectionCuts = cuts; }
27 AliEmcalTriggerDecision * MakeDecison(const TClonesArray * const reconstructedPatches) const;
29 const AliEmcalTriggerSelectionCuts *fSelectionCuts; // Cuts used for the trigger patch selection
30 TString fOutputName; // Name of the output object (AliEmcalTriggerDecision)
32 ClassDef(AliEmcalTriggerSelection, 1); // EMCAL trigger selection component
34 AliEmcalTriggerSelection(const AliEmcalTriggerSelection &ref);
35 AliEmcalTriggerSelection &operator=(const AliEmcalTriggerSelection &ref);
38 #endif /* ALIEMCALTRIGGERSELECTION_H */