38 src_(cfg.getParameter<
InputTag>(
"src")),
39 ptMin_(cfg.getUntrackedParameter<double>(
"ptMin")),
40 massMin_(cfg.getUntrackedParameter<double>(
"massMin")),
41 massMax_(cfg.getUntrackedParameter<double>(
"massMax")),
42 etaMin_(cfg.getUntrackedParameter<double>(
"etaMin")),
43 etaMax_(cfg.getUntrackedParameter<double>(
"etaMax")),
44 trkIso_(cfg.getUntrackedParameter<double>(
"trkIso")),
45 chi2Cut_(cfg.getUntrackedParameter<double>(
"chi2Cut")),
46 nHitCut_(cfg.getUntrackedParameter<int>(
"nHitCut"))
52 h_GlbMuChi2_= trackEffDir.
make<TH1D>(
"chi2 of GlobalMuon",
"chi2 of GlobalMuon", 100,0,10);
53 h_GlbMuDxy_= trackEffDir.
make<TH1D>(
"Dxy of GlobalMuon",
"Dxy of GlobalMuon", 1000,-5.,5.);
66 evt.
getByLabel(
"trackCountingHighEffBJetTags", bTagHandle);
70 for (
unsigned int i = 0;
i != bTags.
size(); ++
i) {
72 <<
" has b tag discriminator (trackCountingHighEffBJetTags)= "<<bTags[
i].second
73 <<
" and jet Pt = "<<bTags[
i].first->pt()<<endl;
78 evt.
getByLabel(
"jetProbabilityBJetTags", bTagHandle2);
82 for (
unsigned int i = 0;
i != bTags2.
size(); ++
i) {
84 <<
" has b tag discriminator (jetProbabilityBJetTags) = "<<bTags2[
i].second
85 <<
" and jet Pt = "<<bTags2[
i].first->pt()<<endl;
91 evt.
getByLabel(
"jetBProbabilityBJetTags", bTagHandle3);
95 for (
unsigned int i = 0;
i != bTags3.
size(); ++
i) {
97 <<
" has b tag discriminator (jetBProbabilityBJetTags) = "<<bTags3[
i].second
98 <<
" and jet Pt = "<<bTags3[
i].first->pt()<<endl;
#define DEFINE_FWK_MODULE(type)
std::vector< unsigned int > matched_
BjetAnalysis(const edm::ParameterSet &cfg)
T * make(const Args &...args) const
make new ROOT object
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
TFileDirectory mkdir(const std::string &dir, const std::string &descr="")
create a new subdirectory
T const * product() const
TH1D * h_TrkMuNofHitsGlbMu_
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
std::vector< unsigned int > unMatched_
TH1D * h_GlbMuNofHitsGlbMu_