AliPhysics  9fe175b (9fe175b)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliAnalysisTaskEmcalJetTriggerQA.h
Go to the documentation of this file.
1 #ifndef ALIANALYSISTASKEMCALJETTRIGGERQA_H
2 #define ALIANALYSISTASKEMCALJETTRIGGERQA_H
3 
4 class TH1;
5 class TH2;
6 class TH3;
7 class TH3F;
8 class TProfile;
9 class TClonesArray;
10 class TArrayI;
11 
12 #include <TRef.h>
13 #include <TBits.h>
14 #include <TMath.h>
15 
16 #include <AliVEvent.h>
17 
19 
21  public:
23  AliAnalysisTaskEmcalJetTriggerQA(const char *name);
25 
27  void Terminate(Option_t *option);
28 
29  Bool_t SelectEvent(); //decides if event is used for analysis
31 
32  //Setters
33  void SetDebug(Int_t d) { fDebug = d;}
34  void SetTriggerClass(const char *n) { fTriggerClass = n; }
35  void SetNFastorPatch(Int_t i) { fNFastOR = i;}
36 
37  void SetContainerFull(Int_t c) { fContainerFull = c;}
38  void SetContainerCharged(Int_t c) { fContainerCharged = c;}
39 
41 
42  Int_t GetLeadingCellId(const AliVCluster *clus) const;
43  Double_t GetEnergyLeadingCell(const AliVCluster *clus) const;
44  Double_t GetECross(Int_t absID) const;
45 
46  Double_t GetZ(const AliVParticle *trk, const AliEmcalJet *jet) const;
47  Double_t GetZ(Double_t trkPx, Double_t trkPy, Double_t trkPz, Double_t jetPx, Double_t jetPy, Double_t jetPz) const;
48 
49  protected:
50  Bool_t FillHistograms() ;
51  Bool_t Run() ;
52  Float_t RelativeEP(Double_t objAng, Double_t EPAng) const;
53  Bool_t TestFilterBit(Int_t trigBit, UInt_t bitJetTrig) const {return (Bool_t) ((trigBit & bitJetTrig) != 0);}
54 
55  private:
56  Bool_t fDebug; // debug level
57  TString fTriggerClass; // trigger class to analyze EJ1 or EJ2
58  Int_t fContainerFull; // number of container with full jets DET
59  Int_t fContainerCharged; // number of container with charged jets DET
60  Double_t fMaxPatchEnergy; // energy of patch with largest energy (offline)
61  Double_t fMaxPatchADCEnergy; // energy of patch with largest energy from online ADC
62  Int_t fTriggerType; // trigger type
63  Int_t fNFastOR; // size of trigger patch fNFastORxfNFastOR
64  TriggerCategory fMainTrigCat; // trigger category for main trigger
65  Bool_t fMainTrigSimple; // use offline trigger instead of online
66 
67  TH1F *fhNEvents;
68  TProfile *fhTriggerbit;
88  TH2F *fh2PtNEF;
89  TH3F *fh3NEFEtaPhi;
92  TH2F *fh2Ptz;
93  TH2F *fh2PtzCharged;
112 
115 
117 };
118 #endif
119 
120 
void SetMainTriggerTypeCat(TriggerCategory cat, Bool_t b)
TH2F * fh2NJetsPtCharged
NJets per event vs pT,jet.
Bool_t TestFilterBit(Int_t trigBit, UInt_t bitJetTrig) const
TH2F * fh2PtMeanPtConstituentsNeutral
pt, <pt> charged constituents
TH3F * fh3JetReacCent
cluster energy vs energy of leading cell in cluster vs time of the leading cell
TH3F * fh3EEtaPhiCluster
correlation between leading jet of the two branches
TH3F * fh3PtEtaPhiJetCharged
pt,eta,phi of full jets
TH2F * fh2PtNConstituents
pt, # charged jet constituents
TH3F * fh3PatchADCEnergyEtaPhiCenterJ2
patch ADC energy vs eta, phi at center of patch, high threshold
TH3F * fh3PatchADCEnergyEtaPhiCenterJ1
patch energy vs eta, phi at center of patch, low + high threshold
TH3F * fh3PatchEnergyEtaPhiCenterJ1J2
patch energy vs eta, phi at center of patch, low threshold
TH3F * fh3PtEtaPhiTracksNoProp
pt,eta,phi of tracks at vertex
TH2F * fh2PtNEF
pt, <pt> neutral constituents
TH2F * fh2Ptz
NEF, # neutral jet constituents.
TH2F * fHistRhovsCentFull
histogram containing the triggerbit (fOfflineTriggerMask)
TH3F * fh3PtEtaAreaJetCharged
pt,eta,area of full jet
Double_t GetEnergyLeadingCell(const AliVCluster *clus) const
TH3F * fh3PtEtaPhiTracksToProp
pt,eta,phi of tracks at Emcal surface
Double_t GetZ(const AliVParticle *trk, const AliEmcalJet *jet) const
TH3F * fh3PtLeadJet1RawPatchEnergyVZEROAmp
leading jet energy vs leading patch energy vs VZERO amplitude
TH3F * fh3PtLeadJet2VsPatchEnergy
leading jet energy vs leading patch energy vs jet trigger (J1/J2)
TH2F * fh2CentPtJetCharged
cent, pt of full jets
TH2F * fh2PtzCharged
pt, z=pT,h,proj/p,jet full jet
TH2F * fh2PtNConstituentsCharged
pt,eta,area of charged jets
TH3F * fh3NEFEtaPhi
pt, NEF (neutral energy fraction)
TH3F * fh3PatchEnergyEtaPhiCenterJ2
patch energy vs eta, phi at center of patch, high threshold
TH3F * fh3EEtaPhiCell
patch ADC energy vs eta, phi at center of patch, all trigger patches
TH3F * fh3PatchADCEnergyEtaPhiCenterAll
patch ADC energy vs eta, phi at center of patch, low + high threshold
TH3F * fh3PatchADCEnergyEtaPhiCenterJ1J2
patch ADC energy vs eta, phi at center of patch, low threshold
TH3F * fh3PtEtaPhiTracksProp
pt,eta,phi of tracks at vertex
TH3F * fh3PtEtaAreaJetFull
NJets per event vs pT,jet.
TH2F * fh2PtMeanPtConstituentsCharged
pt, # jet constituents
TH3F * fh3PtLeadJet1VsPatchEnergy
cluster E, eta, phi
TH3F * fh3PtEtaPhiJetFull
cent, pt of charged jets
TH3F * fh3PtLeadJet1PatchEnergyVZEROAmp
leading jet energy vs leading patch energy vs jet trigger (J1/J2)
AliAnalysisTaskEmcalJetTriggerQA & operator=(const AliAnalysisTaskEmcalJetTriggerQA &)
Float_t RelativeEP(Double_t objAng, Double_t EPAng) const
TH3F * fh3EClusELeadingCellVsTime
emcal cell energy vs time
Base task in the EMCAL jet framework.
Represent a jet reconstructed using the EMCal jet framework.
Definition: AliEmcalJet.h:44
TProfile * fhTriggerbit
Histo number of events.
TH3F * fh3PtEtaPhiTracksOnEmcal
pt,eta,phi of tracks at vertex
TH2F * fh2CentPtJetFull
pt,eta,phi of tracks at vertex
TH3F * fh3PatchEnergyEtaPhiCenterJ1
leading jet energy vs online leading patch energy vs VZERO amplitude
Int_t GetLeadingCellId(const AliVCluster *clus) const
TriggerCategory
Online trigger categories.
TH2F * fh2NEFNConstituentsNeutral
NEF, # charged jet constituents.
TH2F * fh2PtLeadJet1VsLeadJet2
pt, z=pT,h,proj/p,jet charged jet
TH2F * fh2NJetsPtFull
pt,eta,phi of charged jets