|
ATLAS Offline Software
|
Go to the documentation of this file.
13 #ifndef LARCONDTPCNV_LARSINGLEFLOATCNV_H
14 #define LARCONDTPCNV_LARSINGLEFLOATCNV_H
20 template<
class TransientClass>
44 template<
class TransientClass>
46 MsgStream
log(this->
msgSvc(),
"LArSingleFloatConverter" );
51 template<
class TransientClass>
53 static const pool::Guid p1_guid(
"85C3E380-4F5C-4F2B-81F0-D7C08A446800");
54 if(this->compareClassGuid(p1_guid) ) {
55 MsgStream
log(this->
msgSvc(),
"LArSingleFloatCompleteCnv" );
58 if(this->poolToObject(this->m_i_poolToken,
p).isFailure() ) {
59 throw std::runtime_error(
"POOL read failed");
61 t=m_TPconverter.createTransient(
p,
log);
68 template<
class TransientClass>
72 throw std::runtime_error(
"Unsupported persistent version of LArConditionsSubset<LArSingleFloat>");
virtual LArConditionsSubset< LArSingleFloatP > * createTransient()
Throws and exception if object is not a LArConditionsSubset<LArSingleFloatP>
msgSvc
Provide convenience handles for various services.
LArSingleFloatConverter(ISvcLocator *svcloc)
This templated class provides the POOL converter to translate a DataVector<T> to and from a CondAttrL...
Abstract factory to create the converter.
LArSingleFloatSubsetCnv_p1 m_TPconverter
virtual LArSingleFloatSubset_p1 * createPersistent(LArConditionsSubset< LArSingleFloatP > *transObj)
method to be implemented by the developer.
T_AthenaPoolCoolMultChanCnv< TransientClass, LArConditionsSubset< LArSingleFloatP >, LArSingleFloatSubset_p1 > cnvBase
template class for use for I/O of conditions data
This templated class provides the POOL converter to translate a DataVector<T> to and from a CondAttrL...
LArConditionsSubset< LArSingleFloatP > * createTransientSingleFloat()
returns NULL if object is not a LArConditionsSubset<LArSingleFloatP>
persistent class container of LArConditionsSubset for LArSingleFloat data.