Skip to content

Commit

Permalink
trying to track down all instances of DigiSimLinks
Browse files Browse the repository at this point in the history
  • Loading branch information
mdhildreth committed Sep 11, 2015
1 parent 04f0a54 commit 45af043
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
ThreeHitTracksAreSpecial = cms.bool(True),
associatePixel = cms.bool(True),
associateStrip = cms.bool(True),
pixelSimLinkSrc = cms.InputTag("simSiPixelDigis"),
stripSimLinkSrc = cms.InputTag("simSiStripDigis"),
useClusterTPAssociation = cms.bool(True),
cluster2TPSrc = cms.InputTag("tpClusterProducer")
)
4 changes: 2 additions & 2 deletions SimTracker/TrackerHitAssociation/src/TrackerHitAssociator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ TrackerHitAssociator::Config::Config(const edm::ParameterSet& conf, edm::Consume
doTrackAssoc_( conf.getParameter<bool>("associateRecoTracks") ),
assocHitbySimTrack_(conf.existsAs<bool>("associateHitbySimTrack") ? conf.getParameter<bool>("associateHitbySimTrack") : false) {

if(doStrip_) stripToken_ = iC.consumes<edm::DetSetVector<StripDigiSimLink> >(edm::InputTag("simSiStripDigis"));
if(doPixel_) pixelToken_ = iC.consumes<edm::DetSetVector<PixelDigiSimLink> >(edm::InputTag("simSiPixelDigis"));
if(doStrip_) stripToken_ = iC.consumes<edm::DetSetVector<StripDigiSimLink> >(conf.getParameter<edm::InputTag>("stripSimLinkSrc"));
if(doPixel_) pixelToken_ = iC.consumes<edm::DetSetVector<PixelDigiSimLink> >(conf.getParameter<edm::InputTag>("pixelSimLinkSrc"));
if(!doTrackAssoc_) {
std::vector<std::string> trackerContainers(conf.getParameter<std::vector<std::string> >("ROUList"));
cfTokens_.reserve(trackerContainers.size());
Expand Down

0 comments on commit 45af043

Please sign in to comment.