|
ATLAS Offline Software
|
Go to the documentation of this file.
22 float toFloat (
double x)
38 MsgStream
log(
msgSvc(),
"LArShapeCompleteCnv" );
48 static const pool::Guid p2_guid(
"5139AF4A-5947-421A-A775-B2D1134145C7");
49 static const pool::Guid p1_guid(
"95B61750-4C45-412D-B4D4-9758E9DB40D1");
50 static const pool::Guid p0_guid(
"055CF2F5-08D0-4EAA-B154-8CE5B1A599E7");
52 MsgStream
log(
msgSvc(),
"LArShapeCompleteCnv" );
54 std::unique_ptr< LArShapeSubset_p2 > col_vect( poolReadObject< LArShapeSubset_p2 >() );
59 log << MSG::ERROR <<
"Sorry if you really want to read LArShapeSubset_p1 you will need to provide a legacy converter" <<
endmsg;
62 log << MSG::ERROR <<
"Sorry if you really want to read the very old LArShapeSubset you will need to provide a legacy converter" <<
endmsg;
64 throw std::runtime_error(
"Unsupported persistent version of LArShapeCompleteCnv");
88 newShape->
assign (*oldShape,
96 to.m_vShapeDer.resize (nShapeDers);
97 for (
size_t k = 0;
k < nShapeDers;
k++)
virtual LArShapeTransType2 * createTransient()
method to be implemented by the developer.
std::vector< double > m_vShape
msgSvc
Provide convenience handles for various services.
c-struct reproducing the structure of the persistent data
virtual LArShapePersType2 * createPersistent(LArShapeTransType2 *transObj)
persistent class container of LArConditionsSubset for LArShape data.
virtual PERS * createPersistentConst(const TRANS *transObj, MsgStream &log) const
AthenaPool converter LArShapeComplete.
template class for use for I/O of conditions data
std::vector< double > m_vShapeDer
virtual bool compareClassGuid(const Guid &clid) const
Compare POOL class GUID with the one of the object being read.
c-struct reproducing the structure of the persistent data
void assign(const LArConditionsSubset< U > &other, COPIER copier)
Copy from another subset object.
void copyOldtoNew(const LArConditionsSubset< LArShapeP > *oldShape, LArConditionsSubset< LArShapeP1 > *newShape)
virtual TRANS * createTransientConst(const PERS *persObj, MsgStream &log) const