Correcting coding convention violations
[u/mrichter/AliRoot.git] / EVGEN / AliGenEventHeader.h
CommitLineData
56a10437 1#ifndef ALIGENEVENTHEADER_H
2#define ALIGENEVENTHEADER_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 <TNamed.h>
10#include <TDatime.h>
11
12class AliGenEventHeader : public TNamed
13{
14 public:
15
16 AliGenEventHeader(const char* name="Undefined");
17 virtual ~AliGenEventHeader() {}
18 // Getters
19 virtual TDatime Date() {return fDate;}
20 virtual Int_t RunNumber() {return fRunNumber;}
21 virtual Int_t EventNumber() {return fEventNumber;}
22 virtual Int_t NProduced() {return fNProduced;}
23 virtual Float_t ImpactParameter() {return fImpactParameter;}
24 // Setters
25 virtual void SetDate(TDatime date) {fDate=date;}
26 virtual void SetRunNumber(Int_t run) {fRunNumber=run;}
27 virtual void SetEventNumber(Int_t event) {fEventNumber=event;}
28 virtual void SetNProduced(Int_t nprod) {fNProduced=nprod;}
29 virtual void SetImpactParameter(Float_t b) {fImpactParameter=b;}
30
31protected:
32 TDatime fDate; // Date
33 Int_t fRunNumber; // Run Number
34 Int_t fEventNumber; // Event Number
35 Int_t fNProduced; // Number stable or undecayed particles
36 Float_t fImpactParameter; // Impact Parameter
37
38 ClassDef(AliGenEventHeader,1) // Event header for primary event
39};
40
41#endif