52 requireValidHLTPaths_(
iConfig.getParameter<
bool>("requireValidHLTPaths")),
53 hltPathsAreValid_(
false),
64 iConfig.getParameter<edm::
ParameterSet>("GenericTriggerEventPSet"), consumesCollector(), *this)) {}
100 histname =
"tau1DEta";
106 histname =
"tau1DPhi";
112 histname =
"tau1DMass";
118 histname =
"tau2DEtaPhi";
153 edm::LogWarning(
"ProductNotValid") <<
"Tau3Mu trigger product not valid";
154 validProduct_ =
false;
159 for (
auto const& itau : *tauHandle) {
171 desc.
add<
bool>(
"requireValidHLTPaths",
true);
191 genericTriggerEventPSet.
add<
bool>(
"andOr");
193 genericTriggerEventPSet.add<std::vector<int> >(
"dcsPartitions", {});
194 genericTriggerEventPSet.add<
bool>(
"andOrDcs",
false);
195 genericTriggerEventPSet.add<
bool>(
"errorReplyDcs",
true);
196 genericTriggerEventPSet.add<
std::string>(
"dbLabel",
"");
197 genericTriggerEventPSet.add<
bool>(
"andOrHlt",
true);
199 genericTriggerEventPSet.add<std::vector<std::string> >(
"hltPaths", {});
200 genericTriggerEventPSet.add<
std::string>(
"hltDBKey",
"");
201 genericTriggerEventPSet.add<
bool>(
"errorReplyHlt",
false);
202 genericTriggerEventPSet.add<
unsigned int>(
"verbosityLevel", 0);
205 descriptions.
add(
"tau3muMonitoring", desc);
void analyze(edm::Event const &iEvent, edm::EventSetup const &iSetup) override
MonitorElement * tau1DEta_
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
std::vector< CompositeCandidate > CompositeCandidateCollection
collection of Candidate objects
MonitorElement * tau1DPt_
virtual void setCurrentFolder(std::string const &fullpath)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
dqm::reco::DQMStore DQMStore
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
static void fillHistoPSetDescription(edm::ParameterSetDescription &pset)
const std::string folderName_
std::unique_ptr< T, impl::DeviceDeleter > unique_ptr
std::unique_ptr< GenericTriggerEventFlag > genTriggerEventFlag_
MonitorElement * tau1DMass_
static MEbinning getHistoPSet(const edm::ParameterSet &pset)
MonitorElement * tau1DPhi_
~Tau3MuMonitor() override
ParameterDescriptionBase * add(U const &iLabel, T const &value)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
MonitorElement * tau2DEtaPhi_
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
void add(std::string const &label, ParameterSetDescription const &psetDescription)
dqm::reco::MonitorElement MonitorElement
Log< level::Warning, false > LogWarning
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
edm::EDGetTokenT< reco::CompositeCandidateCollection > tauToken_
const bool requireValidHLTPaths_
Tau3MuMonitor(const edm::ParameterSet &)
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)