test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
conversions_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
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  hcalTowers = cms.InputTag("towerMaker"),
22  cleanedConvertedPhotonCollection = cms.string(''),
23  AlgorithmName = cms.string('ecalSeeded'),
24  minSCEt = cms.double(20.0),
25  hOverEConeSize = cms.double(0.15),
26  maxHOverE = cms.double(0.15),
27  recoverOneTrackCase = cms.bool(True),
28  dRForConversionRecovery = cms.double(0.3),
29  deltaCotCut = cms.double(0.05),
30  minApproachDisCut = cms.double(0.),
31  maxNumOfCandidates = cms.int32(3),
32  risolveConversionAmbiguity = cms.bool(True),
33  maxDelta = cms.double(0.01),#delta of parameters
34  maxReducedChiSq = cms.double(225.),#maximum chi^2 per degree of freedom before fit is terminated
35  minChiSqImprovement = cms.double(50.),#threshold for "significant improvement" in the fit termination logic
36  maxNbrOfIterations = cms.int32(40), #maximum number of convergence iterations
37  MVA_weights_location = cms.string('RecoEgamma/EgammaTools/data/TMVAnalysis_Likelihood.weights.txt')
38 # MVA_weights_location = cms.string('RecoEgamma/EgammaTools/data/TMVAnalysis_Likelihood.weights.xml')
39 
40  )
41