]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PYTHIA6/AliGenPythiaEventHeader.h
negative indexes allowed
[u/mrichter/AliRoot.git] / PYTHIA6 / AliGenPythiaEventHeader.h
CommitLineData
8d2cd130 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(const char* name){fNJets = 0;}
16 AliGenPythiaEventHeader(){fNJets = 0;}
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 Int_t NTriggerJets() {return fNJets;}
26 void TriggerJet(Int_t i, Float_t p[4]);
27
28
29protected:
30 Int_t fProcessType; // PYTHIA process id for this event
31 Int_t fTrials; // Number of trials to fulfill trigger condition
32 Int_t fNJets; // Number of triggered jets
33 Float_t fJets[4][10]; // Trigger jets
34 ClassDef(AliGenPythiaEventHeader,2) // Event header for Pythia event
35};
36
37#endif