ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigEvent
TrigEventAthenaPool
src
TrigHisto1DCnv.h
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
* @Project: Trigger
7
* @Package: TrigEventAthenaPool
8
* @class : TrigHisto1DCnv
9
*
10
* @brief transient persistent converter for TrigHisto1D
11
*
12
* @author W. H. Bell <W.Bell@cern.ch>
13
*
14
**********************************************************************************/
15
#ifndef TRIGEVENTATHENAPOOL_TRIGHISTO1DCNV_H
16
#define TRIGEVENTATHENAPOOL_TRIGHISTO1DCNV_H
17
18
#include "
TrigInDetEvent/TrigHisto1D.h
"
19
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
20
class
TrigHisto1D_p1
;
21
22
23
class
MsgStream;
24
25
// typedef to the latest persistent version
26
typedef
TrigHisto1D_p1
TrigHisto1D_PERS
;
27
28
typedef
T_AthenaPoolCustomCnv<TrigHisto1D, TrigHisto1D_PERS >
TrigHisto1DCnvBase
;
29
30
class
TrigHisto1DCnv
:
public
TrigHisto1DCnvBase
{
31
friend
class
CnvFactory
<
TrigHisto1DCnv
>;
32
33
public
:
34
TrigHisto1DCnv
(ISvcLocator* svcloc);
35
~TrigHisto1DCnv
();
36
37
protected
:
38
TrigHisto1D_PERS
*
createPersistent
(
TrigHisto1D
* transObj);
39
TrigHisto1D
*
createTransient
(
const
Token
* token);
40
};
41
42
#endif
T_AthenaPoolCustomCnv.h
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
TrigHisto1D_PERS
TrigHisto1D_p1 TrigHisto1D_PERS
Definition
TrigHisto1DCnv.h:26
TrigHisto1DCnvBase
T_AthenaPoolCustomCnv< TrigHisto1D, TrigHisto1D_PERS > TrigHisto1DCnvBase
Definition
TrigHisto1DCnv.h:28
TrigHisto1D.h
CnvFactory
Abstract factory to create the converter.
Definition
ToyConverter.h:16
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
TrigHisto1DCnv::createTransient
TrigHisto1D * createTransient(const Token *token)
Definition
TrigHisto1DCnv.cxx:21
TrigHisto1DCnv::TrigHisto1DCnv
TrigHisto1DCnv(ISvcLocator *svcloc)
Definition
TrigHisto1DCnv.cxx:8
TrigHisto1DCnv::~TrigHisto1DCnv
~TrigHisto1DCnv()
Definition
TrigHisto1DCnv.cxx:9
TrigHisto1DCnv::createPersistent
TrigHisto1D_PERS * createPersistent(TrigHisto1D *transObj)
Definition
TrigHisto1DCnv.cxx:11
TrigHisto1D_p1
The persistent partner of TrigHisto1D class.
Definition
TrigHisto1D_p1.h:17
TrigHisto1D
A very basic one dimensional histogram to provide storage of HLT distributions, allowing constraints ...
Definition
TrigHisto1D.h:23
Generated on
for ATLAS Offline Software by
1.17.0