]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG/EMCAL/AliEmcalTriggerSelection.h
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / PWG / EMCAL / AliEmcalTriggerSelection.h
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                               */
5
6 // Author: Markus Fasel
7
8 #include <TNamed.h>
9 #include <TString.h>
10
11 class AliEmcalTriggerDecision;
12 class AliEmcalTriggerPatchInfo;
13 class AliEmcalTriggerSelectionCuts;
14 class TClonesArray;
15
16 class AliEmcalTriggerSelection: public TNamed {
17 public:
18   AliEmcalTriggerSelection();
19   AliEmcalTriggerSelection(const char *name, const AliEmcalTriggerSelectionCuts * const cuts);
20   virtual ~AliEmcalTriggerSelection() {}
21
22   const AliEmcalTriggerSelectionCuts *GetSelectionCuts() const { return fSelectionCuts; }
23
24   void SetOutputName(const char *name) { fOutputName = name; }
25   void SetSelectionCuts(const AliEmcalTriggerSelectionCuts * const cuts) { fSelectionCuts = cuts; }
26
27   AliEmcalTriggerDecision * MakeDecison(const TClonesArray * const reconstructedPatches) const;
28 protected:
29   const AliEmcalTriggerSelectionCuts  *fSelectionCuts;    // Cuts used for the trigger patch selection
30   TString                              fOutputName;       // Name of the output object (AliEmcalTriggerDecision)
31
32   ClassDef(AliEmcalTriggerSelection, 1);    // EMCAL trigger selection component
33 private:
34   AliEmcalTriggerSelection(const AliEmcalTriggerSelection &ref);
35   AliEmcalTriggerSelection &operator=(const AliEmcalTriggerSelection &ref);
36 };
37
38 #endif /* ALIEMCALTRIGGERSELECTION_H */