CMS 3D CMS Logo

electronProducer_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 allLayer1Electrons = cms.EDProducer("PATElectronProducer",
00004     # General configurables
00005     electronSource = cms.InputTag("electronsNoDuplicates"),
00006 
00007                                     
00008     # user data to add
00009     userData = cms.PSet(
00010       # add custom classes here
00011       userClasses = cms.PSet(
00012         src = cms.VInputTag('')
00013       ),
00014       # add doubles here
00015       userFloats = cms.PSet(
00016         src = cms.VInputTag('')
00017       ),
00018       # add ints here
00019       userInts = cms.PSet(
00020         src = cms.VInputTag('')
00021       ),
00022       # add "inline" functions here
00023       userFunctions = cms.vstring(""),
00024       userFunctionLabels = cms.vstring("")
00025     ),
00026 
00027     # Embedding of AOD items
00028     embedTrack        = cms.bool(False), ## whether to embed in AOD externally stored track (note: gsf electrons don't have a track)
00029     embedGsfTrack     = cms.bool(True), ## whether to embed in AOD externally stored gsf track
00030     embedSuperCluster = cms.bool(True), ## whether to embed in AOD externally stored supercluster
00031 
00032     # resolution configurables
00033     addResolutions   = cms.bool(False),
00034 
00035     # pflow specific
00036     pfElectronSource = cms.InputTag("pfElectrons"),
00037     useParticleFlow =  cms.bool( False ),
00038     embedPFCandidate = cms.bool(False),
00039 
00040     # Store isolation values
00041     isolation = cms.PSet(
00042         tracker = cms.PSet(
00043             src = cms.InputTag("eleIsoFromDepsTk"),
00044         ),
00045         ecal = cms.PSet(
00046             src = cms.InputTag("eleIsoFromDepsEcalFromHits"),
00047         ),
00048         hcal = cms.PSet(
00049             src = cms.InputTag("eleIsoFromDepsHcalFromTowers"),
00050         ),
00051         user = cms.VPSet(),
00052     ),
00053     # Store IsoDeposits
00054     isoDeposits = cms.PSet(
00055         tracker = cms.InputTag("eleIsoDepositTk"),
00056         ecal    = cms.InputTag("eleIsoDepositEcalFromHits"),
00057         hcal    = cms.InputTag("eleIsoDepositHcalFromTowers"),
00058     ),
00059 
00060 
00061     # electron ID configurables
00062     addElectronID = cms.bool(True),
00063     electronIDSources = cms.PSet(
00064         # configure many IDs as InputTag <someName> = <someTag>
00065         # you can comment out those you don't want to save some disk space
00066         eidRobustLoose      = cms.InputTag("eidRobustLoose"),
00067         eidRobustTight      = cms.InputTag("eidRobustTight"),
00068         eidLoose            = cms.InputTag("eidLoose"),
00069         eidTight            = cms.InputTag("eidTight"),
00070         eidRobustHighEnergy = cms.InputTag("eidRobustHighEnergy"),
00071     ),
00072 
00073     # Trigger matching configurables
00074     addTrigMatch = cms.bool(True),
00075     # trigger primitive sources to be used for the matching
00076     trigPrimMatch = cms.VInputTag(
00077             cms.InputTag("electronTrigMatchHLT1ElectronRelaxed"), 
00078             cms.InputTag("electronTrigMatchCandHLT1ElectronStartup")
00079     ),
00080 
00081     # MC matching configurables
00082     addGenMatch      = cms.bool(True),
00083     embedGenMatch    = cms.bool(False),
00084     genParticleMatch = cms.InputTag("electronMatch"), ## Association between electrons and generator particles
00085 
00086     # Efficiencies
00087     addEfficiencies = cms.bool(False),
00088     efficiencies    = cms.PSet(),
00089     
00090     # electron cluster shape configurables
00091     addElectronShapes = cms.bool(True),
00092     reducedBarrelRecHitCollection = cms.InputTag("reducedEcalRecHitsEB"),
00093     reducedEndcapRecHitCollection = cms.InputTag("reducedEcalRecHitsEE"),
00094 
00095 )
00096 
00097 

Generated on Tue Jun 9 17:41:44 2009 for CMSSW by  doxygen 1.5.4