AliRoot Core  3dc7879 (3dc7879)
AliGenPythiaEventHeader.h
Go to the documentation of this file.
1 #ifndef ALIGENPYTHIAEVENTHEADER_H
2 #define ALIGENPYTHIAEVENTHEADER_H
3 
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice */
6 
7 /* $Id$ */
8 
9 #include "AliGenEventHeader.h"
10 
11 
13 {
14  public:
16  AliGenPythiaEventHeader(const char* name);
18  // Getters
19  Int_t ProcessType() const {return fProcessType;}
20  void SetNMPI(Int_t mpi) {fNMPI = mpi;}
21  void SetNSuperpositions(Int_t sp) { fNSuperpositions = sp; }
22  // Setters
23  void SetProcessType(Int_t type) {fProcessType = type;}
24  Int_t Trials() const {return fTrials;}
25  void SetTrials(Int_t trials) {fTrials = trials;}
26  void AddJet(Float_t px, Float_t py, Float_t pz, Float_t e);
27  void AddUQJet(Float_t px, Float_t py, Float_t pz, Float_t e);
28  Int_t NTriggerJets() const {return fNJets;}
29  Int_t NUQTriggerJets() const {return fNUQJets;}
30  void TriggerJet(Int_t i, Float_t p[4]) const;
31  void UQJet(Int_t i, Float_t p[4]) const;
32  Double_t GetXJet() const {return fXJet;}
33  Double_t GetYJet() const {return fYJet;}
34  Double_t GetInMediumLength() const {return fInMediumLength;}
35  Double_t GetImpactParameter() const {return fImpactParameter;}
36  void SetXYJet(Double_t x, Double_t y);
37  void SetImpactParameter(Double_t b) {fImpactParameter = b;}
38  void SetInMe(Double_t l) {fInMediumLength = l;}
39  void SetZQuench(Double_t z[4]);
40  void GetZQuench(Double_t z[4]) const;
41  void SetPtHard(Float_t pthard) {fPtHard = pthard;}
42  Float_t GetPtHard() const {return fPtHard;}
43  void SetXsection(Float_t xsec) {fXsection = xsec;}
44  Float_t GetXsection() const {return fXsection;}
45  Int_t GetNMPI() const {return fNMPI;}
46  Int_t GetNSuperpositions() const { return fNSuperpositions; }
47 
48 protected:
49  Int_t fProcessType; // PYTHIA process id for this event
50  Int_t fTrials; // Number of trials to fulfill trigger condition
51  Int_t fNJets; // Number of triggered jets
52  Int_t fNUQJets; // Number of unquenched jets
53  Int_t fNMPI; // numbers of MPI
54  Int_t fNSuperpositions; // numbers of superimposed events
55  Double_t fXJet; // Jet production point (x)
56  Double_t fYJet; // Jet production point (y)
57  Double_t fInMediumLength; // In medium length
58  Double_t fImpactParameter; // Impact parameter for Q-Pythia
59  Float_t fJets[4][10]; // Trigger jets
60  Float_t fUQJets[4][10]; // Unquenched trigger jets
61  Double_t fZquench[4]; // Quenching fraction
62  Float_t fPtHard; // pT hard
63  Float_t fXsection; // Cross-section
64 
65  ClassDef(AliGenPythiaEventHeader,9) // Event header for Pythia event
66 };
67 
68 
69 
70 #endif
TBrowser b
Definition: RunAnaESD.C:12
void GetZQuench(Double_t z[4]) const
void AddJet(Float_t px, Float_t py, Float_t pz, Float_t e)
void SetPtHard(Float_t pthard)
Float_t p[]
Definition: kNNTest.C:133
Double_t GetImpactParameter() const
void AddUQJet(Float_t px, Float_t py, Float_t pz, Float_t e)
void UQJet(Int_t i, Float_t p[4]) const
void TriggerJet(Int_t i, Float_t p[4]) const
void SetXYJet(Double_t x, Double_t y)
Double_t GetInMediumLength() const