|
|
Go to the documentation of this file. 1 #ifndef SINGLETOPTCHANNELLEPTONDQM
2 #define SINGLETOPTCHANNELLEPTONDQM
88 const std::vector<std::string>
labels)
const;
100 hists_.find(histName)->second->Fill(xValue, yValue);
103 void fill(
const std::string histName,
double xValue,
double yValue,
double zValue)
const {
105 hists_.find(histName)->second->Fill(xValue, yValue, zValue);
114 std::vector<edm::EDGetTokenT<edm::View<reco::MET> > >
mets_;
155 std::unique_ptr<StringCutObjectSelector<reco::PFCandidate> >
elecSelect_;
160 std::unique_ptr<StringCutObjectSelector<reco::Vertex> >
pvSelect_;
163 std::unique_ptr<StringCutObjectSelector<reco::PFCandidate> >
muonIso_;
166 std::unique_ptr<StringCutObjectSelector<reco::PFCandidate> >
muonSelect_;
195 std::map<std::string, MonitorElement*>
hists_;
200 std::unique_ptr<StringCutObjectSelector<reco::PFCandidate, true> >
muonSelect;
201 std::unique_ptr<StringCutObjectSelector<reco::PFCandidate, true> >
muonIso;
203 std::unique_ptr<StringCutObjectSelector<reco::PFCandidate, true> >
elecSelect;
204 std::unique_ptr<StringCutObjectSelector<reco::PFCandidate, true> >
elecIso;
210 hists_[channel +
"Eff_"]->setBinLabel(
218 const std::vector<std::string>
labels)
const {
221 fill(channel +
"Mon_",
idx + 0.5);
223 int evts =
hists_.find(channel +
"Mon_")->second->getBinContent(
idx + 1);
224 double value =
hists_.find(channel +
"Eff_")->second->getBinContent(
idx + 1);
326 std::map<std::string, std::pair<edm::ParameterSet, std::unique_ptr<SingleTopTChannelLepton::MonitorEnsemble> > >
329 std::unique_ptr<SelectionStep<reco::Muon> >
MuonStep;
330 std::unique_ptr<SelectionStep<reco::PFCandidate> >
PFMuonStep;
333 std::unique_ptr<SelectionStep<reco::Vertex> >
PvStep;
335 std::vector<std::unique_ptr<SelectionStep<reco::Jet> > >
JetSteps;
336 std::vector<std::unique_ptr<SelectionStep<reco::CaloJet> > >
CaloJetSteps;
337 std::vector<std::unique_ptr<SelectionStep<reco::PFJet> > >
PFJetSteps;
339 std::unique_ptr<SelectionStep<reco::MET> >
METStep;
340 std::vector<edm::ParameterSet>
sel;
std::string selectionStep(const std::string &label)
std::unique_ptr< StringCutObjectSelector< reco::PFJet > > jetlooseSelection_
std::string jetCorrector_
jetCorrector
std::vector< std::string > triggerPaths_
edm::EDConsumerBase tmpConsumerBase
edm::EDGetTokenT< edm::ValueMap< float > > electronId_
electronId label
edm::EDGetTokenT< reco::JetTagCollection > btagCombVtx_
edm::EDGetTokenT< reco::JetTagCollection > btagCSV_
~MonitorEnsemble()
default destructor
std::unique_ptr< StringCutObjectSelector< reco::PFCandidate, true > > muonIso
std::unique_ptr< StringCutObjectSelector< reco::Vertex > > vertexSelect_
string cut selector
SingleTopTChannelLeptonDQM(const edm::ParameterSet &cfg)
default constructor
std::unique_ptr< StringCutObjectSelector< reco::JetID > > jetIDSelect_
extra jetID selection on calo jets
std::string label_
instance label
edm::EDGetTokenT< edm::View< reco::Vertex > > pvs_
~SingleTopTChannelLeptonDQM() override
default destructor
edm::EDGetTokenT< edm::TriggerResults > triggerTable__
trigger table
std::vector< ParameterSet > VParameterSet
std::vector< edm::ParameterSet > sel
std::unique_ptr< StringCutObjectSelector< reco::PFCandidate, true > > elecIso
std::unique_ptr< SelectionStep< reco::Vertex > > PvStep
void fill(const edm::Event &event, const edm::EventSetup &setup)
fill monitor histograms with electronId and jetCorrections
std::unique_ptr< SelectionStep< reco::GsfElectron > > ElectronStep
edm::EDGetTokenT< reco::JetCorrector > mJetCorrector
std::unique_ptr< StringCutObjectSelector< reco::PFCandidate, true > > muonSelect
std::string elecIso_
extra isolation criterion on electron
std::unique_ptr< SelectionStep< reco::Muon > > MuonStep
double lowerEdge_
mass window upper and lower edge
edm::EDGetTokenT< reco::JetTagCollection > btagPur_
std::unique_ptr< StringCutObjectSelector< reco::PFCandidate, true > > elecSelect
edm::EDGetTokenT< edm::View< reco::GsfElectron > > elecs_gsf_
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
dqm::implementation::IBooker IBooker
void book(DQMStore::IBooker &ibooker)
book histograms in subdirectory directory
edm::EDGetTokenT< edm::TriggerResults > triggerTable_
trigger table
dqm::legacy::DQMStore DQMStore
std::unique_ptr< StringCutObjectSelector< reco::BeamSpot > > beamspotSelect_
string cut selector
edm::EDGetTokenT< reco::JetTagCollection > btagVtx_
edm::EDGetTokenT< edm::View< reco::PFCandidate > > elecs_
std::string objectType(const std::string &label)
std::unique_ptr< StringCutObjectSelector< reco::PFCandidate > > elecSelect_
extra selection on electrons
edm::EDGetTokenT< edm::View< reco::Jet > > jets_
input sources for monitoring
void triggerBinLabels(std::string channel, const std::vector< std::string > labels)
set configurable labels for trigger monitoring histograms
void fill(const std::string histName, double value) const
fill histogram if it had been booked before
std::vector< std::unique_ptr< SelectionStep< reco::Jet > > > JetSteps
std::unique_ptr< SelectionStep< reco::PFCandidate > > PFElectronStep
std::unique_ptr< StringCutObjectSelector< reco::PFCandidate > > muonSelect_
extra selection on muons
bool booked(const std::string histName) const
check if histogram was booked
std::vector< std::string > selectionOrder_
edm::EDGetTokenT< reco::JetIDValueMap > jetIDLabel_
jetID as an extra selection type
std::map< std::string, MonitorElement * > hists_
edm::InputTag beamspot_
beamspot
std::vector< std::unique_ptr< SelectionStep< reco::PFJet > > > PFJetSteps
int logged_
number of logged interesting events
MonitorEnsemble(const char *label, const edm::ParameterSet &cfg, const edm::VParameterSet &vcfg, edm::ConsumesCollector &&iC)
default contructor
std::unique_ptr< StringCutObjectSelector< reco::PFJet > > jetSelection_
std::map< std::string, std::pair< edm::ParameterSet, std::unique_ptr< SingleTopTChannelLepton::MonitorEnsemble > > > selection_
std::vector< std::unique_ptr< SelectionStep< reco::CaloJet > > > CaloJetSteps
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
define MonitorEnsembple to be used
std::unique_ptr< SelectionStep< reco::MET > > METStep
double btagEffWP_
btag working points
void analyze(const edm::Event &event, const edm::EventSetup &setup) override
do this during the event loop
std::unique_ptr< StringCutObjectSelector< reco::Vertex > > pvSelect_
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::unique_ptr< SelectionStep< reco::PFCandidate > > PFMuonStep
edm::EDGetTokenT< reco::Vertex > vertex__
std::vector< std::string > triggerPaths_
trigger paths
edm::EDGetTokenT< reco::JetTagCollection > btagEff_
btag discriminator labels
edm::InputTag vertex_
primary vertex
edm::EDGetTokenT< edm::View< reco::PFCandidate > > muons_
void fill(const std::string histName, double xValue, double yValue) const
fill histogram if it had been booked before (2-dim version)
dqm::legacy::MonitorElement MonitorElement
edm::EDGetTokenT< reco::BeamSpot > beamspot__
Level
different verbosity levels
std::string monitorPath(const std::string &label) const
std::vector< edm::EDGetTokenT< edm::View< reco::MET > > > mets_
considers a vector of METs
std::string selectionPath(const std::string &label) const
std::unique_ptr< StringCutObjectSelector< reco::PFCandidate > > muonIso_
extra isolation criterion on muon
Level verbosity_
verbosity level for booking