|
||||
File indexing completed on 2025-01-18 10:01:38
0001 0002 // Copyright 2020, Jefferson Science Associates, LLC. 0003 // Subject to the terms in the LICENSE file found in the top-level directory. 0004 0005 0006 #ifndef JANA2_TRIDASEVENT_H 0007 #define JANA2_TRIDASEVENT_H 0008 0009 /// TridasEvent is an adapter between TRIDAS objects and JANA objects. The event source should 0010 /// insert one TridasEvent into each JEvent. 0011 struct TridasEvent : public JObject { 0012 0013 void * tridas_data; // TODO: this should be a pointer to an actual TRIDAS object. For now we just pretend. 0014 0015 int run_number; // TODO: The event source should extract event & run numbers directly from tridas_object, 0016 int event_number; // so we should remove these once we have an actual tridas_object 0017 0018 mutable bool should_keep; // TODO: This needs to be mutable because we will be updating a const JObject 0019 // This won't be a problem with the 'real' TRIDAS, whose should_keep lives behind the 0020 // tridas_data pointer, but we should start thinking about a more elegant way to handle 0021 // the general case. 0022 }; 0023 0024 0025 #endif //JANA2_TRIDASEVENT_H
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |