/*DataStructs.h *Data structures for analysis. To be implemented as a dictionary for ROOT in LinkDef *Based on: FocalPlane_SABRE.h *Gordon M. Oct. 2019 */ #ifndef DATA_STRUCTS_H #define DATA_STRUCTS_H #include #include struct DPPChannel { double Timestamp; int Channel, Board, Energy, EnergyShort; int Flags; std::vector Samples; }; /* ROOT does a bad job of ensuring that header-only type dictionaries (the only type they explicity accept) are linked when compiled as shared libraries (the recommended method). As a work around, a dummy function that ensures the library is linked (better than no-as-needed which I dont think is in general supported across platforms) */ bool EnforceDictonaryLinked(); #endif