1 #ifndef CalibTracker_SiStripHitEfficiency_SiStripHitEffData_h 2 #define CalibTracker_SiStripHitEfficiency_SiStripHitEffData_h 7 #include <unordered_map> 21 std::vector<bool> isThere;
22 isThere.reserve(
Maps.size());
26 for (
const auto& it : isThere) {
28 LogTrace(
"SiStripHitEffData") <<
" layer: " <<
count <<
" " << it << std::endl;
31 <<
" with entries: " <<
Maps[
count]->getEntries() << std::endl;
36 for (
const auto& det : stripDetIds) {
43 <<
"% fraction of the " <<
nevents <<
" events processed" << std::endl;
58 throw cms::Exception(
"LogicError") << __PRETTY_FUNCTION__ <<
"cannot check DetId when map not filled";
std::unordered_map< uint32_t, int > fedErrorCounts
std::unique_ptr< TkHistoMap > FEDErrorOccupancy
const bool checkFedError(const DetId det)
dqm::reco::MonitorElement * EventStats
void fillMapFromTkMap(const int nevents, const float threshold, const std::vector< DetId > &stripDetIds)