00001 #ifndef TSPADICV10PARAM_H 00002 #define TSPADICV10PARAM_H 00003 00004 #include "TGo4Parameter.h" 00005 #include "TSpadicV10Event.h" 00006 00010 class TGo4EventElement; 00011 00012 class TSpadicV10Param : public TGo4Parameter { 00013 public: 00014 00015 // default constructor - important for streamer 00016 TSpadicV10Param(); 00017 00018 TSpadicV10Param(const char* name); 00019 00020 virtual ~TSpadicV10Param(); 00021 00022 /* implemented to copy setup of active roc to roc event */ 00023 virtual Bool_t UpdateFrom(TGo4Parameter* rhs); 00024 00025 /* Actual set roc event configuration. To be used from setup macro*/ 00026 Bool_t SetConfigSpadicV10s(); 00027 00028 Int_t numBoards; // maximum spadic id in use +1 00029 00030 UInt_t activeBoards[MAX_SPADICV10_BOARDS]; // mask for each spadic, connected with the board: 0 - no spadic, 0xF - 4 spadics 00031 00032 Bool_t noTrigger; // ignore trigger window and take all messages with initial event division 00033 00034 Int_t triggerSignal; // 0 .. 3 is AUXs, 10-11 is SYNCs 00035 00036 Bool_t globalTrigger; // true for selecting messages under global corrected time window, false for using separate windows for each roc 00037 00038 Int_t masterBoard; // id number of SP605 board which is time/trigger reference for all other boards 00039 00040 UInt_t maxBufferTriggers; // maximum number of triggers in same mbs input buffer until retrieving next 00041 UInt_t maxBufferLoops; // maximum number of loops over same mbs input buffer until retrieving next 00042 00043 Bool_t doSorting; // perform time sorting of messages 00044 00045 Int_t debugLevel; // 0 - no debug output, 1 - minimal output per buffer, 2 - print every message 00046 00047 00048 ClassDef(TSpadicV10Param, 1) 00049 }; 00050 00051 #endif