|
| MuonMonitor (const edm::ParameterSet &) |
|
| ~MuonMonitor () override throw () |
|
void | accumulate (edm::Event const &event, edm::EventSetup const &setup) final |
|
void | beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final |
|
void | beginRun (edm::Run const &run, edm::EventSetup const &setup) final |
|
void | beginStream (edm::StreamID id) final |
|
virtual void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) |
|
| DQMEDAnalyzer () |
|
void | endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final |
|
void | endRun (edm::Run const &run, edm::EventSetup const &setup) final |
|
virtual bool | getCanSaveByLumi () |
|
| EDProducer ()=default |
|
| EDProducer (const EDProducer &)=delete |
|
bool | hasAbilityToProduceInBeginLumis () const final |
|
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
|
bool | hasAbilityToProduceInBeginRuns () const final |
|
bool | hasAbilityToProduceInEndLumis () const final |
|
bool | hasAbilityToProduceInEndProcessBlocks () const final |
|
bool | hasAbilityToProduceInEndRuns () const final |
|
const EDProducer & | operator= (const EDProducer &)=delete |
|
void | bookME (DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, const uint nbins, const double xmin, const double xmax, const bool bookDen=true) |
|
void | bookME (DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, const std::vector< double > &binningX, const bool bookDen=true) |
|
void | bookME (DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, const uint nbinsX, const double xmin, const double xmax, const double ymin, const double ymax, const bool bookDen=true) |
|
void | bookME (DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, const uint nbinsX, const double xmin, const double xmax, const uint nbinsY, const double ymin, const double ymax, const bool bookDen=true) |
|
void | bookME (DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, const std::vector< double > &binningX, const std::vector< double > &binningY, const bool bookDen=true) |
|
void | setMETitle (ObjME &me, const std::string &titleX, const std::string &titleY) |
|
| TriggerDQMBase ()=default |
|
virtual | ~TriggerDQMBase ()=default |
|
Definition at line 24 of file MuonMonitor.cc.
Reimplemented from DQMEDAnalyzer.
Definition at line 245 of file MuonMonitor.cc.
References den_genTriggerEventFlag_, TriggerDQMBase::ObjME::denominator, PVValHelper::dxy, PVValHelper::dz, MillePedeFileConverter_cfg::e, pwdgSkimBPark_cfi::electrons, eleEta_muEta_, eleEtaME_, eleME_variableBinning_, elePt_muPt_, eleSelection_, eleToken_, PVValHelper::eta, dqm::impl::MonitorElement::Fill(), hltPathsAreValid_, iEvent, eostools::ls(), metSelection_, metToken_, muondxy_, muondz_, muonEtaME_, muonEtaPhiME_, muonME_, muonME_variableBinning_, muonPhiME_, DiMuonV_cfg::muons, muonSelection_, muonToken_, muonVsLS_, nelectrons_, nmuons_, num_genTriggerEventFlag_, TriggerDQMBase::ObjME::numerator, AlCaHLTBitMon_ParallelJobs::p, phi, DiDispStaMuonMonitor_cfi::pt, MetAnalyzer::pv(), requireValidHLTPaths_, findQualityFiles::v, and vtxToken_.
269 if (not
v.isFake()) {
270 pv.SetXYZ(
v.x(),
v.y(),
v.z());
277 std::vector<reco::Muon>
muons;
278 if (muonHandle->size() <
nmuons_)
280 for (
auto const&
p : *muonHandle) {
289 std::vector<reco::GsfElectron>
electrons;
292 for (
auto const&
e : *eleHandle) {
300 const int ls =
iEvent.id().luminosityBlock();
302 if (!
muons.empty()) {
324 if (!
muons.empty()) {
StringCutObjectSelector< reco::MET, true > metSelection_
edm::EDGetTokenT< reco::PFMETCollection > metToken_
const bool requireValidHLTPaths_
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
edm::EDGetTokenT< reco::VertexCollection > vtxToken_
ObjME eleME_variableBinning_
muons
the two sets of parameters below are mutually exclusive, depending if RECO or ALCARECO is used the us...
StringCutObjectSelector< reco::GsfElectron, true > eleSelection_
ObjME muonME_variableBinning_
edm::EDGetTokenT< edm::View< reco::GsfElectron > > eleToken_
std::unique_ptr< GenericTriggerEventFlag > den_genTriggerEventFlag_
MonitorElement * denominator
MonitorElement * numerator
edm::EDGetTokenT< reco::MuonCollection > muonToken_
XYZPointD XYZPoint
point in space with cartesian internal representation
StringCutObjectSelector< reco::Muon, true > muonSelection_
Implements DQMEDAnalyzer.
Definition at line 138 of file MuonMonitor.cc.
References TriggerDQMBase::bookME(), den_genTriggerEventFlag_, dxy_binning_, eleEta_muEta_, eleEta_variable_binning_2D_, eleEtaME_, eleME_variableBinning_, elePt_muPt_, elePt_variable_binning_2D_, eta_binning_, folderName_, hltPathsAreValid_, ls_binning_, muEta_variable_binning_2D_, muon_binning_, muon_variable_binning_, muondxy_, muondz_, muoneta_variable_binning_, muonEtaME_, muonEtaME_variableBinning_, muonEtaPhiME_, muonME_, muonME_variableBinning_, muonPhiME_, muonVsLS_, muPt_variable_binning_2D_, TriggerDQMBase::MEbinning::nbins, num_genTriggerEventFlag_, phi_binning_, requireValidHLTPaths_, dqm::implementation::NavigatorBase::setCurrentFolder(), TriggerDQMBase::setMETitle(), AlCaHLTBitMon_QueryRunRegistry::string, TriggerDQMBase::MEbinning::xmax, and TriggerDQMBase::MEbinning::xmin.
162 histname =
"muon_pt";
163 histtitle =
"muon PT";
167 histname =
"muon_pt_variable";
168 histtitle =
"muon PT";
172 histname =
"muonVsLS";
173 histtitle =
"muon pt vs LS";
185 histname =
"muon_phi";
186 histtitle =
"Muon phi";
190 histname =
"muon_eta";
191 histtitle =
"Muon eta";
195 histname =
"muon_eta_variablebinning";
196 histtitle =
"Muon eta";
200 histname =
"muon_dxy";
201 histtitle =
"Muon dxy";
205 histname =
"muon_dz";
206 histtitle =
"Muon dz";
210 histname =
"muon_etaphi";
211 histtitle =
"Muon eta-phi";
224 histname =
"electron_pt_variable";
225 histtitle =
"electron PT";
229 histname =
"electron_eta";
230 histtitle =
"electron eta";
234 histname =
"elePt_muPt";
235 histtitle =
"electron pt vs muon pt";
239 histname =
"eleEta_muEta";
240 histtitle =
"electron #eta vs muon #eta";
std::vector< double > muPt_variable_binning_2D_
ObjME muonEtaME_variableBinning_
virtual void setCurrentFolder(std::string const &fullpath)
const bool requireValidHLTPaths_
std::vector< double > muoneta_variable_binning_
const MEbinning dxy_binning_
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
ObjME eleME_variableBinning_
void setMETitle(ObjME &me, const std::string &titleX, const std::string &titleY)
const MEbinning phi_binning_
std::vector< double > muEta_variable_binning_2D_
ObjME muonME_variableBinning_
std::unique_ptr< GenericTriggerEventFlag > den_genTriggerEventFlag_
const std::string folderName_
std::vector< double > elePt_variable_binning_2D_
std::vector< double > muon_variable_binning_
void bookME(DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, const uint nbins, const double xmin, const double xmax, const bool bookDen=true)
const MEbinning eta_binning_
std::vector< double > eleEta_variable_binning_2D_