|
ATLAS Offline Software
|
Go to the documentation of this file.
41 return StatusCode::SUCCESS;
52 return StatusCode::SUCCESS;
59 if( !aodContainerGSF ) {
61 return StatusCode::SUCCESS;
67 if( !xaodContainerGSF ) {
69 return StatusCode::SUCCESS;
79 return StatusCode::SUCCESS;
92 for ( ; aod != aodEnd && xaod != xaodEnd; ++aod, ++xaod){
95 if ( !trkassocs->
assocs(*aod, associatedElems) ){
111 originalTrackParticleDec (
"originalTrackParticle");
112 originalTrackParticleDec (**xaod) = newLink;
117 return StatusCode::SUCCESS;
ElementProxy at(size_type n)
Access an element, as an lvalue.
Const iterator class for DataVector/DataList.
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts
DataVector adapter that acts like it holds const pointers.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
bool assocs(const Rec::TrackParticle *object, ConstDataVector< Rec::TrackParticleContainer > &associatedElems) const
Retrieve all the associated-to objects which have been associated to the given.
bool isValid() const
Test to see if the link can be dereferenced.
std::string m_aodContainerName
The name of the AOD GSF TrackParticle container.
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
void resetWithKeyAndIndex(const ID_type &dataID, index_type elemID, IProxyDict *sg=0)
Set the link to an element given by string key and index.
virtual StatusCode execute()
Function executing the algorithm.
Helper class to provide type-safe access to aux data.
::StatusCode StatusCode
StatusCode definition for legacy code.
GSFTrackParticleMapCnvAlg(const std::string &name, ISvcLocator *svcLoc)
Regular algorithm constructor.
Helpers for checking error return status codes and reporting errors.
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
#define ATH_MSG_WARNING(x)
DataVector adapter that acts like it holds const pointers.
std::string m_xaodContainerNameGSF
The name of the xAOD GSF TrackParticle container.
index_type index() const
Get the index of the element inside of its container.
std::string m_xaodContainerName
The name of the xAOD non-GSF TrackParticle container.
bool toPersistent()
Dummy function provinding the offline interface.
virtual StatusCode initialize()
Function initialising the algorithm.
Helper class to provide type-safe access to aux data.
std::string m_trackMapName
The name of the map from AOD GSF TrackParticles to AOD TrackParticles.
std::string m_aodContainerNameGSF
The name of the AOD GSF TrackParticle container.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.