|
ATLAS Offline Software
|
Go to the documentation of this file.
11 MsgStream
mlog(
msgSvc(),
"LArHitContainerConverter" );
19 MsgStream
mlog(
msgSvc(),
"LArHitFloatContainerConverter" );
25 static const pool::Guid p2_guid(
"1F1DE705-E0CE-4F0E-941A-C405CB2CD137");
26 static const pool::Guid p1_guid(
"ED1ECB80-B38C-46DE-94BF-22F9379796DB");
27 static const pool::Guid p0_guid(
"32703AED-CAA5-45ED-B804-8556900CA6B5");
30 std::unique_ptr< LArHitContainer_p2 > col_vect( this->poolReadObject< LArHitContainer_p2 >() );
34 std::unique_ptr< LArHitContainer_p1 > col_vect( this->poolReadObject< LArHitContainer_p1 >() );
39 std::unique_ptr<LArHitContainer> double_cont (this->poolReadObject<LArHitContainer>() );
42 throw std::runtime_error(
"Unsupported persistent version of Data container");
51 float_cont->reserve(double_cont->
size());
53 for (
const LArHit* double_hit : *double_cont) {
57 float_cont->push_back(float_hit);
LArHitFloatContainer * createTransient()
Container for LArHitFloat.
Class to store hit energy and time in LAr cell from G4 simulation.
virtual TRANS * createTransient(const PERS *persObj, MsgStream &log)
Create transient representation of a persistent object.
LArHitContainer_PERS * createPersistent(LArHitFloatContainer *transCont)
virtual PERS * createPersistent(const TRANS *transObj, MsgStream &log)
Create persistent representation of a transient object.
msgSvc
Provide convenience handles for various services.
Class to store hit energy and time in LAr cell from G4 simulation.
def time(flags, cells_name, *args, **kw)
Persistent represenation of a LArHitContainer,.
virtual bool compareClassGuid(const Guid &clid) const
Compare POOL class GUID with the one of the object being read.
LArHitFloatContainer * copyLArHitToFloat(const LArHitContainer *double_cont)