Skip to content

Commit

Permalink
Merge pull request #12265 from matz-e/fix-fed-raw-dump
Browse files Browse the repository at this point in the history
Add a consume to fix DumpFedRawDataProduct from crashing.
  • Loading branch information
cmsbuild committed Nov 5, 2015
2 parents a815b09 + f79ae03 commit fac89dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions DataFormats/FEDRawData/test/DumpFEDRawDataProduct.cc
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 fac89dd

Please sign in to comment.