CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch2/src/RecoEgamma/EgammaElectronProducers/python/gsfElectrons_cfi.py

Go to the documentation of this file.
00001 
00002 import FWCore.ParameterSet.Config as cms
00003 
00004 #==============================================================================
00005 # Producer of transient ecal driven gsf electrons
00006 #==============================================================================
00007 
00008 ecalDrivenGsfElectrons = cms.EDProducer("GsfElectronEcalDrivenProducer",
00009 
00010     # input collections
00011     previousGsfElectronsTag = cms.InputTag(""),
00012     pflowGsfElectronsTag = cms.InputTag(""),
00013     gsfElectronCoresTag = cms.InputTag("ecalDrivenGsfElectronCores"),
00014     barrelRecHitCollectionTag = cms.InputTag("ecalRecHit","EcalRecHitsEB"),
00015     endcapRecHitCollectionTag = cms.InputTag("ecalRecHit","EcalRecHitsEE"),
00016     hcalTowers = cms.InputTag("towerMaker"),
00017     pfMvaTag =  cms.InputTag(""),
00018     seedsTag = cms.InputTag("ecalDrivenElectronSeeds"),
00019     beamSpotTag = cms.InputTag("offlineBeamSpot"),
00020     gsfPfRecTracksTag = cms.InputTag("pfTrackElec"),
00021     
00022     # backward compatibility mechanism for ctf tracks
00023     ctfTracksCheck = cms.bool(True),
00024     ctfTracksTag = cms.InputTag("generalTracks"),
00025     
00026     # steering
00027     useGsfPfRecTracks = cms.bool(True),
00028     applyPreselection = cms.bool(False),
00029     applyEcalEnergyCorrection = cms.bool(True),
00030     applyAmbResolution = cms.bool(False),
00031     ambSortingStrategy = cms.uint32(1),
00032     ambClustersOverlapStrategy = cms.uint32(1),
00033     addPflowElectrons = cms.bool(True), # this one should be transfered to the "core" level
00034     
00035     # preselection parameters (ecal driven electrons)
00036     minSCEtBarrel = cms.double(4.0),
00037     minSCEtEndcaps = cms.double(4.0),
00038     minEOverPBarrel = cms.double(0.0),
00039     maxEOverPBarrel = cms.double(999999999.),
00040     minEOverPEndcaps = cms.double(0.0),
00041     maxEOverPEndcaps = cms.double(999999999.),
00042     maxDeltaEtaBarrel = cms.double(0.02),
00043     maxDeltaEtaEndcaps = cms.double(0.02),
00044     maxDeltaPhiBarrel = cms.double(0.15),
00045     maxDeltaPhiEndcaps = cms.double(0.15),
00046     #useHcalTowers = cms.bool(True),
00047     #useHcalRecHits = cms.bool(False),
00048     hOverEConeSize = cms.double(0.15),
00049     hOverEPtMin = cms.double(0.),
00050     #maxHOverEDepth1Barrel = cms.double(0.1),
00051     #maxHOverEDepth1Endcaps = cms.double(0.1),
00052     #maxHOverEDepth2 = cms.double(0.1),
00053     maxHOverEBarrel = cms.double(0.15),
00054     maxHOverEEndcaps = cms.double(0.15),
00055     maxHBarrel = cms.double(0.0),
00056     maxHEndcaps = cms.double(0.0),
00057     maxSigmaIetaIetaBarrel = cms.double(999999999.),
00058     maxSigmaIetaIetaEndcaps = cms.double(999999999.),
00059     maxFbremBarrel = cms.double(999999999.),
00060     maxFbremEndcaps = cms.double(999999999.),
00061     isBarrel = cms.bool(False),
00062     isEndcaps = cms.bool(False),
00063     isFiducial = cms.bool(False),
00064     maxTIP = cms.double(999999999.),
00065     seedFromTEC = cms.bool(True),
00066     minMVA = cms.double(-0.4),
00067 
00068     # preselection parameters (tracker driven only electrons)    
00069     minSCEtBarrelPflow = cms.double(0.0),
00070     minSCEtEndcapsPflow = cms.double(0.0),
00071     minEOverPBarrelPflow = cms.double(0.0),
00072     maxEOverPBarrelPflow = cms.double(999999999.),
00073     minEOverPEndcapsPflow = cms.double(0.0),
00074     maxEOverPEndcapsPflow = cms.double(999999999.),
00075     maxDeltaEtaBarrelPflow = cms.double(999999999.),
00076     maxDeltaEtaEndcapsPflow = cms.double(999999999.),
00077     maxDeltaPhiBarrelPflow = cms.double(999999999.),
00078     maxDeltaPhiEndcapsPflow = cms.double(999999999.),
00079     hOverEConeSizePflow = cms.double(0.15),
00080     hOverEPtMinPflow = cms.double(0.),
00081     #maxHOverEDepth1BarrelPflow = cms.double(999999999.),
00082     #maxHOverEDepth1EndcapsPflow = cms.double(999999999.),
00083     #maxHOverEDepth2Pflow = cms.double(999999999.),
00084     maxHOverEBarrelPflow = cms.double(999999999.),
00085     maxHOverEEndcapsPflow = cms.double(999999999.),
00086     maxHBarrelPflow = cms.double(0.0),
00087     maxHEndcapsPflow = cms.double(0.0),
00088     maxSigmaIetaIetaBarrelPflow = cms.double(999999999.),
00089     maxSigmaIetaIetaEndcapsPflow = cms.double(999999999.),
00090     maxFbremBarrelPflow = cms.double(999999999.),
00091     maxFbremEndcapsPflow = cms.double(999999999.),
00092     isBarrelPflow = cms.bool(False),
00093     isEndcapsPflow = cms.bool(False),
00094     isFiducialPflow = cms.bool(False),
00095     maxTIPPflow = cms.double(999999999.),
00096     minMVAPflow = cms.double(-0.4),
00097     
00098     # Isolation algos configuration
00099     intRadiusBarrelTk = cms.double(0.015), 
00100     intRadiusEndcapTk = cms.double(0.015), 
00101     stripBarrelTk = cms.double(0.015), 
00102     stripEndcapTk = cms.double(0.015), 
00103     ptMinTk = cms.double(0.7), 
00104     maxVtxDistTk = cms.double(0.2), 
00105     maxDrbTk = cms.double(999999999.), 
00106     intRadiusHcal = cms.double(0.15),
00107     etMinHcal = cms.double(0.0), 
00108     intRadiusEcalBarrel = cms.double(3.0), 
00109     intRadiusEcalEndcaps = cms.double(3.0), 
00110     jurassicWidth = cms.double(1.5), 
00111     etMinBarrel = cms.double(0.0),
00112     eMinBarrel = cms.double(0.095), 
00113     etMinEndcaps = cms.double(0.110), 
00114     eMinEndcaps = cms.double(0.0),  
00115     vetoClustered  = cms.bool(False),  
00116     useNumCrystals = cms.bool(True),  
00117     severityLevelCut = cms.int32(4),
00118 #    severityRecHitThreshold = cms.double(5.0),
00119 #    spikeIdThreshold = cms.double(0.95),
00120 #    spikeIdString = cms.string('kSwissCrossBordersIncluded'),
00121 
00122     recHitFlagsToBeExcluded = cms.vstring(
00123         'kFaultyHardware',
00124         'kPoorCalib',
00125         'kTowerRecovered',
00126         'kDead'
00127     ),
00128 
00129     
00130     TransientInitialStateEstimatorParameters = cms.PSet(
00131         propagatorAlongTISE = cms.string('PropagatorWithMaterial'),
00132         propagatorOppositeTISE = cms.string('PropagatorWithMaterialOpposite')
00133     ),
00134     
00135     # Corrections
00136     superClusterErrorFunction = cms.string("EcalClusterEnergyUncertaintyObjectSpecific"),
00137     crackCorrectionFunction = cms.string("EcalClusterCrackCorrection")
00138 
00139 )
00140 
00141 
00142 #==============================================================================
00143 # Final producer of persistent gsf electrons
00144 #==============================================================================
00145 
00146 gsfElectrons = cms.EDProducer("GsfElectronProducer",
00147 
00148     # input collections
00149     previousGsfElectronsTag = cms.InputTag("ecalDrivenGsfElectrons"),
00150     pflowGsfElectronsTag = cms.InputTag("pfElectronTranslator:pf"),
00151     gsfElectronCoresTag = cms.InputTag("gsfElectronCores"),
00152     hcalTowers = cms.InputTag("towerMaker"),
00153     barrelRecHitCollectionTag = cms.InputTag("ecalRecHit","EcalRecHitsEB"),
00154     endcapRecHitCollectionTag = cms.InputTag("ecalRecHit","EcalRecHitsEE"),
00155     pfMvaTag =  cms.InputTag("pfElectronTranslator:pf"),
00156     seedsTag = cms.InputTag("ecalDrivenElectronSeeds"),
00157     beamSpotTag = cms.InputTag("offlineBeamSpot"),
00158     gsfPfRecTracksTag = cms.InputTag("pfTrackElec"),
00159     
00160     # backward compatibility mechanism for ctf tracks
00161     ctfTracksCheck = cms.bool(True),
00162     ctfTracksTag = cms.InputTag("generalTracks"),
00163     
00164     # steering
00165     useGsfPfRecTracks = cms.bool(True),
00166     applyPreselection = cms.bool(True),
00167     applyEcalEnergyCorrection = cms.bool(True),
00168     applyAmbResolution = cms.bool(True),
00169     ambSortingStrategy = cms.uint32(1),
00170     ambClustersOverlapStrategy = cms.uint32(1),
00171     addPflowElectrons = cms.bool(True),
00172     
00173     # preselection parameters (ecal driven electrons)
00174     minSCEtBarrel = cms.double(4.0),
00175     minSCEtEndcaps = cms.double(4.0),
00176     minEOverPBarrel = cms.double(0.0),
00177     maxEOverPBarrel = cms.double(999999999.),
00178     minEOverPEndcaps = cms.double(0.0),
00179     maxEOverPEndcaps = cms.double(999999999.),
00180     maxDeltaEtaBarrel = cms.double(0.02),
00181     maxDeltaEtaEndcaps = cms.double(0.02),
00182     maxDeltaPhiBarrel = cms.double(0.15),
00183     maxDeltaPhiEndcaps = cms.double(0.15),
00184     #useHcalTowers = cms.bool(True),
00185     #useHcalRecHits = cms.bool(False),
00186     hOverEConeSize = cms.double(0.15),
00187     hOverEPtMin = cms.double(0.),
00188     #maxHOverEDepth1Barrel = cms.double(0.1),
00189     #maxHOverEDepth1Endcaps = cms.double(0.1),
00190     #maxHOverEDepth2 = cms.double(0.1),
00191     maxHOverEBarrel = cms.double(0.15),
00192     maxHOverEEndcaps = cms.double(0.15),
00193     maxHBarrel = cms.double(0.0),
00194     maxHEndcaps = cms.double(0.0),
00195     maxSigmaIetaIetaBarrel = cms.double(999999999.),
00196     maxSigmaIetaIetaEndcaps = cms.double(999999999.),
00197     maxFbremBarrel = cms.double(999999999.),
00198     maxFbremEndcaps = cms.double(999999999.),
00199     isBarrel = cms.bool(False),
00200     isEndcaps = cms.bool(False),
00201     isFiducial = cms.bool(False),
00202     seedFromTEC = cms.bool(True),
00203     maxTIP = cms.double(999999999.),
00204     minMVA = cms.double(-0.1),
00205 
00206     # preselection parameters (tracker driven only electrons)    
00207     minSCEtBarrelPflow = cms.double(0.0),
00208     minSCEtEndcapsPflow = cms.double(0.0),
00209     minEOverPBarrelPflow = cms.double(0.0),
00210     maxEOverPBarrelPflow = cms.double(999999999.),
00211     minEOverPEndcapsPflow = cms.double(0.0),
00212     maxEOverPEndcapsPflow = cms.double(999999999.),
00213     maxDeltaEtaBarrelPflow = cms.double(999999999.),
00214     maxDeltaEtaEndcapsPflow = cms.double(999999999.),
00215     maxDeltaPhiBarrelPflow = cms.double(999999999.),
00216     maxDeltaPhiEndcapsPflow = cms.double(999999999.),
00217     hOverEConeSizePflow = cms.double(0.15),
00218     hOverEPtMinPflow = cms.double(0.),
00219     #maxHOverEDepth1BarrelPflow = cms.double(999999999.),
00220     #maxHOverEDepth1EndcapsPflow = cms.double(999999999.),
00221     #maxHOverEDepth2Pflow = cms.double(999999999.),
00222     maxHOverEBarrelPflow = cms.double(999999999.),
00223     maxHOverEEndcapsPflow = cms.double(999999999.),
00224     maxHBarrelPflow = cms.double(0.0),
00225     maxHEndcapsPflow = cms.double(0.0),
00226     maxSigmaIetaIetaBarrelPflow = cms.double(999999999.),
00227     maxSigmaIetaIetaEndcapsPflow = cms.double(999999999.),
00228     maxFbremBarrelPflow = cms.double(999999999.),
00229     maxFbremEndcapsPflow = cms.double(999999999.),
00230     isBarrelPflow = cms.bool(False),
00231     isEndcapsPflow = cms.bool(False),
00232     isFiducialPflow = cms.bool(False),
00233     maxTIPPflow = cms.double(999999999.),
00234     minMVAPflow = cms.double(-0.1),
00235     
00236     # Isolation algos configuration
00237     intRadiusBarrelTk = cms.double(0.015), 
00238     intRadiusEndcapTk = cms.double(0.015), 
00239     stripBarrelTk = cms.double(0.015), 
00240     stripEndcapTk = cms.double(0.015), 
00241     ptMinTk = cms.double(0.7), 
00242     maxVtxDistTk = cms.double(0.2), 
00243     maxDrbTk = cms.double(999999999.), 
00244     intRadiusHcal = cms.double(0.15),
00245     etMinHcal = cms.double(0.0), 
00246     intRadiusEcalBarrel = cms.double(3.0), 
00247     intRadiusEcalEndcaps = cms.double(3.0), 
00248     jurassicWidth = cms.double(1.5), 
00249     etMinBarrel = cms.double(0.0),
00250     eMinBarrel = cms.double(0.095), 
00251     etMinEndcaps = cms.double(0.110), 
00252     eMinEndcaps = cms.double(0.0),  
00253     vetoClustered  = cms.bool(False),  
00254     useNumCrystals = cms.bool(True),  
00255     severityLevelCut = cms.int32(4),
00256 #    severityRecHitThreshold = cms.double(5.0),
00257 #    spikeIdThreshold = cms.double(0.95),
00258 #    spikeIdString = cms.string('kSwissCrossBordersIncluded'),
00259 
00260     recHitFlagsToBeExcluded = cms.vstring(
00261         'kFaultyHardware',
00262         'kPoorCalib',
00263 #        ecalRecHitFlag_kSaturated,
00264 #        ecalRecHitFlag_kLeadingEdgeRecovered,
00265 #        ecalRecHitFlag_kNeighboursRecovered,
00266         'kTowerRecovered',
00267         'kDead'
00268     ),
00269 
00270     
00271     TransientInitialStateEstimatorParameters = cms.PSet(
00272         propagatorAlongTISE = cms.string('PropagatorWithMaterial'),
00273         propagatorOppositeTISE = cms.string('PropagatorWithMaterialOpposite')
00274     ),
00275     
00276     # Corrections
00277     superClusterErrorFunction = cms.string("EcalClusterEnergyUncertaintyObjectSpecific"),
00278     crackCorrectionFunction = cms.string("EcalClusterCrackCorrection")
00279 
00280 )
00281 
00282