AliPhysics  9ce65a0 (9ce65a0)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliJetEmbeddingFromGenTask.h
Go to the documentation of this file.
1 
6 #ifndef ALIJETEMBEDDINGFROMGENTASK_H
7 #define ALIJETEMBEDDINGFROMGENTASK_H
8 
9 // $Id$
10 
11 class TClonesArray;
12 class TProfile;
13 class AliEMCALGeometry;
14 
15 #include "AliJetModelBaseTask.h"
16 class AliGenerator;
17 
19  public:
21  AliJetEmbeddingFromGenTask(const char *name, Bool_t drawqa);
23 
25  void FillPythiaHistograms();
26 
27  void SetGen(AliGenerator *gen) { fGen = gen ; }
32  protected:
33  Bool_t ExecOnce();
34  void Run();
35 
36  AliGenerator *fGen; //generator
37  Bool_t fMassless; //make particles massless
38  Bool_t fChargedOnly; //accept only charged particles
39  Bool_t fToyModelFragmentation; //change pythia fragmentation according to some toy model
40  Double_t fToyModelFraction; //reduce pT of the generated particles by some fraction
41  TH1F *fHistPt;
43  TH1F *fHistTrials;
44  TProfile *fHistXsection;
46 
47  private:
48  AliJetEmbeddingFromGenTask(const AliJetEmbeddingFromGenTask&); // not implemented
50 
51  ClassDef(AliJetEmbeddingFromGenTask, 4) // Jet embedding task
52 };
53 #endif
double Double_t
Definition: External.C:58
Definition: External.C:236
Bool_t ExecOnce()
generate a particle with random eta,phi, and correlated pt,mass values
Base class for embedding into an event.
TH2F * fHistEtaPhi
pT spectrum of generated particles
Class for embedding a generated monte carlo event into a data event.
AliJetEmbeddingFromGenTask & operator=(const AliJetEmbeddingFromGenTask &)
TProfile * fHistXsection
trials from generator
TH1F * fHistTrials
eta-phi of generated particles
TH1 * fHistPtHard
x-section from generator
bool Bool_t
Definition: External.C:53
Definition: External.C:196