5 using namespace RecoBTag;
9 const unsigned int& mc,
12 nBinEffPur_(pSet.getParameter<int>(
"nBinEffPur")),
13 startEffPur_(pSet.getParameter<double>(
"startEffPur")),
14 endEffPur_(pSet.getParameter<double>(
"endEffPur")),
15 willFinalize_(wf), lowerIPSBound(-35.0), upperIPSBound(35.0)
22 false,
true,
true,
"b",
dir, mc, ibook);
26 false,
true,
true,
"b",
dir, mc, ibook);
74 for(
int n=0;
n != 4; ++
n) {
87 for(
int n=0;
n != 5; ++
n) {
94 const int & jetFlavour)
101 const int & jetFlavour,
110 <<
"BTagPerformanceAnalyzer: Extended TagInfo not of type TrackCountingTagInfo. " << endl;
168 for(
int n=0;
n != 4; ++
n) effPurFromHistos[
n]->
compute(ibook);
175 TCanvas
canvas(cName.c_str(), cName.c_str(), 600, 900);
178 for(
int n=0;
n != 2; ++
n) {
179 canvas.Print((name + cName +
".ps").c_str());
200 canvas.Print((name + cName +
".ps[").c_str());
206 for(
int n=0;
n < 4;
n++) {
211 canvas.Print((name + cName +
".ps").c_str());
219 for(
int n=0;
n != 4; ++
n) {
224 canvas.Print((name + cName +
".ps").c_str());
225 canvas.Print((name + cName +
".ps]").c_str());
238 for(
int n=0;
n != 5; ++
n) {
virtual void finalize(DQMStore::IBooker &ibook_, DQMStore::IGetter &igetter_)
FlavourHistograms< int > * trkNbr3D
void plot(TPad *theCanvas=0)
void epsPlot(const std::string &name)
FlavourHistograms< double > * tkcntHistosSig2D[5]
FlavourHistograms< int > * trkNbr2D
const std::string theExtensionString
void fill(const int &flavour, const T &variable) const
void analyzeTag(const reco::BaseTagInfo *baseTagInfo, const double &jec, const int &jetFlavour)
void psPlot(const std::string &name)
void epsPlot(const std::string &name)
FlavourHistograms< double > * discriminatorCutEfficScan() const
void plot(TPad *theCanvas=0)
FlavourHistograms< double > * discriminatorNoCutEffic() const
FlavourHistograms< double > * tkcntHistosSig3D[5]
~TrackCountingTagPlotter()
virtual int selectedTracks(int ipType) const
virtual float significance(size_t n, int ip) const
TrackCountingTagPlotter(const std::string &tagName, const EtaPtBin &etaPtBin, const edm::ParameterSet &pSet, const unsigned int &mc, const bool &willfinalize, DQMStore::IBooker &ibook)
EffPurFromHistos * effPurFromHistos[4]