1 #ifndef BTagPerformance_h 2 #define BTagPerformance_h 67 for(std::map<int,double>::const_iterator im=
b_tagged.begin(); im!=
b_tagged.end(); ++im) {
69 double eff = (im->second)/((
double)
b_all);
71 if ( eff==0 || eff< small ) { eff = small; err=0; }
79 for(std::map<int,double>::const_iterator im=
c_tagged.begin(); im!=
c_tagged.end(); ++im) {
81 double eff = (im->second)/((
double)
c_all);
83 if ( eff==0 || eff< small ) { eff = small; err=0; }
94 double eff = (im->second)/((
double)
udsg_all);
96 if ( eff==0 || eff< small ) { eff = small; err=0; }
113 else { assert(
false);
return disc_map;}
119 for(std::map<int,double>::const_iterator im=amap.begin(); im!=amap.end(); ++im) {
121 tarray[im->first] = im->second;