Skip to content

Commit c4e7e81

Browse files
committed
loose cms type specs and add hitMap comment
1 parent 0db87c6 commit c4e7e81

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

RecoLocalCalo/HGCalRecProducers/plugins/RecHitMapProducer.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ void RecHitMapProducer::produce(edm::StreamID, edm::Event& evt, const edm::Event
7373
return;
7474
}
7575

76+
// TODO may be worth to avoid dependency on the order
77+
// of the collections, maybe using a map
7678
MultiVectorManager<HGCRecHit> rechitManager;
7779
rechitManager.addVector(*ee_hits);
7880
rechitManager.addVector(*fh_hits);

RecoLocalCalo/HGCalRecProducers/python/recHitMapProducer_cff.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
"particleFlowRecHitHBHE"]
1212

1313
from Configuration.ProcessModifiers.ticl_barrel_cff import ticl_barrel
14-
ticl_barrel.toModify(recHitMapProducer, hits = hits, hgcalOnly = cms.bool(False))
14+
ticl_barrel.toModify(recHitMapProducer, hits = hits, hgcalOnly = False)

Validation/Configuration/python/hltHGCalSimValid_cff.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
hits = ["hltHGCalRecHit:HGCEERecHits", "hltHGCalRecHit:HGCHEFRecHits", "hltHGCalRecHit:HGCHEBRecHits"]
1717
hltRecHitMapProducer = _recHitMapProducer.clone(
1818
hits = hits,
19-
hgcalOnly = cms.bool(True),
19+
hgcalOnly = True,
2020
)
2121

2222
hltLcAssocByEnergyScoreProducer = _lcAssocByEnergyScoreProducer.clone(

0 commit comments

Comments
 (0)