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>();
63 descriptions.
add(
"triggerSummaryProducerRAW", desc);
73 using namespace trigger;
75 std::vector<edm::Handle<trigger::TriggerFilterObjectWithRefs> > fobs;
78 const unsigned int nfob(fobs.size());
79 LogDebug(
"TriggerSummaryProducerRaw") <<
"Number of filter objects found: " << nfob;
83 for (
unsigned int ifob=0; ifob!=nfob; ++ifob) {
84 const string&
label (fobs[ifob].provenance()->moduleLabel());
85 const string&
instance (fobs[ifob].provenance()->productInstanceName());
88 LogTrace(
"TriggerSummaryProducerRaw")
89 << ifob <<
" " << tag << endl
91 <<
" 1/" << fobs[ifob]->photonSize()
92 <<
" 2/" << fobs[ifob]->electronSize()
93 <<
" 3/" << fobs[ifob]->muonSize()
94 <<
" 4/" << fobs[ifob]->jetSize()
95 <<
" 5/" << fobs[ifob]->compositeSize()
96 <<
" 6/" << fobs[ifob]->basemetSize()
97 <<
" 7/" << fobs[ifob]->calometSize()
99 <<
" 8/" << fobs[ifob]->pixtrackSize()
100 <<
" 9/" << fobs[ifob]->l1emSize()
101 <<
" A/" << fobs[ifob]->l1muonSize()
102 <<
" B/" << fobs[ifob]->l1jetSize()
103 <<
" C/" << fobs[ifob]->l1etmissSize()
104 <<
" D/" << fobs[ifob]->l1hfringsSize()
105 <<
" E/" << fobs[ifob]->pfjetSize()
106 <<
" F/" << fobs[ifob]->pftauSize()
107 <<
" G/" << fobs[ifob]->pfmetSize()
108 <<
" I/" << fobs[ifob]->l1tmuonSize()
109 <<
" J/" << fobs[ifob]->l1tegammaSize()
110 <<
" K/" << fobs[ifob]->l1tjetSize()
111 <<
" L/" << fobs[ifob]->l1ttauSize()
112 <<
" M/" << fobs[ifob]->l1tetsumSize()
114 LogTrace(
"TriggerSummaryProducerRaw") <<
"TriggerSummaryProducerRaw::addFilterObjects( )"
115 <<
"\n fobs[ifob]->l1tmuonIds().size() = " << fobs[ifob]->l1tmuonIds().size()
116 <<
"\n fobs[ifob]->l1tmuonRefs().size() = " << fobs[ifob]->l1tmuonRefs().size() << endl;
117 LogTrace(
"TriggerSummaryProducerRaw") <<
"TriggerSummaryProducerRaw::addFilterObjects( )"
118 <<
"\n fobs[ifob]->l1tegammaIds().size() = " << fobs[ifob]->l1tegammaIds().size()
119 <<
"\n fobs[ifob]->l1tegammaRefs().size() = " << fobs[ifob]->l1tegammaRefs().size() << endl;
120 LogTrace(
"TriggerSummaryProducerRaw") <<
"TriggerSummaryProducerRaw::addFilterObjects( )"
121 <<
"\n fobs[ifob]->l1tjetIds().size() = " << fobs[ifob]->l1tjetIds().size()
122 <<
"\n fobs[ifob]->l1tjetRefs().size() = " << fobs[ifob]->l1tjetRefs().size() << endl;
123 LogTrace(
"TriggerSummaryProducerRaw") <<
"TriggerSummaryProducerRaw::addFilterObjects( )"
124 <<
"\n fobs[ifob]->l1ttauIds().size() = " << fobs[ifob]->l1ttauIds().size()
125 <<
"\n fobs[ifob]->l1ttauRefs().size() = " << fobs[ifob]->l1ttauRefs().size() << endl;
126 LogTrace(
"TriggerSummaryProducerRaw") <<
"TriggerSummaryProducerRaw::addFilterObjects( )"
127 <<
"\n fobs[ifob]->l1tetsumIds().size() = " << fobs[ifob]->l1tetsumIds().size()
128 <<
"\n fobs[ifob]->l1tetsumRefs().size() = " << fobs[ifob]->l1tetsumRefs().size() << endl;
129 product->addFilterObject(tag,*fobs[ifob]);
134 LogTrace(
"TriggerSummaryProducerRaw") <<
"Number of filter objects packed: " << ref->size();
void callWhenNewProductsRegistered(std::function< void(BranchDescription const &)> const &func)
virtual ~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.
ParameterDescriptionBase * add(U const &iLabel, T const &value)
std::string pn_
process name
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
virtual void produce(edm::Event &, const edm::EventSetup &) override