ATLAS Offline Software
Loading...
Searching...
No Matches
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
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
33McAddress::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
38McAddress::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
uint32_t CLID
The Class ID type.
unsigned int m_timeStamp
Definition McAddress.h:56
unsigned int m_LBNo
Definition McAddress.h:55
uint64_t m_eventNo
Definition McAddress.h:54
unsigned int m_runNo
Definition McAddress.h:53
McAddress(const CLID &clid, const std::string &fname, const std::string &cname)
Standard Constructor.
Definition McAddress.cxx:33
Definition run.py:1