4 folderName_ ( iConfig.getParameter<
std::
string>(
"FolderName") ) ,
25 pset.
add<
unsigned int>(
"nbins" );
26 pset.
add<
double> (
"xmin" );
27 pset.
add<
double> (
"xmax" );
57 histname =
"tau1DEta";
63 histname =
"tau1DPhi";
69 histname =
"tau1DMass";
75 histname =
"tau2DEtaPhi";
102 edm::LogWarning(
"ProductNotValid") <<
"Tau3Mu trigger product not valid";
108 for (
auto const & itau : *tauHandle) {
142 genericTriggerEventPSet.
add<
bool> (
"andOr" );
144 genericTriggerEventPSet.add<std::vector<int> > (
"dcsPartitions" , {} );
145 genericTriggerEventPSet.add<
bool> (
"andOrDcs" ,
false );
146 genericTriggerEventPSet.add<
bool> (
"errorReplyDcs" ,
true );
147 genericTriggerEventPSet.add<
std::string> (
"dbLabel" ,
"" );
148 genericTriggerEventPSet.add<
bool> (
"andOrHlt" ,
true );
150 genericTriggerEventPSet.add<std::vector<std::string> >(
"hltPaths" , {} );
151 genericTriggerEventPSet.add<
std::string> (
"hltDBKey" ,
"" );
152 genericTriggerEventPSet.add<
bool> (
"errorReplyHlt" ,
false );
153 genericTriggerEventPSet.add<
unsigned int> (
"verbosityLevel", 0 );
156 descriptions.
add(
"tau3muMonitoring", desc);
T getParameter(std::string const &) const
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_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
static void fillHistoPSetDescription(edm::ParameterSetDescription &pset)
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
static MEbinning getHistoPSet(edm::ParameterSet pset)
std::unique_ptr< GenericTriggerEventFlag > genTriggerEventFlag_
MonitorElement * tau1DMass_
#define DEFINE_FWK_MODULE(type)
void setCurrentFolder(std::string const &fullpath)
MonitorElement * tau1DPhi_
MonitorElement * book1D(Args &&...args)
~Tau3MuMonitor() override
ParameterDescriptionBase * add(U const &iLabel, T const &value)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
MonitorElement * tau2DEtaPhi_
MonitorElement * book2D(Args &&...args)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
edm::EDGetTokenT< reco::CompositeCandidateCollection > tauToken_
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
Tau3MuMonitor(const edm::ParameterSet &)