13 #include "GaudiKernel/MsgStream.h"
30 MsgStream
msg(
msgSvc(),
"McEventCollectionCnv" );
41 MsgStream
msg(
msgSvc(),
"McEventCollectionConverter" );
45 static const pool::Guid tr_guid(
"6DE62B45-7C72-4539-92F2-3A8E739A4AC3");
46 static const pool::Guid p1_guid(
"BF93438C-D1D3-4F1C-8850-EB690AB7C416");
47 static const pool::Guid p2_guid(
"851BB1D2-1964-4B0A-B83A-6BD596CFB5E2");
48 static const pool::Guid p3_guid(
"6FC41599-64D6-4DB9-973E-9493166F6291");
49 static const pool::Guid p4_guid(
"C517102A-94DE-407C-B07F-09BD81F6172E");
50 static const pool::Guid p5_guid(
"D52391A4-F951-46BF-A0D5-E407698D2917");
51 static const pool::Guid p6_guid(
"6B78A751-B31A-4597-BFB6-DDCE62646CF9");
52 static const pool::Guid p7_guid(
"A3A04C74-A278-4E35-ACF8-4C6B8C32FC56");
55 if(serviceLocator()->existsService(
"PileUpEventLoopMgr")) {
63 return poolReadObject<McEventCollection>();
67 std::unique_ptr<McEventCollection_p1> persObj( poolReadObject<McEventCollection_p1>() );
72 std::unique_ptr<McEventCollection_p2> persObj( poolReadObject<McEventCollection_p2>() );
77 std::unique_ptr<McEventCollection_p3> persObj( poolReadObject<McEventCollection_p3>() );
82 std::unique_ptr<McEventCollection_p4> persObj( poolReadObject<McEventCollection_p4>() );
88 std::unique_ptr<McEventCollection_p5> persObj( poolReadObject<McEventCollection_p5>() );
94 std::unique_ptr<McEventCollection_p6> persObj( poolReadObject<McEventCollection_p6>() );
100 std::unique_ptr<McEventCollection_p7> persObj( poolReadObject<McEventCollection_p7>() );
105 throw std::runtime_error(
"Unsupported persistent version of McEventCollection");