5#include "BesVisLib/BesEventHeader.h"
33 if ( gDebug ) cout <<
"BesEventHeader ctor called" << endl;
54 if ( gDebug ) cout <<
"BesEventHeader dtor called" << endl;
60 vector<Int_t>& trigConditionVector,
61 vector<Int_t>& trigChannelVector ){
64 fTrigChannelVector.clear();
65 fTrigConditionVector.clear();
66 fTrigChannelVector = trigChannelVector;
67 fTrigConditionVector = trigConditionVector;
69 cout <<
"BesEventHeader::time Type: " << timeType << endl;
70 vector<Int_t>::iterator pTrigVector;
71 for (pTrigVector = trigConditionVector.begin();
72 pTrigVector != trigConditionVector.end();
74 cout <<
"BesEventHeader::trigCondition: " << *pTrigVector << endl;
76 for (pTrigVector = trigChannelVector.begin();
77 pTrigVector != trigChannelVector.end();
79 cout <<
"BesEventHeader::trigChannel: " << *pTrigVector << endl;
101 fYear=(time1-a-
b)/10000;
113 fHour=(time2-c-d)/10000;
136 fEvTimeStatus = status;
137 fEvTimeQuality = quality;
169 for (j=0;j<nbits;j++){
170 if ((trigger>>j)&0x1) word+=Form(
" %.2d",j+1);
174 for (j=0;j<nbits;j++){
175 if ((trigger2>>j)&0x1) word+=Form(
" %.2d",j+17);