Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-14 10:31:16

0001 /// \file
0002 /// \warning This is part of the %ROOT 7 prototype! It will change without notice. It might trigger earthquakes.
0003 /// Feedback is welcome!
0004 
0005 #ifndef ROOT_RLinearizedIndex
0006 #define ROOT_RLinearizedIndex
0007 
0008 #include <cstddef>
0009 
0010 namespace ROOT {
0011 namespace Experimental {
0012 
0013 /**
0014 A linearized index that can be invalid.
0015 
0016 For example, when an argument is outside the axis and underflow / overflow bins are disabled.
0017 
0018 \warning This is part of the %ROOT 7 prototype! It will change without notice. It might trigger earthquakes.
0019 Feedback is welcome!
0020 */
0021 struct RLinearizedIndex final {
0022    std::size_t fIndex = 0;
0023    bool fValid = false;
0024 };
0025 
0026 } // namespace Experimental
0027 } // namespace ROOT
0028 
0029 #endif