|
| HTMonitor (const edm::ParameterSet &) |
|
| ~HTMonitor () override |
|
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 |
|
virtual void | dqmBeginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
|
virtual void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) |
|
| DQMEDAnalyzer () |
|
virtual void | dqmEndLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
|
virtual void | dqmEndRun (edm::Run const &, edm::EventSetup const &) |
|
void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final |
|
void | endLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup) final |
|
void | endRun (edm::Run const &, edm::EventSetup const &) final |
|
void | endRunProduce (edm::Run &run, edm::EventSetup const &setup) final |
|
virtual bool | getCanSaveByLumi () |
|
| EDProducer ()=default |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
|
SerialTaskQueue * | globalRunsQueue () final |
|
bool | hasAbilityToProduceInBeginLumis () const final |
|
bool | hasAbilityToProduceInBeginRuns () const final |
|
bool | hasAbilityToProduceInEndLumis () const final |
|
bool | hasAbilityToProduceInEndRuns () const final |
|
bool | wantsGlobalLuminosityBlocks () const final |
|
bool | wantsGlobalRuns () const final |
|
| EDProducerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
bool | wantsStreamLuminosityBlocks () const |
|
bool | wantsStreamRuns () const |
|
| ~EDProducerBase () override |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
|
| ProducerBase () |
|
std::vector< edm::ProductResolverIndex > const & | putTokenIndexToProductResolverIndex () const |
|
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
|
std::function< void(BranchDescription const &)> | registrationCallback () const |
| used by the fwk to register list of products More...
|
|
void | resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel) |
|
| ~ProducerBase () noexcept(false) override |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
void | convertCurrentProcessAlias (std::string const &processName) |
| Convert "@currentProcess" in InputTag process names to the actual current process name. More...
|
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
ESProxyIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
|
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
void | analyze (edm::Event const &iEvent, edm::EventSetup const &iSetup) override |
|
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
|
void | bookME (DQMStore::IBooker &, HTME &me, const std::string &histname, const std::string &histtitle, int nbins, double xmin, double xmax) |
|
void | bookME (DQMStore::IBooker &, HTME &me, const std::string &histname, const std::string &histtitle, const std::vector< double > &binningX) |
|
void | bookME (DQMStore::IBooker &, HTME &me, const std::string &histname, const std::string &histtitle, int nbinsX, double xmin, double xmax, double ymin, double ymax) |
|
void | bookME (DQMStore::IBooker &, HTME &me, const std::string &histname, const std::string &histtitle, int nbinsX, double xmin, double xmax, int nbinsY, double ymin, double ymax) |
|
void | bookME (DQMStore::IBooker &, HTME &me, const std::string &histname, const std::string &histtitle, const std::vector< double > &binningX, const std::vector< double > &binningY) |
|
void | setHTitle (HTME &me, const std::string &titleX, const std::string &titleY) |
|
ProducesCollector | producesCollector () |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
|
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
|
ConsumesCollector | consumesCollector () |
| Use a ConsumesCollector to gather consumes information from helper functions. More...
|
|
template<typename ProductType , BranchType B = InEvent> |
void | consumesMany () |
|
void | consumesMany (const TypeToGet &id) |
|
template<BranchType B> |
void | consumesMany (const TypeToGet &id) |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes () |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag const &tag) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
|
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
Definition at line 50 of file HTMonitor.h.
Reimplemented from DQMEDAnalyzer.
Definition at line 218 of file HTMonitor.cc.
References SiPixelRawToDigiRegional_cfi::deltaPhi, deltaphij1j2ME_, deltaphimetj1ME_, den_genTriggerEventFlag_, HTMonitor::HTME::denominator, dEtaCut_, MillePedeFileConverter_cfg::e, pwdgSkimBPark_cfi::electrons, eleInputTag_, eleSelection_, eleToken_, dqm::impl::MonitorElement::Fill(), edm::Event::getByToken(), htVsLS_, edm::EventBase::id(), edm::HandleBase::isValid(), dqmiolumiharvest::j, jetInputTag_, singleTopDQM_cfi::jets, jetSelection_, jetSelection_HT_, jetToken_, edm::InputTag::label(), eostools::ls(), edm::EventID::luminosityBlock(), visualization-live-secondInstance_cfg::m, metInputTag_, metSelection_, metToken_, MJJ, muoInputTag_, PDWG_BPHSkim_cff::muons, muoSelection_, muoToken_, nelectrons_, njets_, nmuons_, num_genTriggerEventFlag_, HTMonitor::HTME::numerator, p4, phi, reco::LeafCandidate::phi(), reco::Vertex::position(), qME_variableBinning_, quantity_, edm::View< T >::size(), SOFTDROP, findQualityFiles::v, badGlobalMuonTaggersAOD_cff::vtx, vtxInputTag_, vtxToken_, and warningPrinted4token_.
228 <<
" is not available";
242 <<
" is not available";
247 std::vector<reco::Jet>
jets;
250 for (
auto const&
j : *jetHandle) {
259 float deltaPhi_met_j1 = 10.0;
260 float deltaPhi_j1_j2 = 10.0;
263 deltaPhi_met_j1 = fabs(
deltaPhi(pfmet.
phi(), jets[0].phi()));
264 if (jets.size() >= 2)
267 std::vector<reco::GsfElectron>
electrons;
273 for (
auto const&
e : *eleHandle) {
275 electrons.push_back(
e);
286 <<
" is not available";
296 for (
auto const&
v : *vtxHandle) {
297 bool isFake =
v.isFake();
311 <<
" is not available";
317 std::vector<reco::Muon>
muons;
321 if (muoHandle->size() <
nmuons_)
323 for (
auto const&
m : *muoHandle) {
324 if (
muoSelection_(
m) &&
m.isGlobalMuon() &&
m.isPFMuon() &&
m.globalTrack()->normalizedChi2() < 10. &&
325 m.globalTrack()->hitPattern().numberOfValidMuonHits() > 0 &&
m.numberOfMatchedStations() > 1 &&
326 fabs(
m.muonBestTrack()->dxy(vtx.
position())) < 0.2 && fabs(
m.muonBestTrack()->dz(vtx.
position())) < 0.5 &&
327 m.innerTrack()->hitPattern().numberOfValidPixelHits() > 0 &&
328 m.innerTrack()->hitPattern().trackerLayersWithMeasurement() > 5)
340 <<
" is not available";
350 for (
auto const&
j : *jetHandle) {
361 int ls =
iEvent.id().luminosityBlock();
382 if (fabs(jets[0].
p4().Eta() - jets[1].
p4().Eta()) >=
dEtaCut_)
384 float mjj = (jets[0].p4() + jets[1].p4()).M();
401 if (fabs(jets[0].
p4().Eta() - jets[1].
p4().Eta()) >=
dEtaCut_)
404 float softdrop = jets[0].p4().M();
edm::EDGetTokenT< reco::MuonCollection > muoToken_
StringCutObjectSelector< reco::Jet, true > jetSelection_
MonitorElement * denominator
HTME qME_variableBinning_
edm::InputTag muoInputTag_
edm::EDGetTokenT< reco::VertexCollection > vtxToken_
edm::InputTag jetInputTag_
const Point & position() const
position
std::unique_ptr< GenericTriggerEventFlag > den_genTriggerEventFlag_
std::vector< bool > warningPrinted4token_
edm::InputTag eleInputTag_
StringCutObjectSelector< reco::Muon, true > muoSelection_
MonitorElement * numerator
edm::EDGetTokenT< reco::GsfElectronCollection > eleToken_
StringCutObjectSelector< reco::MET, true > metSelection_
edm::InputTag vtxInputTag_
edm::InputTag metInputTag_
StringCutObjectSelector< reco::GsfElectron, true > eleSelection_
edm::EDGetTokenT< reco::JetView > jetToken_
edm::EDGetTokenT< reco::PFMETCollection > metToken_
double phi() const final
momentum azimuthal angle
StringCutObjectSelector< reco::Jet, true > jetSelection_HT_
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
Implements DQMEDAnalyzer.
Definition at line 152 of file HTMonitor.cc.
References bookME(), deltaphij1j2ME_, deltaphimetj1ME_, den_genTriggerEventFlag_, folderName_, ht_binning_, ht_variable_binning_, htVsLS_, ls_binning_, MJJ, HTMonitor::MEHTbinning::nbins, num_genTriggerEventFlag_, phi_binning_, qME_variableBinning_, quantity_, dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder(), setHTitle(), SOFTDROP, AlCaHLTBitMon_QueryRunRegistry::string, HTMonitor::MEHTbinning::xmax, and HTMonitor::MEHTbinning::xmin.
156 ibooker.setCurrentFolder(currentFolder);
160 histname =
"ht_variable";
166 histtitle =
"HT vs LS";
178 histname =
"deltaphi_metjet1";
179 histtitle =
"DPHI_METJ1";
183 histname =
"deltaphi_jet1jet2";
184 histtitle =
"DPHI_J1J2";
191 histname =
"mjj_variable";
199 histname =
"softdrop_variable";
200 histtitle =
"softdropmass";
void setHTitle(HTME &me, const std::string &titleX, const std::string &titleY)
void bookME(DQMStore::IBooker &, HTME &me, const std::string &histname, const std::string &histtitle, int nbins, double xmin, double xmax)
HTME qME_variableBinning_
std::vector< double > ht_variable_binning_
std::unique_ptr< GenericTriggerEventFlag > den_genTriggerEventFlag_
static MEHTbinning phi_binning_
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_