168 LogDebug(
"l1t|Global") <<
"retrieved L1 GT data blocks" << endl;
174 LogDebug(
"l1t|Global") <<
"retrieved L1 data from GT Util" << endl;
181 const std::vector<std::pair<std::string, std::vector<int>>> masks =
gtUtil_->
masks();
186 LogError(
"l1t|Global") <<
"gtUtil sizes inconsistent across run." << endl;
191 cout <<
"\n===================================== Trigger Results for BX=0 " 192 "=============================================\n" 194 cout <<
" Bit Algorithm Name Init aBXM Final PS Factor Num Bx " 197 cout <<
"========================================================================================================" 201 for (
unsigned int i = 0;
i < initialDecisions.size();
i++) {
207 bool resultInit = (initialDecisions.at(
i)).
second;
210 bool resultInterm = (intermDecisions.at(
i)).
second;
211 bool resultFin = (finalDecisions.at(
i)).
second;
215 std::vector<int> mask = (masks.at(
i)).
second;
227 cout <<
std::dec << setfill(
' ') <<
" " << setw(5) <<
i <<
" " << setw(40) << name.c_str() <<
" " 228 << setw(7) << resultInit << setw(7) << resultInterm << setw(7) << resultFin << setw(10) << prescale
229 << setw(11) << mask.size() << endl;
236 cout <<
" FinalOR = " << finOR << endl;
237 cout <<
"========================================================================================================" 247 cout <<
" ------ Bx= " <<
i <<
" ext ----------" << endl;
249 if (
i >= ext->getFirstBX() &&
i <= ext->getLastBX()) {
250 for (std::vector<GlobalExtBlk>::const_iterator extBlk = ext->begin(
i); extBlk != ext->end(
i); ++extBlk) {
255 cout <<
"No Ext Conditions stored for this bx " <<
i << endl;
258 LogError(
"L1TGlobalSummary") <<
"No ext Data in this event " << endl;
262 cout <<
" ------ Bx= " <<
i <<
" alg ----------" << endl;
264 if (
i >= alg->getFirstBX() &&
i <= alg->getLastBX()) {
265 for (std::vector<GlobalAlgBlk>::const_iterator algBlk = alg->begin(
i); algBlk != alg->end(
i); ++algBlk) {
270 cout <<
"No Alg Decisions stored for this bx " <<
i << endl;
273 LogError(
"L1TGlobalSummary") <<
"No alg Data in this event " << endl;
const std::vector< std::pair< std::string, int > > & prescales()
bool getByToken(EDGetToken token, Handle< PROD > &result) const
U second(std::pair< T, U > const &p)
const std::vector< std::pair< std::string, bool > > & decisionsInterm()
std::vector< int > finalCount_
const std::vector< std::pair< std::string, bool > > & decisionsInitial()
std::vector< int > decisionCount_
const std::vector< std::pair< std::string, bool > > & decisionsFinal()
const std::vector< std::pair< std::string, std::vector< int > > > & masks()
std::vector< int > intermCount_
void retrieveL1(const edm::Event &iEvent, const edm::EventSetup &evSetup)
initialize the class (mainly reserve)