Clean up original GOD generated code
- improve use of flags by using generic functions to set/get, and compute offsets from values, instead of defining them coherently - add [[nodiscard]] where appropriate - avoid comparing SmartRef to 0 - have setters return reference to *this - declare operator<< into the smallest possible scope so it does not pollute the global namespace -- and implement in in the .cpp file instead of in the header file. Also, prefer '\n' over std::endl to avoid flusing the stream midway
parent
cfef3f91
No related branches found
No related tags found
Showing
- Event/MCEvent/include/Event/MCParticle.h 100 additions, 176 deletionsEvent/MCEvent/include/Event/MCParticle.h
- Event/MCEvent/include/Event/MCVertex.h 58 additions, 168 deletionsEvent/MCEvent/include/Event/MCVertex.h
- Event/MCEvent/src/MCParticle.cpp 5 additions, 5 deletionsEvent/MCEvent/src/MCParticle.cpp
- Event/MCEvent/src/MCVertex.cpp 53 additions, 0 deletionsEvent/MCEvent/src/MCVertex.cpp
- Event/PhysEvent/CMakeLists.txt 1 addition, 0 deletionsEvent/PhysEvent/CMakeLists.txt
- Event/PhysEvent/include/Event/FlavourTag.h 70 additions, 97 deletionsEvent/PhysEvent/include/Event/FlavourTag.h
- Event/PhysEvent/include/Event/Particle.h 61 additions, 22 deletionsEvent/PhysEvent/include/Event/Particle.h
- Event/PhysEvent/include/Event/Tagger.h 62 additions, 283 deletionsEvent/PhysEvent/include/Event/Tagger.h
- Event/PhysEvent/include/Event/Vertex.h 51 additions, 80 deletionsEvent/PhysEvent/include/Event/Vertex.h
- Event/PhysEvent/src/Particle.cpp 9 additions, 24 deletionsEvent/PhysEvent/src/Particle.cpp
- Event/PhysEvent/src/Tagger.cpp 195 additions, 0 deletionsEvent/PhysEvent/src/Tagger.cpp
- Event/RecEvent/include/Event/VertexBase.h 1 addition, 3 deletionsEvent/RecEvent/include/Event/VertexBase.h
Loading
Please register or sign in to comment