fgMCEvGen changed to fMCEvGen.
[u/mrichter/AliRoot.git] / THijing / AliGenHijingEventHeader.h
CommitLineData
36b81802 1#ifndef ALIGENHIJINGEVENTHEADER_H
2#define ALIGENHIJINGEVENTHEADER_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 <TLorentzVector.h>
10
11#include "AliGenEventHeader.h"
12#include "AliCollisionGeometry.h"
13
14class AliGenHijingEventHeader : public AliGenEventHeader, public AliCollisionGeometry
15{
16 public:
17
f28a2948 18 AliGenHijingEventHeader(const char* name)
19 : AliGenEventHeader(name) {}
20 AliGenHijingEventHeader(){}
36b81802 21 virtual ~AliGenHijingEventHeader() {}
22 // Getters
23 Float_t TotalEnergy() {return fTotalEnergy;}
24 Int_t Trials() {return fTrials;}
25
26
27 // Setters
28 void SetTotalEnergy(Float_t energy) {fTotalEnergy=energy;}
29 void SetJets(TLorentzVector* jet1, TLorentzVector* jet2,
30 TLorentzVector* jet3, TLorentzVector* jet4)
31 {fJet1 = *jet1; fJet2 = *jet2; fJetFsr1 = *jet3; fJetFsr2 = *jet4;}
32 void GetJets(TLorentzVector& jet1, TLorentzVector& jet2,
33 TLorentzVector& jet3, TLorentzVector& jet4)
34 {jet1 = fJet1; jet2 = fJet2; jet3 = fJetFsr1; jet4 = fJetFsr2;}
35 void SetTrials(Int_t trials) {fTrials = trials;}
36
37protected:
38 Float_t fTotalEnergy; // Total energy of produced particles
39 Int_t fTrials; // Number of trials to fulfill trigger condition
40
41 TLorentzVector fJet1; // 4-Momentum-Vector of first triggered jet
42 TLorentzVector fJet2; // 4-Momentum-Vector of second triggered jet
43 TLorentzVector fJetFsr1; // 4-Momentum-Vector of first triggered jet
44 TLorentzVector fJetFsr2; // 4-Momentum-Vector of second triggered jet
45
46 ClassDef(AliGenHijingEventHeader,5) // Event header for hijing event
47};
48
49#endif