AliPhysics  vAN-20150723 (baea2bf)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliEmcalTriggerSelection.h
Go to the documentation of this file.
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 
14 class TClonesArray;
15 
16 class AliEmcalTriggerSelection: public TNamed {
17 public:
19  AliEmcalTriggerSelection(const char *name, const AliEmcalTriggerSelectionCuts * const cuts);
21 
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:
36 };
37 
38 #endif /* ALIEMCALTRIGGERSELECTION_H */
const AliEmcalTriggerSelectionCuts * fSelectionCuts
ClassDef(AliEmcalTriggerSelection, 1)
const AliEmcalTriggerSelectionCuts * GetSelectionCuts() const
void SetSelectionCuts(const AliEmcalTriggerSelectionCuts *const cuts)
Main data structure storing all relevant information of EMCAL/DCAL trigger patches.
AliEmcalTriggerSelection & operator=(const AliEmcalTriggerSelection &ref)
void SetOutputName(const char *name)
AliEmcalTriggerDecision * MakeDecison(const TClonesArray *const reconstructedPatches) const