152 LogDebug(
"l1t|Global") <<
"retrieved L1 GT data blocks" << endl;
159 LogDebug(
"l1t|Global") <<
"retrieved L1 data from GT Util" << endl;
167 const std::vector<std::pair<std::string, bool> > vetoMasks =
gtUtil_->
vetoMasks();
172 LogError(
"l1t|Global") <<
"gtUtil sizes inconsistent across run." << endl;
177 cout <<
" Bit Algorithm Name Init aBXM Final PS Factor Masked Veto " << endl;
178 cout <<
"============================================================================================================" << endl;
180 for(
unsigned int i=0;
i<initialDecisions.size();
i++) {
184 if(name ==
"NULL")
continue;
186 bool resultInit = (initialDecisions.at(
i)).
second;
189 bool resultInterm = (intermDecisions.at(
i)).
second;
190 bool resultFin = (finalDecisions.at(
i)).
second;
193 int prescale = (prescales.at(
i)).
second;
194 bool mask = (masks.at(
i)).
second;
204 cout <<
std::dec << setfill(
' ') <<
" " << setw(5) <<
i <<
" " << setw(40) << name.c_str() <<
" " << setw(7) << resultInit << setw(7) << resultInterm << setw(7) << resultFin << setw(10) << prescale << setw(11) << mask << setw(9) << veto << endl;
210 cout <<
" FinalOR = " << finOR <<endl;
211 cout <<
"===========================================================================================================" << endl;
219 cout <<
" ------ ext ----------" << endl;
221 if(i>=ext->getFirstBX() && i<=ext->getLastBX()) {
222 for(std::vector<GlobalExtBlk>::const_iterator extBlk = ext->begin(i); extBlk != ext->end(i); ++extBlk) {
226 cout <<
"No Ext Conditions stored for this bx " << i << endl;
229 LogError(
"L1TGlobalSummary") <<
"No ext Data in this event " << endl;
233 cout <<
" ------ alg ----------" << endl;
235 if(i>=alg->getFirstBX() && i<=alg->getLastBX()) {
236 for(std::vector<GlobalAlgBlk>::const_iterator algBlk = alg->begin(i); algBlk != alg->end(i); ++algBlk) {
240 cout <<
"No Alg Decisions stored for this bx " << i << endl;
243 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
const std::vector< std::pair< std::string, bool > > & masks()
U second(std::pair< T, U > const &p)
const std::vector< std::pair< std::string, bool > > & decisionsInterm()
const std::vector< std::pair< std::string, bool > > & vetoMasks()
std::vector< int > finalCount_
const std::vector< std::pair< std::string, bool > > & decisionsInitial()
std::vector< int > decisionCount_
constexpr uint32_t masks[]
const std::vector< std::pair< std::string, bool > > & decisionsFinal()
std::vector< int > intermCount_
void retrieveL1(const edm::Event &iEvent, const edm::EventSetup &evSetup)
initialize the class (mainly reserve)