27 std::vector<TrigObjTnPHistColl>&)
const override;
40 : trigEvtToken_(consumes<trigger::TriggerEvent>(config.getParameter<edm::
InputTag>(
"triggerEvent"))),
41 trigResultsToken_(consumes<edm::TriggerResults>(config.getParameter<edm::
InputTag>(
"triggerResults"))),
42 hltProcess_(config.getParameter<edm::
InputTag>(
"triggerResults").
process()),
50 descriptions.
add(
"trigObjTnPSource", desc);
56 std::vector<TrigObjTnPHistColl>& tnpHistColls)
const {
59 bool hltChanged =
false;
63 for (
auto& histColl : tnpHistColls) {
64 histColl.init(hltConfig);
65 histColl.bookHists(iBooker);
71 std::vector<TrigObjTnPHistColl>& tnpHistColls)
const {}
75 const std::vector<TrigObjTnPHistColl>& tnpHistColls)
const {
82 for (
auto& histColl : tnpHistColls) {
83 histColl.fill(*trigEvtHandle, *trigResultsHandle, event.
triggerNames(*trigResultsHandle));
TrigObjTnPSource(const edm::ParameterSet &)
ParameterDescriptionBase * addVPSet(U const &iLabel, ParameterSetDescription const &validator, std::vector< ParameterSet > const &defaults)
std::vector< edm::ParameterSet > histCollConfigs_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
#define DEFINE_FWK_MODULE(type)
TrigObjTnPSource & operator=(const TrigObjTnPSource &)=delete
edm::TriggerNames const & triggerNames(edm::TriggerResults const &triggerResults) const override
static edm::ParameterSetDescription makePSetDescription()
void dqmAnalyze(const edm::Event &, const edm::EventSetup &, const std::vector< TrigObjTnPHistColl > &) const override
void bookHistograms(DQMStore::IBooker &, const edm::Run &, const edm::EventSetup &, std::vector< TrigObjTnPHistColl > &) const override
edm::EDGetTokenT< edm::TriggerResults > trigResultsToken_
~TrigObjTnPSource() override=default
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void dqmBeginRun(const edm::Run &, const edm::EventSetup &, std::vector< TrigObjTnPHistColl > &) const override
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
d'tor
void add(std::string const &label, ParameterSetDescription const &psetDescription)
tuple config
parse the configuration file
edm::EDGetTokenT< trigger::TriggerEvent > trigEvtToken_