ATLAS Offline Software
Loading...
Searching...
No Matches
Generators
McEventSelector
src
McAddress.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
//====================================================================
6
// McAddress implementation
7
//--------------------------------------------------------------------
8
//
9
// Package : McEventSelector
10
//
11
// Description: Event TDR address implementation
12
//
13
// Author : M.Shapiro, copied from P. Calafiura
14
// History : storegate changes Nov 01 I. Hinchliffe
15
//====================================================================
16
17
//own
18
#include "
McEventSelector/McAddress.h
"
19
#include "
McEventSelector/McCnvSvc.h
"
20
21
// Framework include files
22
#include "GaudiKernel/GenericAddress.h"
23
#include "GaudiKernel/MsgStream.h"
24
25
// Event model
26
27
28
#include <iostream>
29
30
// Externals
31
33
McAddress::McAddress
(
const
CLID
& clid,
const
std::string& fname,
const
std::string& cname )
34
: GenericAddress(
McCnvSvc
::storageType(), clid, fname, cname),
35
m_runNo
(0),
m_eventNo
(0),
m_LBNo
(0),
m_timeStamp
(0)
36
{ }
37
38
McAddress::McAddress
(
const
CLID
& clid,
const
std::string& fname,
39
const
unsigned
int
&
run
,
const
uint64_t& event,
const
unsigned
int
& LB,
const
unsigned
int
& time)
40
: GenericAddress(
McCnvSvc
::storageType(), clid, fname,
""
),
41
m_runNo
(
run
),
m_eventNo
(event),
m_LBNo
(LB),
m_timeStamp
(time)
42
{ }
43
CLID
uint32_t CLID
The Class ID type.
Definition
Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
McAddress.h
McCnvSvc.h
McAddress::m_timeStamp
unsigned int m_timeStamp
Definition
McAddress.h:56
McAddress::m_LBNo
unsigned int m_LBNo
Definition
McAddress.h:55
McAddress::m_eventNo
uint64_t m_eventNo
Definition
McAddress.h:54
McAddress::m_runNo
unsigned int m_runNo
Definition
McAddress.h:53
McAddress::McAddress
McAddress(const CLID &clid, const std::string &fname, const std::string &cname)
Standard Constructor.
Definition
McAddress.cxx:33
McCnvSvc
Definition
McCnvSvc.h:22
run
Definition
run.py:1
Generated on
for ATLAS Offline Software by
1.14.0