Skip to content

Commit

Permalink
Merge pull request #8608 from lveldere/fastsim-digirecomix-activebran…
Browse files Browse the repository at this point in the history
…ches

FastSim: MixingModule: activate correct branches for PU mixing
  • Loading branch information
cmsbuild committed Apr 2, 2015
2 parents cae94be + a0e8bfd commit 006aebb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion SimGeneral/MixingModule/plugins/MixingModule.cc
Expand Up @@ -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 {

Expand Down Expand Up @@ -103,8 +104,10 @@ namespace edm {
branchesActivate(TypeID(typeid(std::vector<reco::Track>)).friendlyClassName(),std::string(""),tag,label);
branchesActivate(TypeID(typeid(std::vector<reco::TrackExtra>)).friendlyClassName(),std::string(""),tag,label);
branchesActivate(TypeID(typeid(edm::OwnVector<TrackingRecHit,edm::ClonePolicy<TrackingRecHit> >)).friendlyClassName(),std::string(""),tag,label);
InputTag mvatag(tag.label(),"MVAVals");
branchesActivate(TypeID(typeid(edm::ValueMap<float>)).friendlyClassName(),std::string(""),mvatag,label);
// note: no crossing frame is foreseen to be used for this object type

LogInfo("MixingModule") <<"Will mix "<<object<<"s with InputTag= "<<tag.encode()<<", label will be "<<label;
//std::cout <<"Will mix "<<object<<"s with InputTag= "<<tag.encode()<<", label will be "<<label<<std::endl;

Expand Down

0 comments on commit 006aebb

Please sign in to comment.