![]() |
ATLAS Offline Software
|
#include <LAruA2MeVCompleteCnv.h>
Public Member Functions | |
| LAruA2MeVCompleteCnv (ISvcLocator *svcloc) | |
| virtual StatusCode | finalize () override |
| virtual long | repSvcType () const override |
| const ServiceHandle< StoreGateSvc > & | detStore () const |
| Handle to DetectorStore. | |
| virtual StatusCode | cleanUp (const std::string &output) override |
| Implement cleanUp for AthenaPoolConverter to do nothing. | |
| 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 T_AthenaPoolCoolMultChanCnv< LAruA2MeVComplete, LArConditionsSubset< LArSingleFloatP >, LArSingleFloatSubset_p1 > | cnvBase |
| typedef std::map< std::string, RootType > | ClassMap |
| typedef ClassMap::const_iterator | ClassMapIt |
| typedef std::mutex | CallMutex |
Protected Member Functions | |
| virtual LArConditionsSubset< LArSingleFloatP > * | createTransient () |
| Throws and exception if object is not a LArConditionsSubset<LArSingleFloatP> | |
| LArConditionsSubset< LArSingleFloatP > * | createTransient (LArConditionsSubset< LAruA2MeVP > *orig) |
| virtual LArSingleFloatSubset_p1 * | createPersistent (LArConditionsSubset< LArSingleFloatP > *transObj) |
| method to be implemented by the developer. | |
| virtual ELEM_P * | createPersistent (ELEM_T *obj) |
| method to be implemented by the developer. | |
| LArConditionsSubset< LArSingleFloatP > * | createTransientSingleFloat () |
| returns NULL if object is not a LArConditionsSubset<LArSingleFloatP> | |
| 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. | |
| StatusCode objectToAttrListColl | ATLAS_NOT_THREAD_SAFE (LAruA2MeVComplete *obj, IOpaqueAddress *&pAddr, CondAttrListCollection *&attrListColl, std::unique_ptr< Token > &token) |
| Write out objects stored in "obj" into POOL and save the tokens in a CondAttrListCollection, as well write out "obj" i.e. | |
| StatusCode objectToAttrListColl | ATLAS_NOT_THREAD_SAFE (COLL_T *obj, IOpaqueAddress *&pAddr, CondAttrListCollection *&attrListColl, std::unique_ptr< Token > &token) |
| Write out objects stored in "obj" into POOL and save the tokens in a CondAttrListCollection, as well write out "obj" i.e. | |
| StatusCode | attrListCollToObject (CondAttrListCollection *attrListColl, LAruA2MeVComplete *&obj) |
| Read in objects from POOL for the tokens stored CondAttrListCollection and save the objects in the output collection. | |
| StatusCode | attrListCollToObject (CondAttrListCollection *attrListColl, COLL_T *&obj) |
| Read in objects from POOL for the tokens stored CondAttrListCollection and save the objects in the output collection. | |
| StatusCode | condMultChanCollImplToObject (const std::string &collImplToken, LAruA2MeVComplete *&obj) |
| Read in CondAttrListCollImpl and the objects for its tokens, saving them in the output collection. | |
| StatusCode | condMultChanCollImplToObject (const std::string &collImplToken, COLL_T *&obj) |
| Read in CondAttrListCollImpl and the objects for its tokens, saving them in the output collection. | |
| virtual void | setToken (const std::string &token) override final |
| specialized version that adds persistency contextID to tokens (for reading) | |
| P * | poolReadObject () |
| Read object of type P. | |
| LArConditionsSubset< LArSingleFloatP > * | poolReadObject () |
| virtual StatusCode | transToPers (LAruA2MeVComplete *obj, LArConditionsSubset< LArSingleFloatP > *&persObj) override |
| Dummy methods not needed here. | |
| virtual StatusCode | transToPers (TRANS *obj, PERS *&persObj)=0 |
| virtual StatusCode | transToPers (COLL_T *obj, ELEM_T *&persObj) override |
| Dummy methods not needed here. | |
| virtual StatusCode | persToTrans (LAruA2MeVComplete *&transObj, LArConditionsSubset< LArSingleFloatP > *obj) override |
| virtual StatusCode | persToTrans (TRANS *&transObj, PERS *obj)=0 |
| virtual StatusCode | persToTrans (COLL_T *&transObj, ELEM_T *obj) override |
| 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. | |
| virtual StatusCode | DataObjectToPers (DataObject *pObj, IOpaqueAddress *&pAddr) |
| Convert an object into Persistent. | |
| virtual StatusCode | DataObjectToPool (IOpaqueAddress *pAddr, DataObject *pObj) |
| Write an object into POOL. | |
| virtual StatusCode | PoolToDataObject (DataObject *&pObj, const Token *token, const std::string &key) |
| Read an object from POOL. | |
| 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 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 | |
| int | m_persCtx |
| Persistency context in which to read all objects (extracted from the Collection Address) | |
| 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 | |
| LArSingleFloatSubsetCnv_p1 | m_TPconverter |
| 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 |
| MessageSvc pointer. | |
| std::atomic< MSG::Level > | m_lvl |
| Current logging level. | |
| std::atomic_flag m_initialized | ATLAS_THREAD_SAFE |
| Messaging initialized (initMessaging) | |
Friends | |
| class | CnvFactory< LAruA2MeVCompleteCnv > |
Definition at line 22 of file LAruA2MeVCompleteCnv.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.
|
protectedinherited |
Definition at line 28 of file LArSingleFloatConverter.h.
|
inline |
Definition at line 26 of file LAruA2MeVCompleteCnv.h.
|
inlineinherited |
Definition at line 45 of file Converter.h.
|
protectedinherited |
Write out objects stored in "obj" into POOL and save the tokens in a CondAttrListCollection, as well write out "obj" i.e.
| obj | [IN] pointer to the collection of objects. |
| attrListColl | [OUT] CondAttrListCollection filled with tokens |
| token | [OUT] Token from writing out CondMultChanCollImpl |
|
protectedinherited |
Write out objects stored in "obj" into POOL and save the tokens in a CondAttrListCollection, as well write out "obj" i.e.
| obj | [IN] pointer to the collection of objects. |
| attrListColl | [OUT] CondAttrListCollection filled with tokens |
| token | [OUT] Token from writing out CondMultChanCollImpl |
|
protectedinherited |
Read in objects from POOL for the tokens stored CondAttrListCollection and save the objects in the output collection.
| attrListColl | [IN] CondAttrListCollection filled with tokens |
| obj | [OUT] pointer to the collection of objects. |
|
protectedinherited |
Read in objects from POOL for the tokens stored CondAttrListCollection and save the objects in the output collection.
| attrListColl | [IN] CondAttrListCollection filled with tokens |
| obj | [OUT] pointer to the collection of objects. |
|
staticinherited |
|
overridevirtualinherited |
Implement cleanUp for AthenaPoolConverter to do nothing.
Definition at line 78 of file AthenaPoolConverter.cxx.
|
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 |
|
protectedinherited |
Read in CondAttrListCollImpl and the objects for its tokens, saving them in the output collection.
| collImplToken | [IN] CondAttrListCollImpl token |
| obj | [OUT] pointer to the collection of objects. |
|
protectedinherited |
Read in CondAttrListCollImpl and the objects for its tokens, saving them in the output collection.
| collImplToken | [IN] CondAttrListCollImpl token |
| obj | [OUT] pointer to the collection of objects. |
|
overrideprotectedvirtualinherited |
|
protectedvirtualinherited |
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 |
|
protectedvirtualinherited |
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 |
Reimplemented in AlignableTransformContainerCnv, LArAutoCorrCompleteCnv, LArAutoCorrMCCnv, LArCaliWaveContainerCnv, LArDSPThresholdsCompleteCnv, LArOFCBinCompleteCnv, LArOFCCompleteCnv, LArPedestalCompleteCnv, LArPhysWaveContainerCnv, LArRampCompleteCnv, LArRampMCCnv, LArShape32MCCnv, LArShapeCompleteCnv, LArSingleFloatConverter< TransientClass >, and LArSingleFloatConverter< LArHVScaleCorrComplete >.
|
overrideprotectedvirtualinherited |
|
protectedvirtual |
Throws and exception if object is not a LArConditionsSubset<LArSingleFloatP>
Reimplemented from LArSingleFloatConverter< LAruA2MeVComplete >.
Definition at line 15 of file LAruA2MeVCompleteCnv.cxx.
|
protected |
Definition at line 34 of file LAruA2MeVCompleteCnv.cxx.
|
protectedinherited |
returns NULL if object is not a LArConditionsSubset<LArSingleFloatP>
|
protectedvirtualinherited |
Convert an object into Persistent.
| pObj | [IN] pointer to the transient object. |
| key | [IN] StoreGate key (string) - placement hint to generate POOL container name |
|
protectedvirtualinherited |
|
inlineinherited |
Handle to DetectorStore.
Definition at line 69 of file AthenaPoolConverter.h.
|
overrideprotectedvirtualinherited |
|
overridevirtualinherited |
Definition at line 49 of file AthenaPoolConverter.cxx.
|
protectedvirtualinherited |
Definition at line 111 of file AthenaPoolConverter.cxx.
|
protectedvirtualinherited |
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 121 of file AthMessaging.cxx.
|
inlineprotectedinherited |
Definition at line 257 of file Converter.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 92 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 99 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 86 of file AthMessaging.h.
|
protectedinherited |
|
overrideprotectedvirtualinherited |
|
protectedpure virtualinherited |
|
overrideprotectedvirtualinherited |
Implements T_AthenaPoolCustCnv< COLL_T, ELEM_T >.
|
inlineprotectedinherited |
|
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)
|
protectedinherited |
|
protectedvirtualinherited |
|
protectedinherited |
|
overridevirtualinherited |
Definition at line 51 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 108 of file AthMessaging.cxx.
|
protectedvirtualinherited |
|
protectedinherited |
|
protectedvirtualinherited |
Set POOL placement hint for a given type.
| tname | [IN] type name. |
| key | [IN] SG key. |
Definition at line 106 of file AthenaPoolConverter.cxx.
|
finaloverrideprotectedvirtualinherited |
specialized version that adds persistency contextID to tokens (for reading)
|
staticinherited |
Definition at line 72 of file AthenaPoolConverter.cxx.
|
inlineinherited |
Definition at line 50 of file Converter.h.
|
overrideprotectedvirtualinherited |
Dummy methods not needed here.
|
protectedpure virtualinherited |
|
overrideprotectedvirtualinherited |
Dummy methods not needed here.
Implements T_AthenaPoolCustCnv< COLL_T, ELEM_T >.
|
friend |
Definition at line 20 of file LAruA2MeVCompleteCnv.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 |
Persistency context in which to read all objects (extracted from the Collection Address)
Definition at line 126 of file T_AthenaPoolCoolMultChanCnv.h.
|
privateinherited |
Definition at line 41 of file LArSingleFloatConverter.h.
|
protectedinherited |
Definition at line 321 of file Converter.h.