5#include "BesVisLib/BesEventHeader.h"
33 if ( gDebug ) cout <<
"BesEventHeader ctor called" << endl;
53 if ( gDebug ) cout <<
"BesEventHeader dtor called" << endl;
59 vector<Int_t>& trigConditionVector,
60 vector<Int_t>& trigChannelVector ){
63 fTrigChannelVector.clear();
64 fTrigConditionVector.clear();
65 fTrigChannelVector = trigChannelVector;
66 fTrigConditionVector = trigConditionVector;
68 cout <<
"BesEventHeader::time Type: " << timeType << endl;
69 vector<Int_t>::iterator pTrigVector;
70 for (pTrigVector = trigConditionVector.begin();
71 pTrigVector != trigConditionVector.end();
73 cout <<
"BesEventHeader::trigCondition: " << *pTrigVector << endl;
75 for (pTrigVector = trigChannelVector.begin();
76 pTrigVector != trigChannelVector.end();
78 cout <<
"BesEventHeader::trigChannel: " << *pTrigVector << endl;
100 fYear=(time1-a-b)/10000;
112 fHour=(time2-c-d)/10000;
128 fEvTimeStatus = status;
129 fEvTimeQuality = quality;
161 for (j=0;j<nbits;j++){
162 if ((trigger>>j)&0x1) word+=Form(
" %.2d",j+1);
166 for (j=0;j<nbits;j++){
167 if ((trigger2>>j)&0x1) word+=Form(
" %.2d",j+17);