ATLAS Offline Software
MissingETCnv.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 #ifndef RECATHENAPOOL_MISSINGETCNV_H
6 #define RECATHENAPOOL_MISSINGETCNV_H
7 /********************************************************************
8 NAME: MissingETCnv.h
9 PACKAGE: offline/Reconstruction/RecAthenaPool
10 PURPOSE: Header file for class MissingETCnv
11 ********************************************************************/
12 
13 // AthenaPoolCnvSvc includes
15 
16 // RecTPCnv includes
17 // #include "RecTPCnv/MissingET_p1.h" //not needed here
18 // #include "RecTPCnv/MissingET_p2.h" //not needed here
19 #include "RecTPCnv/MissingET_p3.h"
21 
22 // Forward declaration
23 
24 // the latest persistent representation type of DataCollection:
26 
27 class MissingETCnv: public T_AthenaPoolCustomCnv< MissingET, MissingET_PERS >
28 {
29 
30  // make the factory for this converter our friend
31  friend class CnvFactory<MissingETCnv>;
32 
34  // Protected methods:
36  protected:
37 
40 public:
41  MissingETCnv(ISvcLocator* svcloc);
42 protected:
43 
46  virtual MissingET_PERS* createPersistent( MissingET* transCont );
47 
50  virtual MissingET* createTransient();
51 
52 };
53 
57 
58 inline MissingETCnv::MissingETCnv( ISvcLocator* svcLocator ) :
60 {}
61 
62 #endif //> RECATHENAPOOL_MISSINGETCNV_H
MissingET.h
MissingETCnv
Definition: MissingETCnv.h:28
MissingETCnv::MissingETCnv
MissingETCnv(ISvcLocator *svcloc)
Create the converter from the service locator.
Definition: MissingETCnv.h:58
MissingETCnv::createPersistent
virtual MissingET_PERS * createPersistent(MissingET *transCont)
Build the persistent representation from the transient one.
Definition: MissingETCnv.cxx:23
MissingET_p3.h
MissingETCnv::createTransient
virtual MissingET * createTransient()
Build the transient representation from a persistent one.
Definition: MissingETCnv.cxx:34
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition: T_AthenaPoolCustomCnv.h:132
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
MissingET_p3
Definition: MissingET_p3.h:18
MissingET_PERS
MissingET_p3 MissingET_PERS
Definition: MissingETCnv.h:25
MissingET
Definition: Reconstruction/MissingETEvent/MissingETEvent/MissingET.h:23