AliPhysics  b330fab (b330fab)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
11 class AliEMCALTriggerPatchInfo;
13 
15 public:
17  AliEmcalTriggerDecision(const char *name, const char *title = "");
19 
20  const AliEMCALTriggerPatchInfo *GetMainPatch() const { return fMainPatch; }
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:27
const AliEMCALTriggerPatchInfo * fMainPatch
void SetSelectionCuts(const AliEmcalTriggerSelectionCuts *const cuts)
const AliEmcalTriggerSelectionCuts * fSelectionCuts
ClassDef(AliEmcalTriggerDecision, 1)
const AliEMCALTriggerPatchInfo * GetMainPatch() const
void AddAcceptedPatch(AliEMCALTriggerPatchInfo *const acceptedPatch)
AliEmcalTriggerDecision & operator=(const AliEmcalTriggerDecision &ref)
const AliEmcalTriggerSelectionCuts * GetSelectionCuts() const
const TList * GetAcceptedPatches() const
void SetMainPatch(const AliEMCALTriggerPatchInfo *const mainpatch)
bool Bool_t
Definition: External.C:53