ATLAS Offline Software
Public Member Functions | Private Types | Friends | List of all members
LArCalibParamsCnv Class Reference

#include <LArCalibParamsCnv.h>

Inheritance diagram for LArCalibParamsCnv:
Collaboration diagram for LArCalibParamsCnv:

Public Member Functions

 LArCalibParamsCnv (ISvcLocator *svcloc)
 
virtual ~LArCalibParamsCnv ()
 
virtual StatusCode PoolToDataObject (DataObject *&pObj, const Token *token, const std::string &key) override
 Extend base-class conversion method. More...
 

Private Types

typedef T_AthenaPoolFindBase< T >::type Base
 

Friends

class CnvFactory< LArCalibParamsCnv >
 

Detailed Description

Definition at line 21 of file LArCalibParamsCnv.h.

Member Typedef Documentation

◆ Base

template<class T >
typedef T_AthenaPoolFindBase<T>::type T_AthenaPoolCnv< T >::Base
privateinherited

Definition at line 62 of file T_AthenaPoolCnv.h.

Constructor & Destructor Documentation

◆ LArCalibParamsCnv()

LArCalibParamsCnv::LArCalibParamsCnv ( ISvcLocator *  svcloc)

Definition at line 13 of file LArCalibParamsCnv.cxx.

13  :
14  LArCalibParamsCnvBase(svcloc) {}

◆ ~LArCalibParamsCnv()

LArCalibParamsCnv::~LArCalibParamsCnv ( )
virtual

Definition at line 16 of file LArCalibParamsCnv.cxx.

17 {}

Member Function Documentation

◆ PoolToDataObject()

StatusCode LArCalibParamsCnv::PoolToDataObject ( DataObject *&  pObj,
const Token token,
const std::string &  key 
)
overridevirtual

Extend base-class conversion method.

Definition at line 21 of file LArCalibParamsCnv.cxx.

24 {
25  StatusCode sc;
26  sc=LArCalibParamsCnvBase::PoolToDataObject(pObj,token,key);
27  if (sc.isFailure()) return sc;
28  LArCalibParams* larCalibParams=NULL;
29  SG::fromStorable(pObj,larCalibParams);
30  if (!larCalibParams) return StatusCode::FAILURE;
31  sc=larCalibParams->initialize();
32  return sc;
33 }

Friends And Related Function Documentation

◆ CnvFactory< LArCalibParamsCnv >

friend class CnvFactory< LArCalibParamsCnv >
friend

Definition at line 17 of file LArCalibParamsCnv.h.


The documentation for this class was generated from the following files:
LArCalibParamsCnvBase
T_AthenaPoolCnv< LArCalibParams > LArCalibParamsCnvBase
Definition: LArCalibParamsCnv.h:17
SG::fromStorable
bool fromStorable(DataObject *pDObj, T *&pTrans, bool quiet=false, IRegisterTransient *irt=0, bool isConst=true)
Definition: StorableConversions.h:167
LArCalibParams
Definition: LArCalibParams.h:28
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArCalibParams::initialize
virtual StatusCode initialize()
Definition: LArCalibParams.cxx:16
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37