ATLAS Offline Software
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 
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 
CaloCellTimeCorrFiller.LB
LB
Definition: CaloCellTimeCorrFiller.py:37
McCnvSvc
Definition: McCnvSvc.h:22
McAddress::McAddress
McAddress(const CLID &clid, const std::string &fname, const std::string &cname)
Standard Constructor.
Definition: McAddress.cxx:33
event
POOL::TEvent event(POOL::TEvent::kClassAccess)
xAOD::uint64_t
uint64_t
Definition: EventInfo_v1.cxx:123
run
Definition: run.py:1
CLID
uint32_t CLID
The Class ID type.
Definition: Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
McCnvSvc.h
python.AthDsoLogger.fname
string fname
Definition: AthDsoLogger.py:67
CaloSwCorrections.time
def time(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:242
McAddress.h