CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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  maxHcalRecHitSeverity = egammaHBHERecHit.maxHcalRecHitSeverity,
29  maxHOverE = cms.double(0.15),
30  recoverOneTrackCase = cms.bool(True),
31  dRForConversionRecovery = cms.double(0.3),
32  deltaCotCut = cms.double(0.05),
33  minApproachDisCut = cms.double(0.),
34  maxNumOfCandidates = cms.int32(3),
35  risolveConversionAmbiguity = cms.bool(True),
36  maxDelta = cms.double(0.01),#delta of parameters
37  maxReducedChiSq = cms.double(225.),#maximum chi^2 per degree of freedom before fit is terminated
38  minChiSqImprovement = cms.double(50.),#threshold for "significant improvement" in the fit termination logic
39  maxNbrOfIterations = cms.int32(40), #maximum number of convergence iterations
40  MVA_weights_location = cms.string('RecoEgamma/EgammaTools/data/TMVAnalysis_Likelihood.weights.txt')
41 # MVA_weights_location = cms.string('RecoEgamma/EgammaTools/data/TMVAnalysis_Likelihood.weights.xml')
42 
43  )
44