1 #ifndef ALIPHJBASEHEADER_H
2 #define ALIPHJBASEHEADER_H
9 // $Id: AliPhJBaseHeader.h,v 1.5 2008/05/08 13:44:45 djkim Exp $
11 ////////////////////////////////////////////////////
13 \file AliPhJBaseHeader.h
15 \author J. Rak, D.J.Kim, R.Diaz (University of Jyvaskyla)
17 \version $Revision: 1.5 $
18 \date $Date: 2008/05/08 13:44:45 $
20 ////////////////////////////////////////////////////
22 class AliPhJBaseHeader : public TObject {
26 AliPhJBaseHeader(); // default constructor
27 AliPhJBaseHeader(int eventid, short cent, float vtxz); // constructor
28 AliPhJBaseHeader(const AliPhJBaseHeader& a); // copy constructor
29 virtual ~AliPhJBaseHeader(){;} // destructor
32 int GetEventID() const {return fEventID;}
33 short GetCentrality() const {return fCentrality;}
34 float GetZVertex() const {return fVtxZ;}
35 float GetZVertexErr() const {return fVtxZErr;}
38 void SetEventID(int evid) {fEventID=evid;}
39 void SetCentrality(short cent) {fCentrality=cent;}
40 void SetZVertex(float vt) {fVtxZ=vt;}
41 void SetZVertexErr(float vt) {fVtxZErr=vt;}
43 AliPhJBaseHeader& operator=(const AliPhJBaseHeader& header);
47 int fEventID; //event id
48 short fCentrality; //centrality
49 float fVtxZ; //vertex Z
50 float fVtxZErr; //vertex error
53 ClassDef(AliPhJBaseHeader,1)