AliPhysics  e59a9ba (e59a9ba)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliAnalysisTaskTriggerRejection.h
Go to the documentation of this file.
1 #ifndef ALIANALYSISTASKTRIGGERREJECTION_H
2 #define ALIANALYSISTASKTRIGGERREJECTION_H
3 
4 class TH1;
5 class TH2;
6 class TH3;
7 class TH3F;
8 class TProfile;
9 class THnSparse;
10 class TClonesArray;
11 class TArrayI;
12 
13 #include <TRef.h>
14 #include <TBits.h>
15 #include <TMath.h>
16 
17 #include <AliVEvent.h>
18 
20 #include "AliEMCALTriggerPatchInfo.h"
21 
22 namespace JETriggerRejectionAna {
24  public:
26  kManual = 0, //just select highest energy patch in array
27  kEmcalJet = 1 //use functionality of AliAnalysisTaskEmcal
28  };
30  AliAnalysisTaskTriggerRejection(const char *name);
32 
34  void Terminate(Option_t *option);
35 
36  //Setters
37  void SetContainerFull(Int_t c) { fContainerFull = c;}
38  void SetContainerCharged(Int_t c) { fContainerCharged = c;}
41 
42  protected:
43  Bool_t FillHistograms() ;
44  Bool_t Run() ;
45  void ExtractMainPatch();
46 
47  private:
48  Int_t fContainerFull; // number of container with full jets DET
49  Int_t fContainerCharged; // number of container with charged jets DET
50  AliEMCALTriggerPatchInfo *fMaxPatch; // main patch
51  THnSparse *fhnTriggerInfo;
52  MainPatchType fMainPatchType; // method to select main patch
53  TriggerCategory fMainTrigCat; // trigger category for main trigger from AliAnalysisTaskEmcal::GetMainTriggerPatch
54  Bool_t fMainTrigSimple; // use offline trigger instead of online from AliAnalysisTaskEmcal::GetMainTriggerPatch
55 
58 
60  };
61 }
62 #endif
63 
64 
AliAnalysisTaskTriggerRejection & operator=(const AliAnalysisTaskTriggerRejection &)
MainPatchType fMainPatchType
correlation between jets, patch energy and event observables
Base task in the EMCAL jet framework.
TriggerCategory
Online trigger categories.