31 pn_(ps.getParameter<std::
string>(
"processName"))
39 edm::LogError(
"TriggerSummaryProducerRaw") <<
"HLT Error: TriggerNamesService not available!";
44 LogDebug(
"TriggerSummaryProducerRaw") <<
"Using process name: '" <<
pn_ <<
"'";
45 produces<trigger::TriggerEventWithRefs>();
68 using namespace trigger;
70 std::vector<edm::Handle<trigger::TriggerFilterObjectWithRefs> > fobs;
73 const unsigned int nfob(fobs.size());
74 LogDebug(
"TriggerSummaryProducerRaw") <<
"Number of filter objects found: " << nfob;
78 for (
unsigned int ifob=0; ifob!=nfob; ++ifob) {
79 const string&
label (fobs[ifob].provenance()->moduleLabel());
80 const string&
instance (fobs[ifob].provenance()->productInstanceName());
81 const string&
process (fobs[ifob].provenance()->processName());
83 LogTrace(
"TriggerSummaryProducerRaw")
84 << ifob <<
" " << tag << endl
86 <<
" 1/" << fobs[ifob]->photonSize()
87 <<
" 2/" << fobs[ifob]->electronSize()
88 <<
" 3/" << fobs[ifob]->muonSize()
89 <<
" 4/" << fobs[ifob]->jetSize()
90 <<
" 5/" << fobs[ifob]->compositeSize()
91 <<
" 6/" << fobs[ifob]->basemetSize()
92 <<
" 7/" << fobs[ifob]->calometSize()
94 <<
" 8/" << fobs[ifob]->pixtrackSize()
95 <<
" 9/" << fobs[ifob]->l1emSize()
96 <<
" A/" << fobs[ifob]->l1muonSize()
97 <<
" B/" << fobs[ifob]->l1jetSize()
98 <<
" C/" << fobs[ifob]->l1etmissSize()
99 <<
" D/" << fobs[ifob]->l1hfringsSize()
100 <<
" E/" << fobs[ifob]->pfjetSize()
101 <<
" F/" << fobs[ifob]->pftauSize()
103 product->addFilterObject(tag,*fobs[ifob]);
108 LogTrace(
"TriggerSummaryProducerRaw") <<
"Number of filter objects packed: " << ref->size();
void callWhenNewProductsRegistered(std::function< void(BranchDescription const &)> const &func)
~TriggerSummaryProducerRAW()
std::string const & getProcessName() const
static PFTauRenderPlugin instance
edm::GetterOfProducts< trigger::TriggerFilterObjectWithRefs > getterOfProducts_
TriggerSummaryProducerRAW(const edm::ParameterSet &)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
std::string pn_
process name
virtual void produce(edm::Event &, const edm::EventSetup &)
void fillHandles(edm::Event const &event, std::vector< edm::Handle< T > > &handles) const