diff --git a/SimGeneral/MixingModule/plugins/MixingModule.cc b/SimGeneral/MixingModule/plugins/MixingModule.cc index 9e8c3e2067068..0136383cc0830 100644 --- a/SimGeneral/MixingModule/plugins/MixingModule.cc +++ b/SimGeneral/MixingModule/plugins/MixingModule.cc @@ -33,6 +33,7 @@ #include "SimGeneral/MixingModule/interface/DigiAccumulatorMixMod.h" #include "SimGeneral/MixingModule/interface/DigiAccumulatorMixModFactory.h" #include "SimGeneral/MixingModule/interface/PileUpEventPrincipal.h" +#include "DataFormats/Common/interface/ValueMap.h" namespace edm { @@ -103,8 +104,10 @@ namespace edm { branchesActivate(TypeID(typeid(std::vector)).friendlyClassName(),std::string(""),tag,label); branchesActivate(TypeID(typeid(std::vector)).friendlyClassName(),std::string(""),tag,label); branchesActivate(TypeID(typeid(edm::OwnVector >)).friendlyClassName(),std::string(""),tag,label); + InputTag mvatag(tag.label(),"MVAVals"); + branchesActivate(TypeID(typeid(edm::ValueMap)).friendlyClassName(),std::string(""),mvatag,label); // note: no crossing frame is foreseen to be used for this object type - + LogInfo("MixingModule") <<"Will mix "<