AliPhysics  e59a9ba (e59a9ba)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliJetTriggerSelectionTask.h
Go to the documentation of this file.
1 #ifndef ALIJETTRIGGERSELECTIONTASK_H
2 #define ALIJETTRIGGERSELECTIONTASK_H
3 
4 // $Id$
5 
6 class AliEmcalJet;
7 
9 
11  public:
12 
14  AliJetTriggerSelectionTask(const char *name);
16 
17  void SetMaxDistance(Double_t d) { fMaxDistance2 = d*d ; }
18  void SetEnergyThreshold(TF1 *f) { fEnergyThreshold = f ; }
19  void SetTriggerBits(UInt_t d) { fTriggerBits = d ; }
20 
21  protected:
22  Bool_t Run();
23  void ExecOnce();
24  Bool_t RetrieveEventObjects();
25  void FindTriggers();
26  void SelectJets();
27  Bool_t IsTriggerJet(AliEmcalJet *jet);
28 
29  TF1 *fEnergyThreshold; // energy threshold vs. centrality
30  Double_t fMaxDistance2; // max distance square between trigger patch and jet
31  UInt_t fTriggerBits; // trigger bit to be set
32 
33  Bool_t fTaskSettingsOk;
34  Int_t fNTriggers;
35  Double_t fTrigPos[999][2];
36  AliVVZERO *fVZERO;
37  Double_t fV0ATotMult;
38  Double_t fV0CTotMult;
39 
40  private:
41  AliJetTriggerSelectionTask(const AliJetTriggerSelectionTask&); // not implemented
43 
44  ClassDef(AliJetTriggerSelectionTask, 1) // jet trigger selection task
45 };
46 #endif
AliVVZERO * fVZERO
(eta,phi) trigger positions in the current event
Double_t fTrigPos[999][2]
number of triggers in the current event
AliJetTriggerSelectionTask & operator=(const AliJetTriggerSelectionTask &)
Int_t fNTriggers
if false, don't execute task
Double_t fV0ATotMult
Event V0 object.
Base task in the EMCAL jet framework.
Represent a jet reconstructed using the EMCal jet framework.
Definition: AliEmcalJet.h:44
Double_t fV0CTotMult
Event V0A total multiplicity.