AliRoot Core
3dc7879 (3dc7879)
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
AliVHeader.cxx
Go to the documentation of this file.
1
/**************************************************************************
2
* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
3
* *
4
* Author: The ALICE Off-line Project. *
5
* Contributors are mentioned in the code where appropriate. *
6
* *
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
**************************************************************************/
15
16
/* $Id$ */
17
18
//-------------------------------------------------------------------------
19
// Event header base class
20
// Author: Markus Oldenburg, CERN
21
//-------------------------------------------------------------------------
22
23
#include "
AliVHeader.h
"
24
25
ClassImp(
AliVHeader
)
26
27
//______________________________________________________________________________
28
AliVHeader
::
AliVHeader
() :
29
TNamed("header","") { }
// default constructor
30
31
//______________________________________________________________________________
32
AliVHeader::AliVHeader
(
const
AliVHeader
& hdr) :
33
TNamed(hdr) { }
// Copy constructor
34
35
//______________________________________________________________________________
36
AliVHeader
&
AliVHeader::operator=
(
const
AliVHeader
& hdr)
37
{
38
// Assignment operator
39
if
(
this
!=&hdr) {
40
TNamed::operator=(hdr);
41
}
42
return
*
this
;
43
}
44
45
//____________________________________________
46
ULong64_t
AliVHeader::GetEventIdAsLong
()
const
47
{
48
// get global bunch corssing ID - as in AliRawReader::GetEventIdAsLong
49
return
(((ULong64_t)
GetPeriodNumber
()<<36)|((ULong64_t)
GetOrbitNumber
()<<12)|((ULong64_t)
GetBunchCrossNumber
()));
50
}
AliVHeader::GetEventIdAsLong
ULong64_t GetEventIdAsLong() const
Definition:
AliVHeader.cxx:46
AliVHeader::GetBunchCrossNumber
virtual UShort_t GetBunchCrossNumber() const =0
AliVHeader::GetOrbitNumber
virtual UInt_t GetOrbitNumber() const =0
AliVHeader
Definition:
AliVHeader.h:16
AliVHeader::AliVHeader
AliVHeader()
Definition:
AliVHeader.cxx:28
AliVHeader::GetPeriodNumber
virtual UInt_t GetPeriodNumber() const =0
AliVHeader.h
AliVHeader::operator=
AliVHeader & operator=(const AliVHeader &evt)
Definition:
AliVHeader.cxx:36
STEER
STEERBase
AliVHeader.cxx
Generated on Mon Nov 5 2018 17:14:22 for AliRoot Core by
1.8.11