]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVGEN/AliGenHijingEventHeader.h
Field conversion factor added.
[u/mrichter/AliRoot.git] / EVGEN / AliGenHijingEventHeader.h
CommitLineData
56a10437 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 "AliGenEventHeader.h"
332c8db0 10#include <TLorentzVector.h>
56a10437 11
12class AliGenHijingEventHeader : public AliGenEventHeader
13{
14 public:
15
16 AliGenHijingEventHeader(const char* name){;}
56484237 17 AliGenHijingEventHeader(){;}
56a10437 18 virtual ~AliGenHijingEventHeader() {}
19 // Getters
20 Float_t TotalEnergy() {return fTotalEnergy;}
21 Int_t HardScatters() {return fNHardScatters;}
22 Int_t ProjectileParticipants() {return fNProjectileParticipants;}
b46f2676 23 Int_t TargetParticipants() {return fNTargetParticipants;}
24 Int_t Spectatorsn() {return fSpecn;}
25 Int_t Spectatorsp() {return fSpecp;}
56a10437 26 Int_t NN() {return fNNColl;}
27 Int_t NNw() {return fNNwColl;}
28 Int_t NwN() {return fNwNColl;}
29 Int_t NwNw() {return fNwNwColl;}
e4ffda63 30 Int_t Trials() {return fTrials;}
31
32
56a10437 33 // Setters
34 void SetTotalEnergy(Float_t energy) {fTotalEnergy=energy;}
35 void SetHardScatters(Int_t n) {fNHardScatters=n;}
36 void SetParticipants(Int_t np, Int_t nt)
37 {fNProjectileParticipants=np, fNTargetParticipants=nt;}
38 void SetCollisions(Int_t nn, Int_t nnw, Int_t nwn, Int_t nwnw)
39 {fNNColl=nn, fNNwColl=nnw, fNwNColl=nwn, fNwNwColl=nwnw;}
b46f2676 40 void SetSpectators(Int_t nspecn, Int_t nspecp)
41 {fSpecn=nspecn, fSpecp=nspecp;}
5d4e0b04 42 void SetJets(TLorentzVector* jet1, TLorentzVector* jet2,
43 TLorentzVector* jet3, TLorentzVector* jet4)
44 {fJet1 = *jet1; fJet2 = *jet2; fJetFsr1 = *jet3; fJetFsr2 = *jet4;}
45 void GetJets(TLorentzVector& jet1, TLorentzVector& jet2,
46 TLorentzVector& jet3, TLorentzVector& jet4)
47 {jet1 = fJet1; jet2 = fJet2; jet3 = fJetFsr1; jet4 = fJetFsr2;}
e4ffda63 48 void SetTrials(Int_t trials) {fTrials = trials;}
49
56a10437 50protected:
51 Float_t fTotalEnergy; // Total energy of produced particles
52 Int_t fNHardScatters; // Number of hard scatterings
53 Int_t fNProjectileParticipants; // Number of projectiles participants
54 Int_t fNTargetParticipants; // Number of target participants
55 Int_t fNNColl; // Number of N-N collisions
56 Int_t fNNwColl; // Number of N-Nwounded collisions
57 Int_t fNwNColl; // Number of Nwounded-N collisons
58 Int_t fNwNwColl; // Number of Nwounded-Nwounded collisions
b46f2676 59 Int_t fSpecn; // Number of spectators neutrons
60 Int_t fSpecp; // Number of spectators protons
e4ffda63 61 Int_t fTrials; // Number of trials to fulfill trigger condition
62
5d4e0b04 63 TLorentzVector fJet1; // 4-Momentum-Vector of first triggered jet
64 TLorentzVector fJet2; // 4-Momentum-Vector of second triggered jet
65 TLorentzVector fJetFsr1; // 4-Momentum-Vector of first triggered jet
66 TLorentzVector fJetFsr2; // 4-Momentum-Vector of second triggered jet
56a10437 67
e4ffda63 68 ClassDef(AliGenHijingEventHeader,4) // Event header for hijing event
56a10437 69};
70
71#endif