1 /**************************************************************************
2 * Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
16 // Comment describing what this class does needed!
18 // $Id: AliJBaseEventHeader.cxx,v 1.4 2008/05/08 13:44:45 djkim Exp $
20 ////////////////////////////////////////////////////
22 // \file AliJBaseEventHeader.cc
24 // \author J. Rak, D.J.Kim, R.Diaz, M.Bondila, Chang Yeong (University of Jyvaskyla) email: djkim@cc.jyu.fi
25 // \version $Revision: 1.4 $
26 // \date $Date: 2008/05/08 13:44:45 $
28 // Base class for event headers
29 ////////////////////////////////////////////////////
32 #include "AliJBaseEventHeader.h"
34 ClassImp(AliJBaseEventHeader)
36 //______________________________________________________________________________
37 AliJBaseEventHeader::AliJBaseEventHeader():
38 TNamed("AliJBaseEventHeader", ""),
49 // default constructor
52 //______________________________________________________________________________
53 AliJBaseEventHeader::AliJBaseEventHeader(int eventid, float cent, float vtxz):
54 TNamed("AliJBaseEventHeader", ""),
67 //______________________________________________________________________________
68 AliJBaseEventHeader::AliJBaseEventHeader(const AliJBaseEventHeader& a):
71 fCentrality(a.fCentrality),
83 //______________________________________________________________________________
84 AliJBaseEventHeader& AliJBaseEventHeader::operator=(const AliJBaseEventHeader& header){
87 TNamed::operator=(header);
88 fEventID = header.fEventID;
89 fCentrality = header.fCentrality;
93 fVtxZErr = header.fVtxZErr;
94 fVtxMCX = header.fVtxMCX;
95 fVtxMCY = header.fVtxMCY;
96 fVtxMCZ = header.fVtxMCZ;