Beautify the code in ByteStreamEVentInputSvc
Three things are combined into this commit: style, adoption of recent C++ components, and some code de-duplication. The style updates unfortunately makes this look like a full rewrite. Indentation was set to use two spaces. The range based for loop was adopted where suitable. Dynamically allocated memory was migrated to be managed using unique_ptr were possible. The clearing of existing content in the Storegate was abstrcted into a function.
Showing
- Database/AthenaPOOL/AthenaPoolTools/src/MetadataTest.cxx 4 additions, 4 deletionsDatabase/AthenaPOOL/AthenaPoolTools/src/MetadataTest.cxx
- Database/AthenaPOOL/AthenaPoolTools/src/MetadataTest.h 3 additions, 1 deletionDatabase/AthenaPOOL/AthenaPoolTools/src/MetadataTest.h
- Event/ByteStreamCnvSvc/ByteStreamCnvSvc/ByteStreamInputSvc.h 2 additions, 2 deletionsEvent/ByteStreamCnvSvc/ByteStreamCnvSvc/ByteStreamInputSvc.h
- Event/ByteStreamCnvSvc/share/BSEventSelector.ref 15 additions, 7 deletionsEvent/ByteStreamCnvSvc/share/BSEventSelector.ref
- Event/ByteStreamCnvSvc/share/TBEventSelector_jobOptions.py 1 addition, 1 deletionEvent/ByteStreamCnvSvc/share/TBEventSelector_jobOptions.py
- Event/ByteStreamCnvSvc/src/ByteStreamEventStorageInputSvc.cxx 427 additions, 394 deletions...t/ByteStreamCnvSvc/src/ByteStreamEventStorageInputSvc.cxx
- Event/ByteStreamCnvSvc/src/ByteStreamEventStorageInputSvc.h 80 additions, 75 deletionsEvent/ByteStreamCnvSvc/src/ByteStreamEventStorageInputSvc.h
- Event/ByteStreamCnvSvc/src/ByteStreamEventStorageOutputSvc.cxx 355 additions, 329 deletions.../ByteStreamCnvSvc/src/ByteStreamEventStorageOutputSvc.cxx
- Event/ByteStreamCnvSvc/src/ByteStreamEventStorageOutputSvc.h 50 additions, 47 deletionsEvent/ByteStreamCnvSvc/src/ByteStreamEventStorageOutputSvc.h
- Event/ByteStreamCnvSvc/src/ByteStreamMetadataTool.cxx 138 additions, 125 deletionsEvent/ByteStreamCnvSvc/src/ByteStreamMetadataTool.cxx
- Event/ByteStreamCnvSvc/src/ByteStreamMetadataTool.h 35 additions, 23 deletionsEvent/ByteStreamCnvSvc/src/ByteStreamMetadataTool.h
- Event/ByteStreamCnvSvc/src/EventSelectorByteStream.cxx 0 additions, 35 deletionsEvent/ByteStreamCnvSvc/src/EventSelectorByteStream.cxx
- Event/ByteStreamCnvSvcBase/share/testROBDataProviderSvcMT.py 0 additions, 1 deletionEvent/ByteStreamCnvSvcBase/share/testROBDataProviderSvcMT.py
- Event/ByteStreamData/ByteStreamData/ByteStreamMetadata.h 95 additions, 61 deletionsEvent/ByteStreamData/ByteStreamData/ByteStreamMetadata.h
- Event/ByteStreamData/ByteStreamData/ByteStreamMetadataContainer.h 3 additions, 8 deletions...teStreamData/ByteStreamData/ByteStreamMetadataContainer.h
- Event/ByteStreamData/CMakeLists.txt 1 addition, 1 deletionEvent/ByteStreamData/CMakeLists.txt
- Event/ByteStreamData/src/ByteStreamMetadata.cxx 201 additions, 116 deletionsEvent/ByteStreamData/src/ByteStreamMetadata.cxx
- Event/ByteStreamTest/share/BadEvents.py 1 addition, 1 deletionEvent/ByteStreamTest/share/BadEvents.py
- Event/ByteStreamTest/share/ByteStreamTestBadEvents.ref 0 additions, 591 deletionsEvent/ByteStreamTest/share/ByteStreamTestBadEvents.ref
- LArCalorimeter/LArBadChannelTool/share/LArBadChannelReadTest.py 0 additions, 1 deletion...orimeter/LArBadChannelTool/share/LArBadChannelReadTest.py
Loading
Please register or sign in to comment