AliPhysics  d20dab4 (d20dab4)
Go to the documentation of this file.
3 /* Copyright(c) 1998-2016, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice */
17 //
18 class TClonesArray;
19 class TString;
20 class TRandom3;
21 class TH2D;
24 public:
27  virtual void UserCreateOutputObjects();
28  virtual void Terminate(Option_t *) {}
30  // ###### Configuration setters
37  void SetPhiMin(Double_t val) {fMinPhi = val;}
38  void SetPhiMax(Double_t val) {fMaxPhi = val;}
39  void SetEtaMin(Double_t val) {fMinEta = val;}
40  void SetEtaMax(Double_t val) {fMaxEta = val;}
41  void SetPtMin(Double_t val) {fMinPt = val;}
42  void SetPtMax(Double_t val) {fMaxPt = val;}
43  void SetDistributionV2(TH2D* dist) {fDistributionV2 = dist;}
44  void SetDistributionV3(TH2D* dist) {fDistributionV3 = dist;}
45  void SetDistributionV4(TH2D* dist) {fDistributionV4 = dist;}
46  void SetDistributionV5(TH2D* dist) {fDistributionV5 = dist;}
47  void ActivateJetRemoval(const char* arrName, Double_t threshold, const char* rhoObj) {fJetRemovalArrayName = arrName; fJetRemovalPtThreshold = threshold; fJetRemovalRhoObj = rhoObj;}
48  void ActivateJetEmbedding(const char* arrName) {fJetEmbeddingArrayName = arrName;}
49  void ActivateLeadingJetRemoval(const char* arrName, Int_t nLeadingJets, const char* rhoObj) {fJetRemovalArrayName = arrName; fJetRemovalNLeadingJets = nLeadingJets; fJetRemovalRhoObj = rhoObj;}
52  void SetInputArrayName(const char* name) {fInputArrayName = name;}
53  void SetOutputArrayName(const char* name) {fOutputArrayName = name;}
55 protected:
56  Bool_t Run();
57  void ExecOnce();
59  void GetLeadingJets(AliEmcalJet*& jetLeading, AliEmcalJet*& jetSubLeading);
83  TClonesArray* fInputArray;
84  TClonesArray* fOutputArray;
88  TClonesArray* fJetRemovalArray;
93  TClonesArray* fJetEmbeddingArray;
101  TRandom3* fRandom;
105  void RandomizeTrack(AliAODTrack* particle);
106  AliAODTrack* GetAODTrack(AliPicoTrack* track);
110 };
112 #endif
Double_t fMaxPt
range for Pt for randomization
TH2D * fDistributionV4
Distribution for v3 in bins of pt and centrality.
Double_t fMinEta
range for phi for randomization
Bool_t fRandomizeInTheta
randomize the particle's position in pseudorap
double Double_t
Definition: External.C:58
Double_t fRandomPsi4
eventwise calculated psi 3
TRandom3 * fRandom
! random number generator
Int_t fJetRemovalNLeadingJets
threshold at which jets given in fInputJetArray will be removed
TClonesArray * fInputArray
Name of the destination TClonesArray.
TH2D * fDistributionV5
Distribution for v4 in bins of pt and centrality.
Base task in the EMCAL framework.
Bool_t fRandomizeInPt
randomize the particle's position in theta
Double_t fMinPhi
Artificial tracking efficiency factor.
void GetLeadingJets(AliEmcalJet *&jetLeading, AliEmcalJet *&jetSubLeading)
TClonesArray * fJetRemovalArray
Name of the TClonesArray containing jets for removal that will be loaded.
TString part
use mixed event to constrain combinatorial background
Definition: InvMassFit.C:52
TString fOutputArrayName
Name of the TClonesArray that will be loaded.
TClonesArray * fOutputArray
! Destination TClonesArray
TString fJetRemovalArrayName
Name of array to rho object.
TString fJetEmbeddingArrayName
if this set via ActivateLeadingJetRemoval, the first n leading jets will be removed ...
int Int_t
Definition: External.C:63
void ActivateLeadingJetRemoval(const char *arrName, Int_t nLeadingJets, const char *rhoObj)
Definition: External.C:228
Double_t fRandomPsi5
eventwise calculated psi 4
Double_t fMinPt
range for eta for randomization
AliEmcalJet * fSubleadingJet
! subleading jet (calculated event-by-event)
TClonesArray * fJetEmbeddingArray
Name of the TClonesArray containing tracks for embedding.
TString fInputArrayName
Distribution for v5 in bins of pt and centrality.
Double_t fMaxPhi
range for phi for randomization
TH2D * fDistributionV2
range for Pt for randomization
Double_t fTrackEfficiency
randomize the particle's position in Pt
Represent a jet reconstructed using the EMCal jet framework.
Definition: AliEmcalJet.h:51
const char Option_t
Definition: External.C:48
void ActivateJetRemoval(const char *arrName, Double_t threshold, const char *rhoObj)
void ExecOnce()
Perform steps needed to initialize the analysis.
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.
AliAODTrack * GetAODTrack(AliPicoTrack *track)
bool Bool_t
Definition: External.C:53
Double_t fMaxEta
range for eta for randomization
AliEmcalJet * fLeadingJet
eventwise calculated psi 5
Bool_t fRandomizeInEta
randomize the particle's position in azimuth
TH2D * fDistributionV3
Distribution for v2 in bins of pt and centrality.