59 vector<Int_t>& trigChannelVector ) {
62 fTrigChannelVector.clear();
63 fTrigConditionVector.clear();
64 fTrigChannelVector = trigChannelVector;
65 fTrigConditionVector = trigConditionVector;
67 cout <<
"BesEventHeader::time Type: " << timeType << endl;
68 vector<Int_t>::iterator pTrigVector;
69 for ( pTrigVector = trigConditionVector.begin(); pTrigVector != trigConditionVector.end();
71 { cout <<
"BesEventHeader::trigCondition: " << *pTrigVector << endl; }
72 for ( pTrigVector = trigChannelVector.begin(); pTrigVector != trigChannelVector.end();
74 { cout <<
"BesEventHeader::trigChannel: " << *pTrigVector << endl; }
93 b = ( time1 - a ) % 10000;
96 fYear = ( time1 - a - b ) / 10000;
106 d = ( time2 - c ) % 10000;
109 fHour = ( time2 - c - d ) / 10000;
150 Int_t trigger2 )
const {
154 for ( j = 0; j < nbits; j++ )
156 if ( ( trigger >> j ) & 0x1 ) word += Form(
" %.2d", j + 1 );
161 for ( j = 0; j < nbits; j++ )
163 if ( ( trigger2 >> j ) & 0x1 ) word += Form(
" %.2d", j + 17 );