24float toFloat (
double x)
26 if (std::abs (
x) > std::numeric_limits<float>::max()) {
28 return std::numeric_limits<float>::max();
30 return - std::numeric_limits<float>::max();
41 MsgStream log(msgSvc(),
"LArShape32MCCnv" );
51 static const pool::Guid p1_guid(
"95B61750-4C45-412D-B4D4-9758E9DB40D1");
52 static const pool::Guid p0_guid(
"055CF2F5-08D0-4EAA-B154-8CE5B1A599E7");
53 MsgStream log(msgSvc(),
"LArShape32MCCnv" );
58 log << MSG::DEBUG <<
"Reading LArShapeSubset_p1" <<
endmsg;
59 return TPconverter.createTransientConst( col_vect.get(), log );
63 log << MSG::DEBUG <<
"Reading LArShapeSubset (original)" <<
endmsg;
68 log << MSG::VERBOSE <<
"subset ptr " << subset.get() <<
endmsg;
73 throw std::runtime_error(
"Unsupported persistent version of LArShape32MCCnv");
static const LArAutoCorrSubsetCnv_p1 TPconverter
AthenaPool converter LArShape32MC.
LArShapeSubset_p1 LArShapePersType
LArConditionsSubset< LArShapeP1 > LArShapeTransType
AthenaPool converter LArShapeComplete.
template class for use for I/O of conditions data
virtual LArShapePersType * createPersistent(LArShapeTransType *transObj)
method to be implemented by the developer.
virtual LArShapeTransType * createTransient()
method to be implemented by the developer.
void copyOldtoNew(const LArConditionsSubset< LArShapeP > *oldShape, LArConditionsSubset< LArShapeP1 > *newShape)
persistent class container of LArConditionsSubset for LArShape data.
virtual bool compareClassGuid(const Guid &clid) const