Skip to content

Commit

Permalink
Add a consume to fix DumpFedRawDataProduct from crashing.
Browse files Browse the repository at this point in the history
  • Loading branch information
matz-e committed Nov 5, 2015
1 parent d2306ba commit f79ae03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions DataFormats/FEDRawData/test/DumpFEDRawDataProduct.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ namespace test{
DumpFEDRawDataProduct(const ParameterSet& pset){
std::vector<int> ids;
label_ = pset.getUntrackedParameter<std::string>("label","source");
consumes<FEDRawDataCollection>(label_);
ids=pset.getUntrackedParameter<std::vector<int> >("feds",std::vector<int>());
dumpPayload_=pset.getUntrackedParameter<bool>("dumpPayload",false);
for (std::vector<int>::iterator i=ids.begin(); i!=ids.end(); i++)
Expand Down

0 comments on commit f79ae03

Please sign in to comment.