112 njets_(iConfig.getParameter<
unsigned int>("
njets")),
154 histname =
"jetE_variable";
159 histname =
"jetEVsLS";
160 histtitle =
"jetE vs LS";
172 histname =
"jetEVsBX";
173 histtitle =
"jetE vs BX";
187 histtitle =
"jetEta";
192 histname =
"jetEtaVsLS";
193 histtitle =
"jetEta vs LS";
206 histname =
"jetEtaVsBX";
207 histtitle =
"jetEta vs BX";
221 histtitle =
"jetPhi";
226 histname =
"jetPhiVsLS";
227 histtitle =
"jetPhi vs LS";
240 histname =
"jetPhiVsBX";
241 histtitle =
"jetPhi vs BX";
255 histtitle =
"muonPt";
260 histname =
"muonPt_variable";
261 histtitle =
"muonPt";
265 histname =
"muonPtVsLS";
266 histtitle =
"muonPt vs LS";
279 histname =
"muonPtVsBX";
280 histtitle =
"muonPt vs BX";
293 histname =
"muonEta";
294 histtitle =
"muonEta";
304 histname =
"muonEtaVsLS";
305 histtitle =
"muonEta vs LS";
318 histname =
"muonEtaVsBX";
319 histtitle =
"muonEta vs BX";
332 histname =
"muonPhi";
333 histtitle =
"muonPhi";
343 histname =
"muonPhiVsLS";
344 histtitle =
"muonPhi vs LS";
357 histname =
"muonPhiVsBX";
358 histtitle =
"muonPhi vs BX";
384 const int ls =
iEvent.id().luminosityBlock();
385 const int bx =
iEvent.bunchCrossing();
390 if ((
unsigned int)(jetHandle->size()) <
njets_)
393 std::vector<reco::CaloJet>
jets;
394 for (
auto const&
j : *jetHandle) {
406 jetE =
jets[0].energy();
414 if ((
unsigned int)(DSAHandle->size()) <
nmuons_)
417 std::vector<reco::Track>
muons;
418 for (
auto const&
m : *DSAHandle) {
429 if (!
muons.empty()) {
468 desc.add<
bool>(
"requireValidHLTPaths",
true);
474 desc.add<
unsigned int>(
"njets", 0);
475 desc.add<
unsigned int>(
"nmuons", 0);
507 std::vector<double>
bins = {0., 20., 40., 60., 80., 90., 100., 110., 120., 130., 140., 150., 160.,
508 170., 180., 190., 200., 220., 240., 260., 280., 300., 350., 400., 450., 1000.};
514 descriptions.
add(
"NoBPTXMonitoring",
desc);
muonSelection
MU SELECTION #########################.
edm::EDGetTokenT< reco::TrackCollection > muonToken_
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
StringCutObjectSelector< reco::CaloJet, true > jetSelection_
static void fillHistoLSPSetDescription(edm::ParameterSetDescription &pset)
ObjME muonPtNoBPTX_variableBinning_
const bool requireValidHLTPaths_
virtual void setCurrentFolder(std::string const &fullpath)
#define DEFINE_FWK_MODULE(type)
void fill(const bool pass_num, Args... args)
std::vector< Track > TrackCollection
collection of Tracks
edm::EDGetTokenT< reco::CaloJetCollection > jetToken_
static MEbinning getHistoLSPSet(const edm::ParameterSet &pset)
dqm::reco::DQMStore DQMStore
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
~NoBPTXMonitor() override
MEbinning muonEta_binning_
static void fillHistoPSetDescription(edm::ParameterSetDescription &pset)
std::vector< double > jetE_variable_binning_
denGenericTriggerEventPSet
std::unique_ptr< T, impl::DeviceDeleter > unique_ptr
void setMETitle(ObjME &me, const std::string &titleX, const std::string &titleY)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
const std::string folderName_
static MEbinning getHistoPSet(const edm::ParameterSet &pset)
MonitorElement * numerator
std::unique_ptr< GenericTriggerEventFlag > den_genTriggerEventFlag_
dqm::reco::MonitorElement MonitorElement
MEbinning jetEta_binning_
void analyze(edm::Event const &iEvent, edm::EventSetup const &iSetup) override
MEbinning muonPt_binning_
StringCutObjectSelector< reco::Track, true > muonSelection_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
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)
MEbinning jetPhi_binning_
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
MEbinning muonPhi_binning_
NoBPTXMonitor(const edm::ParameterSet &)
static void fillPSetDescription(edm::ParameterSetDescription &desc)
ObjME jetENoBPTX_variableBinning_
numGenericTriggerEventPSet
std::vector< double > muonPt_variable_binning_
std::vector< CaloJet > CaloJetCollection
collection of CaloJet objects