Rapidity shift calculated in AliGenMC::Init()
[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
18 AliGenHijingEventHeader(const char* name){;}
19 AliGenHijingEventHeader(){;}
20 virtual ~AliGenHijingEventHeader() {}
21 // Getters
22 Float_t TotalEnergy() {return fTotalEnergy;}
23 Int_t Trials() {return fTrials;}
24
25
26 // Setters
27 void SetTotalEnergy(Float_t energy) {fTotalEnergy=energy;}
28 void SetJets(TLorentzVector* jet1, TLorentzVector* jet2,
29 TLorentzVector* jet3, TLorentzVector* jet4)
30 {fJet1 = *jet1; fJet2 = *jet2; fJetFsr1 = *jet3; fJetFsr2 = *jet4;}
31 void GetJets(TLorentzVector& jet1, TLorentzVector& jet2,
32 TLorentzVector& jet3, TLorentzVector& jet4)
33 {jet1 = fJet1; jet2 = fJet2; jet3 = fJetFsr1; jet4 = fJetFsr2;}
34 void SetTrials(Int_t trials) {fTrials = trials;}
35
36protected:
37 Float_t fTotalEnergy; // Total energy of produced particles
38 Int_t fTrials; // Number of trials to fulfill trigger condition
39
40 TLorentzVector fJet1; // 4-Momentum-Vector of first triggered jet
41 TLorentzVector fJet2; // 4-Momentum-Vector of second triggered jet
42 TLorentzVector fJetFsr1; // 4-Momentum-Vector of first triggered jet
43 TLorentzVector fJetFsr2; // 4-Momentum-Vector of second triggered jet
44
45 ClassDef(AliGenHijingEventHeader,5) // Event header for hijing event
46};
47
48#endif