Skip to content

Commit

Permalink
Making modifications requested by Thomas
Browse files Browse the repository at this point in the history
  • Loading branch information
bachtis committed Dec 16, 2013
1 parent 98714d0 commit 141561b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions RecoMuon/GlobalMuonProducer/src/GlobalMuonProducer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ GlobalMuonProducer::GlobalMuonProducer(const ParameterSet& parameterSet) {
// STA Muon Collection Label
theSTACollectionLabel = parameterSet.getParameter<InputTag>("MuonCollectionLabel");
staMuonsToken=consumes<reco::TrackCollection>(parameterSet.getParameter<InputTag>("MuonCollectionLabel"));
staMuonsTrajToken=consumes<std::vector<Trajectory> >(parameterSet.getParameter<InputTag>("MuonCollectionLabel"));
staAssoMapToken=consumes<TrajTrackAssociationCollection>(parameterSet.getParameter<InputTag>("MuonCollectionLabel"));
updatedStaAssoMapToken=consumes<reco::TrackToTrackMap>(parameterSet.getParameter<InputTag>("MuonCollectionLabel"));
staMuonsTrajToken=consumes<std::vector<Trajectory> >(parameterSet.getParameter<InputTag>("MuonCollectionLabel").label());
staAssoMapToken=consumes<TrajTrackAssociationCollection>(parameterSet.getParameter<InputTag>("MuonCollectionLabel").label());
updatedStaAssoMapToken=consumes<reco::TrackToTrackMap>(parameterSet.getParameter<InputTag>("MuonCollectionLabel").label());



Expand Down
2 changes: 1 addition & 1 deletion RecoMuon/GlobalMuonProducer/src/TevMuonProducer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ TevMuonProducer::TevMuonProducer(const ParameterSet& parameterSet) {
// GLB Muon Collection Label
theGLBCollectionLabel = parameterSet.getParameter<InputTag>("MuonCollectionLabel");
glbMuonsToken=consumes<reco::TrackCollection>(theGLBCollectionLabel);
glbMuonsTrajToken=consumes<std::vector<Trajectory> >(theGLBCollectionLabel);
glbMuonsTrajToken=consumes<std::vector<Trajectory> >(theGLBCollectionLabel.label());

// service parameters
ParameterSet serviceParameters = parameterSet.getParameter<ParameterSet>("ServiceParameters");
Expand Down
1 change: 0 additions & 1 deletion RecoMuon/MuonIdentification/src/MuonIdTruthInfo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ void MuonIdTruthInfo::truthMatchMuon(const edm::Event& iEvent,
const edm::EventSetup& iSetup,
reco::Muon& aMuon)
{
printf("DONT FORGET TO CALL REGISTERCONSUMES()\n");
// get a list of simulated track and find a track with the best match to
// the muon.track(). Use its id and chamber id to localize hits
// If a hit has non-zero local z coordinate, it's position wrt
Expand Down

0 comments on commit 141561b

Please sign in to comment.