AliPhysics  ebc57ae (ebc57ae)
 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
41 
42  protected:
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 &)
Definition: External.C:260
Definition: External.C:244
Bool_t FillHistograms()
Function filling histograms.
TCanvas * c
Definition: TestFitELoss.C:172
Bool_t Run()
Run function. This is the core function of the analysis and contains the user code. Therefore users have to implement this function.
int Int_t
Definition: External.C:63
MainPatchType fMainPatchType
correlation between jets, patch energy and event observables
Definition: External.C:220
Base task in the EMCAL jet framework.
const char Option_t
Definition: External.C:48
bool Bool_t
Definition: External.C:53
TriggerCategory
Online trigger categories.
Definition: External.C:196