Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:24:58

0001 import FWCore.ParameterSet.Config as cms
0002 from RecoEgamma.EgammaIsolationAlgos.egammaHBHERecHitThreshold_cff import egammaHBHERecHit
0003 #from RecoEgamma.EgammaTools.PhotonConversionMVAComputer_cfi import *
0004 #
0005 #  configuration for producer of converted photons
0006 #  
0007 #
0008 conversions = cms.EDProducer("ConvertedPhotonProducer",
0009     scHybridBarrelProducer = cms.InputTag('particleFlowSuperClusterECAL:particleFlowSuperClusterECALBarrel'),
0010     scIslandEndcapProducer = cms.InputTag('particleFlowSuperClusterECAL:particleFlowSuperClusterECALEndcapWithPreshower'),
0011     bcEndcapCollection = cms.InputTag('particleFlowSuperClusterECAL:particleFlowBasicClusterECALEndcap'),
0012     bcBarrelCollection = cms.InputTag('particleFlowSuperClusterECAL:particleFlowBasicClusterECALBarrel'),
0013     conversionIOTrackProducer = cms.string('ckfInOutTracksFromConversions'),
0014     outInTrackCollection = cms.string(''),
0015     conversionOITrackProducer = cms.string('ckfOutInTracksFromConversions'),
0016     inOutTrackCollection = cms.string(''),
0017     inOutTrackSCAssociation = cms.string('inOutTrackSCAssociationCollection'),
0018     outInTrackSCAssociation = cms.string('outInTrackSCAssociationCollection'),
0019     convertedPhotonCollection = cms.string('uncleanedConversions'),
0020     generalTracksSrc = cms.InputTag("generalTracks"),
0021     cleanedConvertedPhotonCollection = cms.string(''),
0022     AlgorithmName = cms.string('ecalSeeded'),
0023     minSCEt = cms.double(20.0),
0024     hOverEConeSize = cms.double(0.15),
0025     hbheRecHits = egammaHBHERecHit.hbheRecHits,
0026     recHitEThresholdHB = egammaHBHERecHit.recHitEThresholdHB,
0027     recHitEThresholdHE = egammaHBHERecHit.recHitEThresholdHE,
0028     usePFThresholdsFromDB = egammaHBHERecHit.usePFThresholdsFromDB,
0029     maxHcalRecHitSeverity = egammaHBHERecHit.maxHcalRecHitSeverity,
0030     maxHOverE = cms.double(0.15),
0031     recoverOneTrackCase = cms.bool(True),
0032     dRForConversionRecovery = cms.double(0.3),
0033     deltaCotCut = cms.double(0.05),
0034     minApproachDisCut  = cms.double(0.),
0035     maxNumOfCandidates = cms.int32(3),
0036     risolveConversionAmbiguity = cms.bool(True),
0037     maxDelta = cms.double(0.01),#delta of parameters
0038     maxReducedChiSq = cms.double(225.),#maximum chi^2 per degree of freedom before fit is terminated
0039     minChiSqImprovement = cms.double(50.),#threshold for "significant improvement" in the fit termination logic
0040     maxNbrOfIterations = cms.int32(40), #maximum number of convergence iterations
0041     MVA_weights_location = cms.string('RecoEgamma/EgammaTools/data/TMVAnalysis_Likelihood.weights.txt')
0042 #    MVA_weights_location = cms.string('RecoEgamma/EgammaTools/data/TMVAnalysis_Likelihood.weights.xml')
0043 
0044  )
0045