import FWCore.ParameterSet.Config as cms

particleFlowRecHitHGC = cms.EDProducer("PFRecHitProducer",
    navigator = cms.PSet(        
        name = cms.string("PFRecHitHGCNavigator"),
        hgcee = cms.PSet(
            name = cms.string("PFRecHitHGCEENavigator"),
            topologySource = cms.string("HGCalEESensitive")
            ),
        hgchef = cms.PSet(
            name = cms.string("PFRecHitHGCHENavigator"),
            topologySource = cms.string("HGCalHESiliconSensitive"),
            ),
        hgcheb = cms.PSet(
            name = cms.string("PFRecHitHGCHENavigator"),
            topologySource = cms.string("HGCalHEScintillatorSensitive"),
            )
    ),
    producers = cms.VPSet(
           cms.PSet(
             name = cms.string("PFHGCalEERecHitCreator"),
             src  = cms.InputTag("HGCalRecHit:HGCEERecHits"),
             geometryInstance = cms.string("HGCalEESensitive"),
             qualityTests = cms.VPSet(
# Enabling PFRecHitQTestHGCalThresholdSNR will filter out of the PFRecHits, all the HGCRecHits with energy not exceeding
# 5 sigma noise                 
                cms.PSet(
                    name = cms.string("PFRecHitQTestHGCalThresholdSNR"),
                    thresholdSNR = cms.double(5.0),
                   ),
                )              
           ),
           cms.PSet(
             name = cms.string("PFHGCalHSiRecHitCreator"),
             src  = cms.InputTag("HGCalRecHit:HGCHEFRecHits"),
             geometryInstance = cms.string("HGCalHESiliconSensitive"),
             qualityTests = cms.VPSet(
# Enabling PFRecHitQTestHGCalThresholdSNR will filter out of the PFRecHits, all the HGCRecHits with energy not exceeding
# 5 sigma noise                     
                cms.PSet(
                    name = cms.string("PFRecHitQTestHGCalThresholdSNR"),
                    thresholdSNR = cms.double(5.0),
                   ),                 
                )
           ),
           cms.PSet(
             name = cms.string("PFHGCalHScRecHitCreator"),
             src  = cms.InputTag("HGCalRecHit:HGCHEBRecHits"),
             geometryInstance = cms.string(""),
             qualityTests = cms.VPSet(
# Enabling PFRecHitQTestHGCalThresholdSNR will filter out of the PFRecHits, all the HGCRecHits with energy not exceeding
# 5 sigma noise                     
                cms.PSet(
                    name = cms.string("PFRecHitQTestHGCalThresholdSNR"),
                    thresholdSNR = cms.double(5.0),
                   ),                 
                )
           )
    )          
)
