]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG4/JCORRAN/AliPhJBaseHeader.h
fake return to solve coverity 16614
[u/mrichter/AliRoot.git] / PWG4 / JCORRAN / AliPhJBaseHeader.h
CommitLineData
2f4cac02 1#ifndef ALIPHJBASEHEADER_H
2#define ALIPHJBASEHEADER_H
3
4#ifndef ROOT_TObject
5#include <TObject.h>
6#endif
7
8
9// $Id: AliPhJBaseHeader.h,v 1.5 2008/05/08 13:44:45 djkim Exp $
10
11////////////////////////////////////////////////////
12/*!
13 \file AliPhJBaseHeader.h
14 \brief
15 \author J. Rak, D.J.Kim, R.Diaz (University of Jyvaskyla)
16 \email: djkim@jyu.fi
17 \version $Revision: 1.5 $
18 \date $Date: 2008/05/08 13:44:45 $
19*/
20////////////////////////////////////////////////////
21
22class AliPhJBaseHeader : public TObject {
23
24public:
25
26 AliPhJBaseHeader(); // default constructor
27 AliPhJBaseHeader(int eventid, short cent, float vtxz); // constructor
28 AliPhJBaseHeader(const AliPhJBaseHeader& a); // copy constructor
29 virtual ~AliPhJBaseHeader(){;} // destructor
30
31 //getter
32 int GetEventID() const {return fEventID;}
33 short GetCentrality() const {return fCentrality;}
34 float GetZVertex() const {return fVtxZ;}
35 float GetZVertexErr() const {return fVtxZErr;}
36
37 //setter
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;}
42
43 AliPhJBaseHeader& operator=(const AliPhJBaseHeader& header);
44
45 private:
46
47 int fEventID; //event id
48 short fCentrality; //centrality
49 float fVtxZ; //vertex Z
50 float fVtxZErr; //vertex error
51
52
53 ClassDef(AliPhJBaseHeader,1)
54
55};
56
57#endif