Skip to content

Commit

Permalink
cleaning of few comments
Browse files Browse the repository at this point in the history
  • Loading branch information
silviodonato committed Jul 31, 2015
1 parent 9c473f0 commit 8588705
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions DQMOffline/Trigger/src/BTVHLTOfflineSource.cc
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ BTVHLTOfflineSource::BTVHLTOfflineSource(const edm::ParameterSet& iConfig)
csvPfTagsToken_ = consumes<reco::JetTagCollection> (edm::InputTag("hltCombinedSecondaryVertexBJetTagsPF"));
offlineCSVTokenPF_ = consumes<reco::JetTagCollection> (iConfig.getParameter<edm::InputTag>("offlineCSVLabelPF"));
offlineCSVTokenCalo_ = consumes<reco::JetTagCollection> (iConfig.getParameter<edm::InputTag>("offlineCSVLabelCalo"));
// hltFastPVLabel_ = iConfig.getParameter<edm::InputTag>("hltFastPVLabel");
hltFastPVToken_ = consumes<std::vector<reco::Vertex> > (iConfig.getParameter<edm::InputTag>("hltFastPVLabel"));
hltPFPVToken_ = consumes<std::vector<reco::Vertex> > (iConfig.getParameter<edm::InputTag>("hltPFPVLabel"));
hltCaloPVToken_ = consumes<std::vector<reco::Vertex> > (iConfig.getParameter<edm::InputTag>("hltCaloPVLabel"));
Expand Down Expand Up @@ -254,14 +253,6 @@ BTVHLTOfflineSource::bookHistograms(DQMStore::IBooker & iBooker, edm::Run const

iBooker.setCurrentFolder(dirname_);

//-------------- htlConfig_ ----------------------

// REMOVE ME !
// bool changed(true);
// if (!hltConfig_.init(run, c, processname_, changed)) {
// LogDebug("BTVHLTOfflineSource") << "HLTConfigProvider failed to initialize.";
// }

//----------- Define hltPathsAll_ -----------------

const unsigned int numberOfPaths(hltConfig_.size());
Expand Down Expand Up @@ -306,42 +297,34 @@ BTVHLTOfflineSource::bookHistograms(DQMStore::IBooker & iBooker, edm::Run const
histoname = labelname+"_CSV";
title = labelname+"_CSV "+trigPath;
MonitorElement * CSV = iBooker.book1D(histoname.c_str(),title.c_str(),110,-0.1,1);
// CSV->getTH1();

histoname = labelname+"_Pt";
title = labelname+"_Pt "+trigPath;
MonitorElement * Pt = iBooker.book1D(histoname.c_str(),title.c_str(),100,0,400);
// Pt->getTH1();

histoname = labelname+"_Eta";
title = labelname+"_Eta "+trigPath;
MonitorElement * Eta = iBooker.book1D(histoname.c_str(),title.c_str(),60,-3.0,3.0);
// Eta->getTH1();

histoname = "RECOvsHLT_CSV";
title = "offline CSV vs online CSV "+trigPath;
MonitorElement * CSV_RECOvsHLT = iBooker.book2D(histoname.c_str(),title.c_str(),110,-0.1,1,110,-0.1,1);
// CSV_RECOvsHLT->getTH2F();

histoname = labelname+"_PVz";
title = "online z(PV) "+trigPath;
MonitorElement * PVz = iBooker.book1D(histoname.c_str(),title.c_str(),80,-20,20);
// PVz->getTH1();

histoname = labelname+"_fastPVz";
title = "online z(fastPV) "+trigPath;
MonitorElement * fastPVz = iBooker.book1D(histoname.c_str(),title.c_str(),80,-20,20);
// fastPVz->getTH1();

histoname = "HLTMinusRECO_PVz";
title = "online z(PV) - offline z(PV) "+trigPath;
MonitorElement * PVz_HLTMinusRECO = iBooker.book1D(histoname.c_str(),title.c_str(),200,-0.5,0.5);
// PVz_HLTMinusRECO->getTH1();

histoname = "HLTMinusRECO_fastPVz";
title = "online z(fastPV) - offline z(PV) "+trigPath;
MonitorElement * fastPVz_HLTMinusRECO = iBooker.book1D(histoname.c_str(),title.c_str(),100,-2,2);
// fastPVz_HLTMinusRECO->getTH1();

v->setHistos(CSV,Pt,Eta,CSV_RECOvsHLT,PVz,fastPVz,PVz_HLTMinusRECO,fastPVz_HLTMinusRECO);
}
Expand Down

0 comments on commit 8588705

Please sign in to comment.