|
|
Go to the documentation of this file. 1 #ifndef SINGLETOPTCHANNELLEPTONDQM_MINIAOD
2 #define SINGLETOPTCHANNELLEPTONDQM_MINIAOD
60 const std::vector<std::string>
labels)
const;
72 hists_.find(histName)->second->Fill(xValue, yValue);
75 void fill(
const std::string histName,
double xValue,
double yValue,
double zValue)
const {
77 hists_.find(histName)->second->Fill(xValue, yValue, zValue);
86 std::vector<edm::EDGetTokenT<edm::View<pat::MET> > >
mets_;
105 std::unique_ptr<StringCutObjectSelector<pat::Electron> >
elecIso_;
107 std::unique_ptr<StringCutObjectSelector<pat::Electron> >
elecSelect_;
111 std::unique_ptr<StringCutObjectSelector<reco::Vertex> >
pvSelect_;
114 std::unique_ptr<StringCutObjectSelector<pat::Muon> >
muonIso_;
128 std::unique_ptr<StringCutObjectSelector<pat::Jet> >
jetSelect;
143 std::map<std::string, MonitorElement*>
hists_;
151 hists_[channel +
"Eff_"]->setBinLabel(
159 const std::vector<std::string>
labels)
const {
162 fill(channel +
"Mon_",
idx + 0.5);
164 int evts =
hists_.find(channel +
"Mon_")->second->getBinContent(
idx + 1);
165 double value =
hists_.find(channel +
"Eff_")->second->getBinContent(
idx + 1);
229 std::map<std::string, std::pair<edm::ParameterSet, std::unique_ptr<SingleTopTChannelLepton_miniAOD::MonitorEnsemble> > >
231 std::unique_ptr<SelectionStep<pat::Muon> >
MuonStep;
233 std::unique_ptr<SelectionStep<reco::Vertex> >
PvStep;
234 std::unique_ptr<SelectionStep<pat::MET> >
METStep;
235 std::vector<std::unique_ptr<SelectionStep<pat::Jet> > >
JetSteps;
237 std::vector<edm::ParameterSet>
sel_;
std::unique_ptr< StringCutObjectSelector< pat::Jet > > jetSelect
std::unique_ptr< StringCutObjectSelector< pat::Electron > > elecSelect_
extra selection on electrons
edm::EDGetTokenT< edm::View< reco::Vertex > > pvs_
std::unique_ptr< SelectionStep< reco::Vertex > > PvStep
edm::ESGetToken< JetCorrector, JetCorrectionsRecord > jetCorrector_
jetCorrector
void triggerBinLabels(std::string channel, const std::vector< std::string > labels)
set configurable labels for trigger monitoring histograms
std::unique_ptr< SelectionStep< pat::Electron > > ElectronStep
std::vector< std::unique_ptr< SelectionStep< pat::Jet > > > JetSteps
std::vector< std::string > selectionOrder_
edm::EDGetTokenT< edm::ValueMap< float > > electronId_
electronId label
edm::EDGetTokenT< edm::TriggerResults > triggerTable_
trigger table
std::map< std::string, MonitorElement * > hists_
histogram container
edm::EDGetTokenT< edm::View< pat::Jet > > jets_
input sources for monitoring
void book(DQMStore::IBooker &ibooker)
book histograms in subdirectory directory
bool booked(const std::string histName) const
check if histogram was booked
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
std::map< std::string, std::pair< edm::ParameterSet, std::unique_ptr< SingleTopTChannelLepton_miniAOD::MonitorEnsemble > > > selection_
std::vector< edm::ParameterSet > sel_
edm::EDGetTokenT< reco::BeamSpot > beamspot__
std::unique_ptr< StringCutObjectSelector< pat::Muon > > muonSelect_
extra selection on muons
std::unique_ptr< SelectionStep< pat::Muon > > MuonStep
std::string objectType(const std::string &label)
std::string selectionPath(const std::string &label) const
void analyze(const edm::Event &event, const edm::EventSetup &setup) override
do this during the event loop
std::vector< std::string > triggerPaths_
trigger paths
std::string selectionStep(const std::string &label)
void fill(const std::string histName, double value) const
fill histogram if it had been booked before
double lowerEdge_
mass window upper and lower edge
edm::InputTag beamspot_
beamspot
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
void fill(const std::string histName, double xValue, double yValue, double zValue) const
fill histogram if it had been booked before (2-dim version)
std::string label_
instance label
Level
different verbosity levels
edm::EDGetTokenT< reco::JetTagCollection > btagCSV_
std::unique_ptr< StringCutObjectSelector< pat::Electron > > elecIso_
extra isolation criterion on electron
edm::EDGetTokenT< reco::JetIDValueMap > jetIDLabel_
jetID as an extra selection type
edm::EDGetTokenT< reco::JetTagCollection > btagPur_
int logged_
number of logged interesting events
std::unique_ptr< StringCutObjectSelector< reco::BeamSpot > > beamspotSelect_
string cut selector
edm::EDConsumerBase tmpConsumerBase
std::unique_ptr< StringCutObjectSelector< pat::Muon > > muonIso_
extra isolation criterion on muon
edm::EDGetTokenT< reco::JetTagCollection > btagVtx_
void fill(const std::string histName, double xValue, double yValue) const
fill histogram if it had been booked before (2-dim version)
std::string monitorPath(const std::string &label) const
Level verbosity_
verbosity level for booking
edm::EDGetTokenT< edm::View< pat::Muon > > muons_
dqm::reco::DQMStore DQMStore
std::unique_ptr< StringCutObjectSelector< reco::JetID > > jetIDSelect_
extra jetID selection on calo jets
edm::EDGetTokenT< edm::View< pat::Electron > > elecs_
std::unique_ptr< SelectionStep< pat::MET > > METStep
dqm::legacy::MonitorElement MonitorElement
~SingleTopTChannelLeptonDQM_miniAOD() override
default destructor
std::unique_ptr< StringCutObjectSelector< reco::Vertex > > vertexSelect_
string cut selector
std::vector< edm::EDGetTokenT< edm::View< pat::MET > > > mets_
considers a vector of METs
MonitorEnsemble(const char *label, const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC)
default contructor
std::vector< std::string > triggerPaths_
double btagEffWP_
btag working points
~MonitorEnsemble()
default destructor
std::unique_ptr< StringCutObjectSelector< reco::Vertex > > pvSelect_
edm::EDGetTokenT< reco::JetTagCollection > btagEff_
btag discriminator labels
edm::EDGetTokenT< edm::TriggerResults > triggerTable__
trigger table
SingleTopTChannelLeptonDQM_miniAOD(const edm::ParameterSet &cfg)
default constructor
void fill(const edm::Event &event, const edm::EventSetup &setup)
fill monitor histograms with electronId and jetCorrections