]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliGenPythiaEventHeader.h
Fix for PROOF reco: Correct restoration of the magnetic field map on the workers.
[u/mrichter/AliRoot.git] / STEER / AliGenPythiaEventHeader.h
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
19     Int_t    ProcessType()  {return fProcessType;}
20     // Setters
21     void     SetProcessType(Int_t type)  {fProcessType = type;}
22     Int_t    Trials() {return fTrials;}
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);
26     Int_t    NTriggerJets() {return fNJets;}
27     Int_t    NUQTriggerJets() {return fNUQJets;}
28     void     TriggerJet(Int_t i, Float_t p[4]);
29     void     UQJet(Int_t i, Float_t p[4]);
30     Double_t GetXJet() {return fXJet;}
31     Double_t GetYJet() {return fYJet;}
32     Double_t GetInMediumLength()  {return fInMediumLength;}
33     Double_t GetImpactParameter() {return fImpactParameter;}
34     void     SetXYJet(Double_t x, Double_t y);
35     void     SetImpactParameter(Double_t b) {fImpactParameter = b;}
36     void     SetInMe(Double_t l) {fInMediumLength = l;}
37     void     SetZQuench(Double_t z[4]);
38     void     GetZQuench(Double_t z[4]);
39     void     SetPtHard(Float_t pthard) {fPtHard = pthard;}
40     Float_t  GetPtHard() {return fPtHard;}    
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)
50     Double_t fInMediumLength;            // In medium length
51     Double_t fImpactParameter;           // Impact parameter for Q-Pythia
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
56     ClassDef(AliGenPythiaEventHeader,6)  // Event header for Pythia event
57 };
58         
59         
60
61 #endif