ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SyncDefs.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file SyncDefs.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef FFAOBJECTS_SYNCDEFS_H
4 #define FFAOBJECTS_SYNCDEFS_H
5 
6 #include <string>
7 
8 namespace syncdefs
9 {
10  // __attribute__((unused)) prevents compiler from flagging variable as unused
11  static const int NUM_SYNC_VARS __attribute__((unused)) = 4;
12  static const char *SYNCVARS[] __attribute__((unused)) = {"eventcounter", "eventnumber", "runnumber", "segmentnumber"};
13  static const std::string SYNCNODENAME __attribute__((unused)) = "Sync";
14 } // namespace syncdefs
15 
16 #endif