343 |
|
evtinfo.npu; |
344 |
|
weights.npuw = getPUWeight(evtinfo.npu); |
345 |
|
// cout << "weight: " << weights.w << endl; |
346 |
+ |
// |
347 |
+ |
// trigger |
348 |
+ |
// |
349 |
+ |
if( string(chain->GetFile()->GetEndpointUrl()->GetFile()) != currentFile ) { |
350 |
+ |
currentFile = string(chain->GetFile()->GetEndpointUrl()->GetFile()); |
351 |
+ |
hltchain->SetBranchAddress(fTriggerTableName, &hltTableStrings); |
352 |
+ |
hltchain->GetEntry(0); |
353 |
+ |
hltTable->Clear(); |
354 |
+ |
fillTriggerBits(hltTable, hltTableStrings ); |
355 |
+ |
} |
356 |
+ |
if( ctrl.debug ) cout << "file is : " << currentFile << endl; |
357 |
+ |
fillTriggerBits( hltTable, trigMask, triggerBits ); |
358 |
+ |
if( !passHLT(triggerBits, info->RunNum(), info->EvtNum() ) ) { |
359 |
+ |
if( ctrl.debug ) cout << "\tfails trigger ... " << endl; |
360 |
+ |
continue; |
361 |
+ |
} |
362 |
|
} else { |
363 |
|
// |
364 |
|
// JSON |