ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
EventAthenaPool
src
EventInfoCnv.h
Go to the documentation of this file.
1
// this is -*- C++ -*-
2
3
/*
4
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
5
*/
6
12
13
#ifndef EVENTATHENAPOOL_EVENTINFOCNV_H
14
#define EVENTATHENAPOOL_EVENTINFOCNV_H 1
15
16
#include "GaudiKernel/SmartIF.h"
17
18
#include "
AthenaKernel/IEvtIdModifierSvc.h
"
19
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
20
#include "EventInfo/EventInfo.h"
21
#include "
EventTPCnv/EventInfo_p4.h
"
22
23
// the latest persistent representation type of EventInfo
24
typedef
EventInfo_p4
EventInfo_PERS
;
25
typedef
T_AthenaPoolCustomCnv<EventInfo, EventInfo_PERS >
EventInfoCnvBase
;
26
27
class
EventInfoCnv
:
public
EventInfoCnvBase
{
28
friend
class
CnvFactory
<
EventInfoCnv
>;
29
30
protected
:
31
public
:
32
EventInfoCnv
(ISvcLocator* svcloc);
33
protected
:
34
virtual
EventInfo_PERS
*
createPersistent
(
EventInfo
* transObj);
35
virtual
EventInfo
*
createTransient
(
const
Token
* token);
36
EventInfo
*
massageEventInfo
(
EventInfo
* ei);
37
38
private
:
39
40
bool
m_checkedEventSelector
;
41
bool
m_overrideRunNumber
;
42
unsigned
int
m_simRunNumber
;
43
unsigned
int
m_lumiBlockNumber
;
44
unsigned
int
m_evtsPerLumiBlock
;
45
unsigned
int
m_lbEvtCounter
;
46
unsigned
int
m_timeStamp
;
47
unsigned
int
m_timeStampInterval
;
48
49
SmartIF<IEvtIdModifierSvc>
m_evtIdModSvc
;
50
};
51
52
53
54
#endif
55
EventInfo_PERS
EventInfo_p4 EventInfo_PERS
Definition
EventInfoCnv.h:24
EventInfoCnvBase
T_AthenaPoolCustomCnv< EventInfo, EventInfo_PERS > EventInfoCnvBase
Definition
EventInfoCnv.h:25
EventInfo_p4.h
This class is the persistent representation of EventInfo.
IEvtIdModifierSvc.h
T_AthenaPoolCustomCnv.h
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
CnvFactory
Abstract factory to create the converter.
Definition
ToyConverter.h:16
EventInfoCnv::EventInfoCnv
EventInfoCnv(ISvcLocator *svcloc)
Definition
EventInfoCnv.cxx:26
EventInfoCnv::m_checkedEventSelector
bool m_checkedEventSelector
Definition
EventInfoCnv.h:40
EventInfoCnv::m_simRunNumber
unsigned int m_simRunNumber
Definition
EventInfoCnv.h:42
EventInfoCnv::m_overrideRunNumber
bool m_overrideRunNumber
Definition
EventInfoCnv.h:41
EventInfoCnv::m_evtsPerLumiBlock
unsigned int m_evtsPerLumiBlock
Definition
EventInfoCnv.h:44
EventInfoCnv::m_lbEvtCounter
unsigned int m_lbEvtCounter
Definition
EventInfoCnv.h:45
EventInfoCnv::m_timeStamp
unsigned int m_timeStamp
Definition
EventInfoCnv.h:46
EventInfoCnv::createTransient
virtual EventInfo * createTransient(const Token *token)
Definition
EventInfoCnv.cxx:48
EventInfoCnv::m_evtIdModSvc
SmartIF< IEvtIdModifierSvc > m_evtIdModSvc
Definition
EventInfoCnv.h:49
EventInfoCnv::m_timeStampInterval
unsigned int m_timeStampInterval
Definition
EventInfoCnv.h:47
EventInfoCnv::massageEventInfo
EventInfo * massageEventInfo(EventInfo *ei)
Definition
EventInfoCnv.cxx:107
EventInfoCnv::createPersistent
virtual EventInfo_PERS * createPersistent(EventInfo *transObj)
Definition
EventInfoCnv.cxx:41
EventInfoCnv::m_lumiBlockNumber
unsigned int m_lumiBlockNumber
Definition
EventInfoCnv.h:43
EventInfo_p4
Definition
EventInfo_p4.h:18
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition
T_AthenaPoolCustomCnv.h:129
Token
This class provides a token that identifies in a unique way objects on the persistent storage.
Definition
Token.h:22
EventInfo
Definition
EventInfo.py:1
Generated on
for ATLAS Offline Software by
1.17.0