]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliGenPythiaEventHeader.h
Suffix top level Branch names with a dot, to allow switching on/off via SetBranchStat...
[u/mrichter/AliRoot.git] / STEER / AliGenPythiaEventHeader.h
CommitLineData
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
12class 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 void SetXYJet(Double_t x, Double_t y);
33 void SetZQuench(Double_t z[4]);
34 void GetZQuench(Double_t z[4]);
35 void SetPtHard(Float_t pthard) {fPtHard = pthard;}
36 Float_t GetPtHard() {return fPtHard;}
37
38
39protected:
40 Int_t fProcessType; // PYTHIA process id for this event
41 Int_t fTrials; // Number of trials to fulfill trigger condition
42 Int_t fNJets; // Number of triggered jets
43 Int_t fNUQJets; // Number of unquenched
44 Double_t fXJet; // Jet production point (x)
45 Double_t fYJet; // Jet production point (y)
46 Float_t fJets[4][10]; // Trigger jets
47 Float_t fUQJets[4][10]; // Unquenched trigger jets
48 Double_t fZquench[4]; // Quenching fraction
49 Float_t fPtHard; // pT hard
50 ClassDef(AliGenPythiaEventHeader,4) // Event header for Pythia event
51};
52
53
54
55#endif