![]() |
ATLAS Offline Software
|
#include <AFP_SIDLocRecoEvCollectionCnv.h>
Public Types | |
| typedef T_AthenaPoolCustCnv< AFP_SIDLocRecoEvCollection, AFP_SIDLocRecoEvCollection_PERS > | BaseType |
Public Member Functions | |
| AFP_SIDLocRecoEvCollectionCnv (ISvcLocator *svcloc) | |
| virtual StatusCode | finalize () override |
| virtual long | repSvcType () const override |
| virtual StatusCode | createObj (IOpaqueAddress *pAddr, DataObject *&pObj) override |
| Create a transient object from a POOL persistent representation. | |
| virtual StatusCode | createRep (DataObject *pObj, IOpaqueAddress *&pAddr) override |
| Create a POOL persistent representation for a transient object. | |
| virtual StatusCode | fillRepRefs (IOpaqueAddress *pAddr, DataObject *pObj) override |
| Create a POOL persistent representation for a transient object. | |
| const ServiceHandle< StoreGateSvc > & | detStore () const |
| Handle to DetectorStore. | |
| void | addTrack (TIDA::Track *t) |
| const std::vector< TIDA::Track * > & | tracks () const |
| void | clear () |
| void | selectTracks (const TrigInDetTrackCollection *trigtracks) |
| void | selectTracks (const Rec::TrackParticleContainer *trigtracks) |
| void | selectTracks (const Analysis::MuonContainer *muontracks) |
| bool | msgLvl (const MSG::Level lvl) const |
| Test the output level. | |
| MsgStream & | msg () const |
| The standard message stream. | |
| MsgStream & | msg (const MSG::Level lvl) const |
| The standard message stream. | |
| void | setLevel (MSG::Level lvl) |
| Change the current logging level. | |
Static Public Member Functions | |
| static const CLID & | classID () |
| static long | storageType () |
Protected Types | |
| typedef std::map< std::string, RootType > | ClassMap |
| typedef ClassMap::const_iterator | ClassMapIt |
| typedef std::mutex | CallMutex |
Protected Member Functions | |
| AFP_SIDLocRecoEvCollection_PERS * | createPersistent (AFP_SIDLocRecoEvCollection *transCont) |
| AFP_SIDLocRecoEvCollection * | createTransient () |
| virtual AFP_SIDLocRecoEvCollection_PERS * | createPersistentWithKey (AFP_SIDLocRecoEvCollection *obj, const std::string &) override |
| method to be implemented by the developer. | |
| virtual AFP_SIDLocRecoEvCollection * | createTransientWithKey (const std::string &) override |
| method to be implemented by the developer. | |
| P * | poolReadObject () |
| Read object of type P. | |
| void | keepPoolObj (AFP_SIDLocRecoEvCollection_PERS *obj, const std::string &output) |
| Remember the POOL object to be written out (will be deleted after commit) | |
| virtual StatusCode | transToPers (AFP_SIDLocRecoEvCollection *, AFP_SIDLocRecoEvCollection_PERS *&) override |
| Obsolete methods replaced by createPersistent() and createTransient() obsolete. | |
| virtual StatusCode | persToTrans (AFP_SIDLocRecoEvCollection *&, AFP_SIDLocRecoEvCollection_PERS *) override |
| obsolete | |
| virtual StatusCode | DataObjectToPers (DataObject *pObj, IOpaqueAddress *&pAddr) override |
| Convert an object into Persistent. | |
| virtual StatusCode | DataObjectToPool (IOpaqueAddress *pAddr, DataObject *pObj) override |
| Write an object into POOL. | |
| virtual StatusCode | PoolToDataObject (DataObject *&pObj, const Token *token, const std::string &key) override |
| Read an object from POOL. | |
| virtual StatusCode | cleanUp (const std::string &output) override |
| Callback from the CleanupSvc to delete persistent object in the local list. | |
| virtual StatusCode | initialize () |
| Gaudi Service Interface method implementations: | |
| Placement | setPlacementForP (P &p, const std::string &key, const std::string &output) |
| Set POOL placement for type P. | |
| StatusCode | objectToPool (P *pObj, std::unique_ptr< Token > &token, const std::string &key, const std::string &output) |
| Write an object into POOL returning its token. | |
| StatusCode | poolToObject (const Token *&token, P *&pObj) |
| Read an object from POOL. | |
| virtual bool | compareClassGuid (const Guid &clid) const |
| Compare POOL class GUID with the one of the object being read. | |
| virtual void | setToken (const std::string &token) |
| Set the token (in std::string representation) and classID for the object that will be read next. | |
| virtual Placement | setPlacement (const std::string &key, const std::string &output) |
| Set POOL placement. | |
| virtual Placement | setPlacementWithType (const std::string &tname, const std::string &key, const std::string &output) |
| Set POOL placement hint for a given type. | |
| virtual const DataObject * | getDataObject () const |
| double | phiCorr (double phi) |
| void | ipCorr (double d0, double z0, double &d0c, double &z0c, double phi0, double eta, double pt) |
Protected Attributes | |
| std::map< std::string, std::vector< std::unique_ptr< AFP_SIDLocRecoEvCollection_PERS > > > | m_persObjLists |
| Local cache for persistent objects created by this converter, grouped by processing slot These objects are deleted after a commit. | |
| std::mutex | m_pListMutex |
| protection mutex for m_persObjLists | |
| Guid | m_classID |
| ServiceHandle< StoreGateSvc > | m_detStore |
| ServiceHandle< IAthenaPoolCnvSvc > | m_athenaPoolCnvSvc |
| RootType | m_classDesc |
| std::string | m_className |
| ClassMap | m_classDescs |
| std::string | m_containerPrefix |
| std::string | m_containerNameHint |
| std::string | m_branchNameHint |
| const DataObject * | m_dataObject |
| const Token * | m_i_poolToken |
| CallMutex | m_conv_mut |
| double | m_beamX |
| double | m_beamY |
| double | m_beamZ |
| std::vector< TIDA::Track * > | m_tracks |
Private Member Functions | |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
Private Attributes | |
| std::string | m_nm |
| Message source name. | |
| boost::thread_specific_ptr< MsgStream > | m_msg_tls |
| MsgStream instance (a std::cout like with print-out levels) | |
| std::atomic< IMessageSvc * > | m_imsg { nullptr } |
| MessageSvc pointer. | |
| std::atomic< MSG::Level > | m_lvl { MSG::NIL } |
| Current logging level. | |
| std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
| Messaging initialized (initMessaging) | |
Friends | |
| class | CnvFactory< AFP_SIDLocRecoEvCollectionCnv > |
Definition at line 21 of file AFP_SIDLocRecoEvCollectionCnv.h.
Definition at line 41 of file T_AthenaPoolCustomCnv.h.
|
protectedinherited |
Definition at line 132 of file AthenaPoolConverter.h.
|
protectedinherited |
Definition at line 120 of file AthenaPoolConverter.h.
|
protectedinherited |
Definition at line 121 of file AthenaPoolConverter.h.
|
inline |
Definition at line 28 of file AFP_SIDLocRecoEvCollectionCnv.h.
|
inlineinherited |
Definition at line 45 of file Converter.h.
|
staticinherited |
|
overrideprotectedvirtualinherited |
Callback from the CleanupSvc to delete persistent object in the local list.
Reimplemented from AthenaPoolConverter.
|
inlineinherited |
Definition at line 53 of file Converter.h.
|
protectedvirtualinherited |
Compare POOL class GUID with the one of the object being read.
| clid | [IN] GUID to compare |
|
overridevirtualinherited |
Create a transient object from a POOL persistent representation.
| pAddr | [IN] IOpaqueAddress of POOL persistent representation. |
| pObj | [OUT] pointer to the transient object. |
Reimplemented in T_AthenaPoolCoolMultChanCnv< COLL_T, ELEM_T, ELEM_P >, T_AthenaPoolCoolMultChanCnv< AlignableTransformContainer, AlignableTransform_TRANS, AlignableTransform_PERS >, T_AthenaPoolCoolMultChanCnv< LArAutoCorrComplete, LArAutoCorrTransType, LArAutoCorrPersType >, T_AthenaPoolCoolMultChanCnv< LArAutoCorrMC, LArAutoCorrTransType, LArAutoCorrPersType >, T_AthenaPoolCoolMultChanCnv< LArCaliWaveContainer, LArCaliWaveTransType, LArCaliWavePersType >, T_AthenaPoolCoolMultChanCnv< LArDSPThresholdsComplete, LArDSPThrTransType, LArDSPThrPersType >, T_AthenaPoolCoolMultChanCnv< LArHVScaleCorrComplete, LArConditionsSubset< LArSingleFloatP >, LArSingleFloatSubset_p1 >, T_AthenaPoolCoolMultChanCnv< LArOFCBinComplete, LArOFCBinTransType, LArOFCBinPersType >, T_AthenaPoolCoolMultChanCnv< LArOFCComplete, LArOFCTransType, LArOFCPersType >, T_AthenaPoolCoolMultChanCnv< LArPedestalComplete, LArPedTransType, LArPedPersType >, T_AthenaPoolCoolMultChanCnv< LArPhysWaveContainer, LArPhysWaveTransType, LArPhysWavePersType >, T_AthenaPoolCoolMultChanCnv< LArRampComplete, LArRampTransType, LArRampPersType >, T_AthenaPoolCoolMultChanCnv< LArRampMC, LArRampTransType, LArRampPersType >, T_AthenaPoolCoolMultChanCnv< LArShape32MC, LArShapeTransType, LArShapePersType >, T_AthenaPoolCoolMultChanCnv< LArShapeComplete, LArShapeTransType2, LArShapePersType2 >, and T_AthenaPoolCoolMultChanCnv< TransientClass, LArConditionsSubset< LArSingleFloatP >, LArSingleFloatSubset_p1 >.
Definition at line 62 of file AthenaPoolConverter.cxx.
|
protectedvirtual |
Implements T_AthenaPoolCustomCnv< AFP_SIDLocRecoEvCollection, AFP_SIDLocRecoEvCollection_PERS >.
Definition at line 10 of file AFP_SIDLocRecoEvCollectionCnv.cxx.
|
overrideprotectedvirtualinherited |
method to be implemented by the developer.
It should create the persistent representation of the object, using the default top-level TP converter.
| obj | [IN] transient object |
Implements T_AthenaPoolCustomCnvWithKey< AFP_SIDLocRecoEvCollection, AFP_SIDLocRecoEvCollection_PERS >.
|
overridevirtualinherited |
Create a POOL persistent representation for a transient object.
| pObj | [IN] pointer to the transient object. |
| pAddr | [OUT] IOpaqueAddress of POOL persistent representation. |
Reimplemented in T_AthenaPoolCoolMultChanCnv< COLL_T, ELEM_T, ELEM_P >, T_AthenaPoolCoolMultChanCnv< AlignableTransformContainer, AlignableTransform_TRANS, AlignableTransform_PERS >, T_AthenaPoolCoolMultChanCnv< LArAutoCorrComplete, LArAutoCorrTransType, LArAutoCorrPersType >, T_AthenaPoolCoolMultChanCnv< LArAutoCorrMC, LArAutoCorrTransType, LArAutoCorrPersType >, T_AthenaPoolCoolMultChanCnv< LArCaliWaveContainer, LArCaliWaveTransType, LArCaliWavePersType >, T_AthenaPoolCoolMultChanCnv< LArDSPThresholdsComplete, LArDSPThrTransType, LArDSPThrPersType >, T_AthenaPoolCoolMultChanCnv< LArHVScaleCorrComplete, LArConditionsSubset< LArSingleFloatP >, LArSingleFloatSubset_p1 >, T_AthenaPoolCoolMultChanCnv< LArOFCBinComplete, LArOFCBinTransType, LArOFCBinPersType >, T_AthenaPoolCoolMultChanCnv< LArOFCComplete, LArOFCTransType, LArOFCPersType >, T_AthenaPoolCoolMultChanCnv< LArPedestalComplete, LArPedTransType, LArPedPersType >, T_AthenaPoolCoolMultChanCnv< LArPhysWaveContainer, LArPhysWaveTransType, LArPhysWavePersType >, T_AthenaPoolCoolMultChanCnv< LArRampComplete, LArRampTransType, LArRampPersType >, T_AthenaPoolCoolMultChanCnv< LArRampMC, LArRampTransType, LArRampPersType >, T_AthenaPoolCoolMultChanCnv< LArShape32MC, LArShapeTransType, LArShapePersType >, T_AthenaPoolCoolMultChanCnv< LArShapeComplete, LArShapeTransType2, LArShapePersType2 >, and T_AthenaPoolCoolMultChanCnv< TransientClass, LArConditionsSubset< LArSingleFloatP >, LArSingleFloatSubset_p1 >.
Definition at line 112 of file AthenaPoolConverter.cxx.
|
protectedvirtual |
Implements T_AthenaPoolCustomCnv< AFP_SIDLocRecoEvCollection, AFP_SIDLocRecoEvCollection_PERS >.
Definition at line 18 of file AFP_SIDLocRecoEvCollectionCnv.cxx.
|
overrideprotectedvirtualinherited |
method to be implemented by the developer.
It has to find out the type of the persistent object to be read (by comparing GUIDs), read it using poolReadObject<P>(), call TLP converter to create a transient representation and return it. if the version 1 of poolReadObject is used, the persistent object HAS TO BE DELETED manually.
Implements T_AthenaPoolCustomCnvWithKey< AFP_SIDLocRecoEvCollection, AFP_SIDLocRecoEvCollection_PERS >.
|
overrideprotectedvirtualinherited |
Convert an object into Persistent.
| pObj | [IN] pointer to the transient object. |
| key | [IN] StoreGate key (string) - placement hint to generate POOL container name |
Reimplemented from T_AthenaPoolCustCnv< AFP_SIDLocRecoEvCollection, AFP_SIDLocRecoEvCollection_PERS >.
|
overrideprotectedvirtualinherited |
Write an object into POOL.
| pObj | [IN] pointer to the transient object. |
| key | [IN] StoreGate key (string) - placement hint to generate POOL container name |
Reimplemented from T_AthenaPoolCustCnv< AFP_SIDLocRecoEvCollection, AFP_SIDLocRecoEvCollection_PERS >.
|
inlineinherited |
Handle to DetectorStore.
Definition at line 69 of file AthenaPoolConverter.h.
|
overridevirtualinherited |
Create a POOL persistent representation for a transient object.
| pAddr | [IN] IOpaqueAddress of POOL persistent representation. |
| pObj | [IN] pointer to the transient object. |
Reimplemented in T_AthenaPoolCoolMultChanCnv< COLL_T, ELEM_T, ELEM_P >, T_AthenaPoolCoolMultChanCnv< AlignableTransformContainer, AlignableTransform_TRANS, AlignableTransform_PERS >, T_AthenaPoolCoolMultChanCnv< LArAutoCorrComplete, LArAutoCorrTransType, LArAutoCorrPersType >, T_AthenaPoolCoolMultChanCnv< LArAutoCorrMC, LArAutoCorrTransType, LArAutoCorrPersType >, T_AthenaPoolCoolMultChanCnv< LArCaliWaveContainer, LArCaliWaveTransType, LArCaliWavePersType >, T_AthenaPoolCoolMultChanCnv< LArDSPThresholdsComplete, LArDSPThrTransType, LArDSPThrPersType >, T_AthenaPoolCoolMultChanCnv< LArHVScaleCorrComplete, LArConditionsSubset< LArSingleFloatP >, LArSingleFloatSubset_p1 >, T_AthenaPoolCoolMultChanCnv< LArOFCBinComplete, LArOFCBinTransType, LArOFCBinPersType >, T_AthenaPoolCoolMultChanCnv< LArOFCComplete, LArOFCTransType, LArOFCPersType >, T_AthenaPoolCoolMultChanCnv< LArPedestalComplete, LArPedTransType, LArPedPersType >, T_AthenaPoolCoolMultChanCnv< LArPhysWaveContainer, LArPhysWaveTransType, LArPhysWavePersType >, T_AthenaPoolCoolMultChanCnv< LArRampComplete, LArRampTransType, LArRampPersType >, T_AthenaPoolCoolMultChanCnv< LArRampMC, LArRampTransType, LArRampPersType >, T_AthenaPoolCoolMultChanCnv< LArShape32MC, LArShapeTransType, LArShapePersType >, T_AthenaPoolCoolMultChanCnv< LArShapeComplete, LArShapeTransType2, LArShapePersType2 >, and T_AthenaPoolCoolMultChanCnv< TransientClass, LArConditionsSubset< LArSingleFloatP >, LArSingleFloatSubset_p1 >.
Definition at line 141 of file AthenaPoolConverter.cxx.
|
overridevirtualinherited |
Definition at line 50 of file AthenaPoolConverter.cxx.
|
protectedvirtualinherited |
Definition at line 272 of file AthenaPoolConverter.cxx.
|
protectedvirtualinherited |
Gaudi Service Interface method implementations:
Reimplemented from T_AthenaPoolCnvBase< AFP_SIDLocRecoEvCollection >.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
|
inlineprotectedinherited |
Definition at line 257 of file Converter.h.
|
protectedinherited |
Remember the POOL object to be written out (will be deleted after commit)
| obj | [IN] persistent object |
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 163 of file AthMessaging.h.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 178 of file AthMessaging.h.
|
inlineinherited |
Test the output level.
| lvl | The message level to test against |
| true | Messages at level "lvl" will be printed |
Definition at line 151 of file AthMessaging.h.
|
protectedinherited |
|
inlineoverrideprotectedvirtualinherited |
obsolete
Implements T_AthenaPoolCustCnv< AFP_SIDLocRecoEvCollection, AFP_SIDLocRecoEvCollection_PERS >.
Definition at line 96 of file T_AthenaPoolCustomCnv.h.
|
inlineprotectedinherited |
Definition at line 248 of file Converter.h.
|
protectedinherited |
Read object of type P.
This is an exception-throwing version of poolToObject() plus reading of all extending objects. Version 1 - (see createTransient() above)
|
overrideprotectedvirtualinherited |
Read an object from POOL.
| pObj | [OUT] pointer to the transient object. |
| token | [IN] POOL token of the persistent representation. |
| key | [IN] SG key of the object being read. |
Reimplemented from T_AthenaPoolCustCnv< AFP_SIDLocRecoEvCollection, AFP_SIDLocRecoEvCollection_PERS >.
|
protectedinherited |
|
overridevirtualinherited |
Definition at line 58 of file AthenaPoolConverter.cxx.
|
inlineinherited |
Definition at line 177 of file Converter.h.
|
inlineinherited |
Definition at line 111 of file Converter.h.
|
inlineinherited |
Definition at line 56 of file Converter.h.
|
inherited |
Change the current logging level.
Use this rather than msg().setLevel() for proper operation with MT.
Definition at line 28 of file AthMessaging.cxx.
|
protectedvirtualinherited |
Implements AthenaPoolConverter.
|
protectedinherited |
|
protectedvirtualinherited |
Set POOL placement hint for a given type.
| tname | [IN] type name. |
| key | [IN] SG key. |
Definition at line 176 of file AthenaPoolConverter.cxx.
|
protectedvirtualinherited |
Set the token (in std::string representation) and classID for the object that will be read next.
Required by compareClassGuid() and poolReadObject(). Only extending converter needs to call this method explicitely
| token | [IN] token for the object to be read |
|
staticinherited |
Definition at line 155 of file AthenaPoolConverter.cxx.
|
inlineinherited |
Definition at line 50 of file Converter.h.
|
inlineoverrideprotectedvirtualinherited |
Obsolete methods replaced by createPersistent() and createTransient() obsolete.
Implements T_AthenaPoolCustCnv< AFP_SIDLocRecoEvCollection, AFP_SIDLocRecoEvCollection_PERS >.
Definition at line 94 of file T_AthenaPoolCustomCnv.h.
|
friend |
Definition at line 17 of file AFP_SIDLocRecoEvCollectionCnv.h.
|
mutableprivateinherited |
Messaging initialized (initMessaging)
Definition at line 141 of file AthMessaging.h.
|
protectedinherited |
Definition at line 117 of file AthenaPoolConverter.h.
|
protectedinherited |
Definition at line 320 of file Converter.h.
|
protectedinherited |
Definition at line 320 of file Converter.h.
|
protectedinherited |
Definition at line 320 of file Converter.h.
|
protectedinherited |
Definition at line 127 of file AthenaPoolConverter.h.
|
protectedinherited |
Definition at line 118 of file AthenaPoolConverter.h.
|
protectedinherited |
Definition at line 123 of file AthenaPoolConverter.h.
|
protectedinherited |
Definition at line 96 of file T_AthenaPoolCustCnv.h.
|
protectedinherited |
Definition at line 122 of file AthenaPoolConverter.h.
|
protectedinherited |
Definition at line 126 of file AthenaPoolConverter.h.
|
protectedinherited |
Definition at line 125 of file AthenaPoolConverter.h.
|
protectedinherited |
Definition at line 133 of file AthenaPoolConverter.h.
|
protectedinherited |
Definition at line 129 of file AthenaPoolConverter.h.
|
protectedinherited |
Definition at line 116 of file AthenaPoolConverter.h.
|
protectedinherited |
Definition at line 130 of file AthenaPoolConverter.h.
|
mutableprivateinherited |
|
mutableprivateinherited |
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
|
privateinherited |
Message source name.
Definition at line 129 of file AthMessaging.h.
|
protectedinherited |
Local cache for persistent objects created by this converter, grouped by processing slot These objects are deleted after a commit.
Definition at line 120 of file T_AthenaPoolCustomCnv.h.
|
protectedinherited |
protection mutex for m_persObjLists
Definition at line 123 of file T_AthenaPoolCustomCnv.h.
|
protectedinherited |
Definition at line 321 of file Converter.h.