30 pn_(ps.getParameter<
std::
string>(
"processName"))
38 edm::LogError(
"TriggerSummaryProducerRaw") <<
"HLT Error: TriggerNamesService not available!";
43 LogDebug(
"TriggerSummaryProducerRaw") <<
"Using process name: '" <<
pn_ <<
"'";
44 produces<trigger::TriggerEventWithRefs>();
49 callWhenNewProductsRegistered(getterOfProducts_);
61 descriptions.
add(
"triggerSummaryProducerRAW", desc);
73 std::vector<edm::Handle<trigger::TriggerFilterObjectWithRefs> > fobs;
76 const unsigned int nfob(fobs.size());
77 LogDebug(
"TriggerSummaryProducerRaw") <<
"Number of filter objects found: " << nfob;
81 for (
unsigned int ifob=0; ifob!=nfob; ++ifob) {
82 const string&
label (fobs[ifob].provenance()->moduleLabel());
83 const string&
instance (fobs[ifob].provenance()->productInstanceName());
86 LogTrace(
"TriggerSummaryProducerRaw")
87 << ifob <<
" " << tag << endl
89 <<
" 1/" << fobs[ifob]->photonSize()
90 <<
" 2/" << fobs[ifob]->electronSize()
91 <<
" 3/" << fobs[ifob]->muonSize()
92 <<
" 4/" << fobs[ifob]->jetSize()
93 <<
" 5/" << fobs[ifob]->compositeSize()
94 <<
" 6/" << fobs[ifob]->basemetSize()
95 <<
" 7/" << fobs[ifob]->calometSize()
97 <<
" 8/" << fobs[ifob]->pixtrackSize()
98 <<
" 9/" << fobs[ifob]->l1emSize()
99 <<
" A/" << fobs[ifob]->l1muonSize()
100 <<
" B/" << fobs[ifob]->l1jetSize()
101 <<
" C/" << fobs[ifob]->l1etmissSize()
102 <<
" D/" << fobs[ifob]->l1hfringsSize()
103 <<
" E/" << fobs[ifob]->pfjetSize()
104 <<
" F/" << fobs[ifob]->pftauSize()
105 <<
" G/" << fobs[ifob]->pfmetSize()
106 <<
" I/" << fobs[ifob]->l1tmuonSize()
107 <<
" J/" << fobs[ifob]->l1tegammaSize()
108 <<
" K/" << fobs[ifob]->l1tjetSize()
109 <<
" L/" << fobs[ifob]->l1ttauSize()
110 <<
" M/" << fobs[ifob]->l1tetsumSize()
112 LogTrace(
"TriggerSummaryProducerRaw") <<
"TriggerSummaryProducerRaw::addFilterObjects( )" 113 <<
"\n fobs[ifob]->l1tmuonIds().size() = " << fobs[ifob]->l1tmuonIds().size()
114 <<
"\n fobs[ifob]->l1tmuonRefs().size() = " << fobs[ifob]->l1tmuonRefs().size() << endl;
115 LogTrace(
"TriggerSummaryProducerRaw") <<
"TriggerSummaryProducerRaw::addFilterObjects( )" 116 <<
"\n fobs[ifob]->l1tegammaIds().size() = " << fobs[ifob]->l1tegammaIds().size()
117 <<
"\n fobs[ifob]->l1tegammaRefs().size() = " << fobs[ifob]->l1tegammaRefs().size() << endl;
118 LogTrace(
"TriggerSummaryProducerRaw") <<
"TriggerSummaryProducerRaw::addFilterObjects( )" 119 <<
"\n fobs[ifob]->l1tjetIds().size() = " << fobs[ifob]->l1tjetIds().size()
120 <<
"\n fobs[ifob]->l1tjetRefs().size() = " << fobs[ifob]->l1tjetRefs().size() << endl;
121 LogTrace(
"TriggerSummaryProducerRaw") <<
"TriggerSummaryProducerRaw::addFilterObjects( )" 122 <<
"\n fobs[ifob]->l1ttauIds().size() = " << fobs[ifob]->l1ttauIds().size()
123 <<
"\n fobs[ifob]->l1ttauRefs().size() = " << fobs[ifob]->l1ttauRefs().size() << endl;
124 LogTrace(
"TriggerSummaryProducerRaw") <<
"TriggerSummaryProducerRaw::addFilterObjects( )" 125 <<
"\n fobs[ifob]->l1tetsumIds().size() = " << fobs[ifob]->l1tetsumIds().size()
126 <<
"\n fobs[ifob]->l1tetsumRefs().size() = " << fobs[ifob]->l1tetsumRefs().size() << endl;
127 product->addFilterObject(tag,*fobs[ifob]);
132 LogTrace(
"TriggerSummaryProducerRaw") <<
"Number of filter objects packed: " << ref->
size();
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
std::string const & getProcessName() const
static PFTauRenderPlugin instance
edm::GetterOfProducts< trigger::TriggerFilterObjectWithRefs > getterOfProducts_
TriggerSummaryProducerRAW(const edm::ParameterSet &)
~TriggerSummaryProducerRAW() override
ParameterDescriptionBase * add(U const &iLabel, T const &value)
std::string pn_
process name
size_type size() const
number of filters
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void fillHandles(edm::Event const &event, std::vector< edm::Handle< T > > &handles) const
void produce(edm::Event &, const edm::EventSetup &) override