55 : processName_(ps.getParameter<
std::
string>(
"processName")),
56 triggerName_(ps.getParameter<
std::
string>(
"triggerName")),
57 triggerResultsTag_(ps.getParameter<
edm::
InputTag>(
"triggerResults")),
59 triggerEventWithRefsTag_(ps.getParameter<
edm::
InputTag>(
"triggerEventWithRefs")),
60 triggerEventWithRefsToken_(consumes<
trigger::TriggerEventWithRefs>(triggerEventWithRefsTag_)),
61 verbose_(ps.getParameter<
bool>(
"verbose")),
62 permissive_(ps.getParameter<
bool>(
"permissive")) {
77 ->setComment(
"name of trigger Path to consider (use \"@\" to consider all Paths)");
80 desc.add<
bool>(
"verbose",
false)->setComment(
"enable verbose mode");
81 desc.add<
bool>(
"permissive",
false)
82 ->setComment(
"if true, exceptions due to Refs pointing to unavailable collections are bypassed");
83 descriptions.
add(
"hltEventAnalyzerRAW",
desc);
94 if (triggerIndex >=
n) {
96 <<
" not available in (new) config!";
136 for (
unsigned int i = 0;
i !=
n; ++
i) {
154 if (triggerIndex >=
n) {
170 assert(
m == moduleLabels.size());
183 LOG(
logMsgType_) <<
" Last active module - label/type: " << moduleLabels[moduleIndex] <<
"/" 184 <<
hltConfig_.
moduleType(moduleLabels[moduleIndex]) <<
" [" << moduleIndex <<
" out of 0-" << (
m - 1)
252 for (
unsigned int j = 0;
j <= moduleIndex; ++
j) {
256 const unsigned int filterIndex(
258 if (filterIndex < triggerEventWithRefsHandle_->
size()) {
unsigned int index(const unsigned int i) const
Get index (slot position) of module giving the decision of the ith path.
bool accept() const
Has at least one path accepted the event?
const std::string & triggerName(unsigned int triggerIndex) const
trigger::VRl1ttkele l1ttkeleRefs_
trigger::Vids l1tmuonShowerIds_
trigger::Vids compositeIds_
trigger::Vids calometIds_
trigger::Vids l1thpspftauIds_
trigger::Vids l1etmissIds_
bool error() const
Has any path encountered an error (exception)
edm::Handle< edm::TriggerResults > triggerResultsHandle_
bool const verbose_
additional class data members
trigger::VRl1muon l1muonRefs_
trigger::VRl1tmuonShower l1tmuonShowerRefs_
trigger::VRl1ttau l1ttauRefs_
trigger::Vids electronIds_
const edm::InputTag triggerEventWithRefsTag_
void showObject(LOG &log, TREF const &ref) const
trigger::VRl1em l1emRefs_
trigger::Vids l1tegammaIds_
const std::string moduleType(const std::string &module) const
C++ class name of module.
trigger::VRpftau pftauRefs_
void showObjects(TVID const &vids, TVREF const &vrefs, std::string const &name) const
trigger::VRl1tpftrack l1tpftrackRefs_
trigger::VRl1tjet l1tjetRefs_
HLTEventAnalyzerRAW(const edm::ParameterSet &)
const edm::InputTag triggerResultsTag_
trigger::VRpfjet pfjetRefs_
bool wasrun() const
Was at least one path run?
trigger::Vids photonIds_
payload extracted from TriggerEventWithRefs
trigger::VRl1jet l1jetRefs_
void beginRun(edm::Run const &, edm::EventSetup const &) override
trigger::Vids l1ttkemIds_
unsigned int size() const
Get number of paths stored.
trigger::VRcomposite compositeRefs_
const std::string processName_
module config parameters
Container::value_type value_type
void dump(const std::string &what) const
Dumping config info to cout.
const edm::EDGetTokenT< trigger::TriggerEventWithRefs > triggerEventWithRefsToken_
trigger::VRphoton photonRefs_
trigger::Vids basemetIds_
unsigned int size() const
number of trigger paths in trigger table
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
size_type filterIndex(const edm::InputTag &filterTag) const
index from tag
HLTConfigProvider hltConfig_
const std::vector< std::string > & moduleLabels(unsigned int trigger) const
label(s) of module(s) on a trigger path
trigger::VRpfmet pfmetRefs_
void analyze(const edm::Event &, const edm::EventSetup &) override
unsigned int triggerIndex(const std::string &triggerName) const
slot position of trigger path in trigger table (0 to size-1)
trigger::VRelectron electronRefs_
trigger::VRl1tegamma l1tegammaRefs_
trigger::Vids l1tpftauIds_
trigger::VRl1tpftau l1tpftauRefs_
const edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken_
trigger::Vids pixtrackIds_
trigger::Vids l1hfringsIds_
trigger::VRl1etmiss l1etmissRefs_
trigger::Vids l1ttkeleIds_
trigger::VRl1tpfjet l1tpfjetRefs_
trigger::VRl1thpspftau l1thpspftauRefs_
edm::Handle< trigger::TriggerEventWithRefs > triggerEventWithRefsHandle_
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
d'tor
trigger::Vids l1tpftrackIds_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
trigger::VRl1hfrings l1hfringsRefs_
trigger::VRcalomet calometRefs_
virtual void analyzeTrigger(const edm::Event &, const edm::EventSetup &, const std::string &triggerName)
trigger::Vids l1tmuonIds_
trigger::VRl1ttkmuon l1ttkmuRefs_
const std::string triggerName_
trigger::VRmuon muonRefs_
trigger::VRl1tmuon l1tmuonRefs_
trigger::VRpixtrack pixtrackRefs_
trigger::Vids l1tpfjetIds_
trigger::VRbasemet basemetRefs_
trigger::VRl1ttkem l1ttkemRefs_
trigger::Vids l1tetsumIds_
trigger::VRl1tetsum l1tetsumRefs_
trigger::Vids l1ttkmuIds_
Phase 2.
void getObjects(size_type filter, Vids &ids, VRphoton &photons) const
extract Ref<C>s for a specific filter and of specific physics type
static constexpr const char * logMsgType_