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: AliJHeader.cxx,v 1.2 2008/01/21 11:56:39 djkim Exp $
18 ////////////////////////////////////////////////////
20 // \file AliJHeader.cxx
22 // \author J. Rak, D.J.Kim, R.Diaz (University of Jyvaskyla)
23 // \email: djkim@jyu.fi
24 // \version $Revision: 1.1 $
25 // \date $Date: 2008/05/02 11:56:39 $
27 // Base clase for event header
28 ////////////////////////////////////////////////////
30 #include "AliPhJBaseHeader.h"
31 #include "AliJHeader.h"
35 //______________________________________________________________________________
36 AliJHeader::AliJHeader():
39 fTriggerMaskJCorran(0),
40 fSPDTrackletMult(-999),
43 // default constructor
46 //______________________________________________________________________________
47 AliJHeader::AliJHeader(
51 ULong64_t trigmaskAli,
56 AliPhJBaseHeader(eventid,cent,vrtz),
57 fTriggerMaskAlice(trigmaskAli),
58 fTriggerMaskJCorran(trigmaskJC),
59 fSPDTrackletMult(refmult),
64 //______________________________________________________________________________
65 AliJHeader::AliJHeader(const AliJHeader& a):
67 fTriggerMaskAlice(a.fTriggerMaskAlice),
68 fTriggerMaskJCorran(a.fTriggerMaskJCorran),
69 fSPDTrackletMult(a.fSPDTrackletMult),
70 fEventType(a.fEventType)
75 //______________________________________________________________________________
76 AliJHeader& AliJHeader::operator=(const AliJHeader& header){
77 //overloaded operator =
78 if (this != &header) {
79 AliPhJBaseHeader::operator=(header);
80 fTriggerMaskAlice = header.fTriggerMaskAlice;
81 fTriggerMaskJCorran = header.fTriggerMaskJCorran;
82 fSPDTrackletMult = header.fSPDTrackletMult;
83 fEventType = header.fEventType;