CMS 3D CMS Logo

conversions_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from RecoEgamma.EgammaIsolationAlgos.egammaHBHERecHitThreshold_cff import egammaHBHERecHit
3 #from RecoEgamma.EgammaTools.PhotonConversionMVAComputer_cfi import *
4 #
5 # configuration for producer of converted photons
6 #
7 #
8 conversions = cms.EDProducer("ConvertedPhotonProducer",
9  scHybridBarrelProducer = cms.InputTag('particleFlowSuperClusterECAL:particleFlowSuperClusterECALBarrel'),
10  scIslandEndcapProducer = cms.InputTag('particleFlowSuperClusterECAL:particleFlowSuperClusterECALEndcapWithPreshower'),
11  bcEndcapCollection = cms.InputTag('particleFlowSuperClusterECAL:particleFlowBasicClusterECALEndcap'),
12  bcBarrelCollection = cms.InputTag('particleFlowSuperClusterECAL:particleFlowBasicClusterECALBarrel'),
13  conversionIOTrackProducer = cms.string('ckfInOutTracksFromConversions'),
14  outInTrackCollection = cms.string(''),
15  conversionOITrackProducer = cms.string('ckfOutInTracksFromConversions'),
16  inOutTrackCollection = cms.string(''),
17  inOutTrackSCAssociation = cms.string('inOutTrackSCAssociationCollection'),
18  outInTrackSCAssociation = cms.string('outInTrackSCAssociationCollection'),
19  convertedPhotonCollection = cms.string('uncleanedConversions'),
20  generalTracksSrc = cms.InputTag("generalTracks"),
21  cleanedConvertedPhotonCollection = cms.string(''),
22  AlgorithmName = cms.string('ecalSeeded'),
23  minSCEt = cms.double(20.0),
24  hOverEConeSize = cms.double(0.15),
25  hbheRecHits = egammaHBHERecHit.hbheRecHits,
26  recHitEThresholdHB = egammaHBHERecHit.recHitEThresholdHB,
27  recHitEThresholdHE = egammaHBHERecHit.recHitEThresholdHE,
28  usePFThresholdsFromDB = egammaHBHERecHit.usePFThresholdsFromDB,
29  maxHcalRecHitSeverity = egammaHBHERecHit.maxHcalRecHitSeverity,
30  maxHOverE = cms.double(0.15),
31  recoverOneTrackCase = cms.bool(True),
32  dRForConversionRecovery = cms.double(0.3),
33  deltaCotCut = cms.double(0.05),
34  minApproachDisCut = cms.double(0.),
35  maxNumOfCandidates = cms.int32(3),
36  risolveConversionAmbiguity = cms.bool(True),
37  maxDelta = cms.double(0.01),#delta of parameters
38  maxReducedChiSq = cms.double(225.),#maximum chi^2 per degree of freedom before fit is terminated
39  minChiSqImprovement = cms.double(50.),#threshold for "significant improvement" in the fit termination logic
40  maxNbrOfIterations = cms.int32(40), #maximum number of convergence iterations
41  MVA_weights_location = cms.string('RecoEgamma/EgammaTools/data/TMVAnalysis_Likelihood.weights.txt')
42 # MVA_weights_location = cms.string('RecoEgamma/EgammaTools/data/TMVAnalysis_Likelihood.weights.xml')
43 
44  )
45