AliPhysics  vAN-20151012 (2287573)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliEmcalTriggerDecision.h
Go to the documentation of this file.
1 #ifndef ALIEMCALTRIGGERDECISION_H
2 #define ALIEMCALTRIGGERDECISION_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 <TList.h>
9 #include <TNamed.h>
10 
13 
14 class AliEmcalTriggerDecision: public TNamed {
15 public:
17  AliEmcalTriggerDecision(const char *name, const char *title = "");
19 
22  const TList *GetAcceptedPatches() const { return &fAcceptedPatches; }
23  Bool_t IsSelected() const { return fMainPatch != NULL; }
24 
25  void SetSelectionCuts(const AliEmcalTriggerSelectionCuts * const cuts) { fSelectionCuts = cuts; }
26  void SetMainPatch(const AliEmcalTriggerPatchInfo * const mainpatch) { fMainPatch = mainpatch; }
27  void AddAcceptedPatch(AliEmcalTriggerPatchInfo * const acceptedPatch);
28 
29 protected:
30  const AliEmcalTriggerPatchInfo *fMainPatch; // Main trigger patch which fires the decision
31  const AliEmcalTriggerSelectionCuts *fSelectionCuts; // Pointer to the cuts used for the trigger selection
32  TList fAcceptedPatches; // All trigger patches which are accepted as well
33 
34  ClassDef(AliEmcalTriggerDecision, 1); // Container of the trigger decision information
35 private:
38 };
39 
40 #endif /* ALIEMCALTRIGGERDECISION_H */
const char * title
Definition: MakeQAPdf.C:26
void SetSelectionCuts(const AliEmcalTriggerSelectionCuts *const cuts)
const AliEmcalTriggerSelectionCuts * fSelectionCuts
Main data structure storing all relevant information of EMCAL/DCAL trigger patches.
ClassDef(AliEmcalTriggerDecision, 1)
AliEmcalTriggerDecision & operator=(const AliEmcalTriggerDecision &ref)
const AliEmcalTriggerSelectionCuts * GetSelectionCuts() const
const TList * GetAcceptedPatches() const
void SetMainPatch(const AliEmcalTriggerPatchInfo *const mainpatch)
void AddAcceptedPatch(AliEmcalTriggerPatchInfo *const acceptedPatch)
const AliEmcalTriggerPatchInfo * GetMainPatch() const
const AliEmcalTriggerPatchInfo * fMainPatch