1 /**************************************************************************
2 * Copyright(c) 1998-1999, 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 notifce *
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 // $Id: AliJBaseEventHeader.cxx,v 1.4 2008/05/08 13:44:45 djkim Exp $
18 ////////////////////////////////////////////////////
20 // \file AliJBaseEventHeader.cc
22 // \author J. Rak, D.J.Kim, R.Diaz, M.Bondila, Chang Yeong (University of Jyvaskyla) email: djkim@cc.jyu.fi
23 // \version $Revision: 1.4 $
24 // \date $Date: 2008/05/08 13:44:45 $
26 // Base class for event headers
27 ////////////////////////////////////////////////////
30 #include "AliJBaseEventHeader.h"
32 ClassImp(AliJBaseEventHeader)
34 //______________________________________________________________________________
35 AliJBaseEventHeader::AliJBaseEventHeader():
36 TNamed("AliJBaseEventHeader", ""),
44 // default constructor
47 //______________________________________________________________________________
48 AliJBaseEventHeader::AliJBaseEventHeader(int eventid, float cent, float vtxz):
49 TNamed("AliJBaseEventHeader", ""),
59 //______________________________________________________________________________
60 AliJBaseEventHeader::AliJBaseEventHeader(const AliJBaseEventHeader& a):
63 fCentrality(a.fCentrality),
72 //______________________________________________________________________________
73 AliJBaseEventHeader& AliJBaseEventHeader::operator=(const AliJBaseEventHeader& header){
76 TNamed::operator=(header);
77 fEventID = header.fEventID;
78 fCentrality = header.fCentrality;
82 fVtxZErr = header.fVtxZErr;