]>
Commit | Line | Data |
---|---|---|
2ca8bd8b | 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 | ||
12 | class AliGenPythiaEventHeader : public AliGenEventHeader | |
13 | { | |
14 | public: | |
15 | AliGenPythiaEventHeader(); | |
16 | AliGenPythiaEventHeader(const char* name); | |
17 | virtual ~AliGenPythiaEventHeader() {} | |
18 | // Getters | |
5e6a3170 | 19 | Int_t ProcessType() const {return fProcessType;} |
2ca8bd8b | 20 | // Setters |
21 | void SetProcessType(Int_t type) {fProcessType = type;} | |
5e6a3170 | 22 | Int_t Trials() const {return fTrials;} |
2ca8bd8b | 23 | void SetTrials(Int_t trials) {fTrials = trials;} |
24 | void AddJet(Float_t px, Float_t py, Float_t pz, Float_t e); | |
25 | void AddUQJet(Float_t px, Float_t py, Float_t pz, Float_t e); | |
5e6a3170 | 26 | Int_t NTriggerJets() const {return fNJets;} |
27 | Int_t NUQTriggerJets() const {return fNUQJets;} | |
2ca8bd8b | 28 | void TriggerJet(Int_t i, Float_t p[4]); |
29 | void UQJet(Int_t i, Float_t p[4]); | |
5e6a3170 | 30 | Double_t GetXJet() const {return fXJet;} |
31 | Double_t GetYJet() const {return fYJet;} | |
32 | Double_t GetInMediumLength() const {return fInMediumLength;} | |
33 | Double_t GetImpactParameter() const {return fImpactParameter;} | |
61eb2000 | 34 | void SetXYJet(Double_t x, Double_t y); |
e6fe9b82 | 35 | void SetImpactParameter(Double_t b) {fImpactParameter = b;} |
36 | void SetInMe(Double_t l) {fInMediumLength = l;} | |
2ca8bd8b | 37 | void SetZQuench(Double_t z[4]); |
5e6a3170 | 38 | void GetZQuench(Double_t z[4]) const; |
2ca8bd8b | 39 | void SetPtHard(Float_t pthard) {fPtHard = pthard;} |
5e6a3170 | 40 | Float_t GetPtHard() const {return fPtHard;} |
2ca8bd8b | 41 | |
42 | ||
43 | protected: | |
44 | Int_t fProcessType; // PYTHIA process id for this event | |
45 | Int_t fTrials; // Number of trials to fulfill trigger condition | |
46 | Int_t fNJets; // Number of triggered jets | |
47 | Int_t fNUQJets; // Number of unquenched | |
48 | Double_t fXJet; // Jet production point (x) | |
49 | Double_t fYJet; // Jet production point (y) | |
61eb2000 | 50 | Double_t fInMediumLength; // In medium length |
e6fe9b82 | 51 | Double_t fImpactParameter; // Impact parameter for Q-Pythia |
2ca8bd8b | 52 | Float_t fJets[4][10]; // Trigger jets |
53 | Float_t fUQJets[4][10]; // Unquenched trigger jets | |
54 | Double_t fZquench[4]; // Quenching fraction | |
55 | Float_t fPtHard; // pT hard | |
e6fe9b82 | 56 | ClassDef(AliGenPythiaEventHeader,6) // Event header for Pythia event |
2ca8bd8b | 57 | }; |
58 | ||
59 | ||
60 | ||
61 | #endif |