CMS 3D CMS Logo

tauProducer_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 allLayer1Taus = cms.EDProducer("PATTauProducer",
00004     # General configurables
00005     tauSource = cms.InputTag("pfRecoTauProducer"),
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     embedLeadTrack       = cms.bool(False), ## whether to embed in AOD externally stored leading track
00028     embedSignalTracks    = cms.bool(False), ## whether to embed in AOD externally stored signal tracks
00029     embedIsolationTracks = cms.bool(False), ## whether to embed in AOD externally stored isolation tracks
00030 
00031     # resolution configurables
00032     addResolutions = cms.bool(False),
00033 
00034     # isolation configurables
00035     isolation = cms.PSet(
00036         pfAllParticles = cms.PSet(
00037             src = cms.InputTag("tauIsoDepositPFCandidates"),
00038             deltaR = cms.double(0.5)
00039         ),
00040         pfChargedHadron = cms.PSet(
00041             src = cms.InputTag("tauIsoDepositPFChargedHadrons"),
00042             deltaR = cms.double(0.5)
00043         ),
00044         pfNeutralHadron = cms.PSet(
00045             src = cms.InputTag("tauIsoDepositPFNeutralHadrons"),
00046             deltaR = cms.double(0.5)
00047         ),
00048         pfGamma = cms.PSet(
00049             src = cms.InputTag("tauIsoDepositPFGammas"),
00050             deltaR = cms.double(0.5)
00051         )
00052     ),                           
00053     isoDeposits = cms.PSet(
00054         pfAllParticles = cms.InputTag("tauIsoDepositPFCandidates"),
00055         pfChargedHadron = cms.InputTag("tauIsoDepositPFChargedHadrons"),
00056         pfNeutralHadron = cms.InputTag("tauIsoDepositPFNeutralHadrons"),
00057         pfGamma = cms.InputTag("tauIsoDepositPFGammas")
00058     ),
00059 
00060     # tau ID configurables
00061     # (for efficiency studies)
00062     addTauID = cms.bool(True),
00063     tauIDSources = 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         leadingTrackFinding = cms.InputTag("pfRecoTauDiscriminationByLeadingTrackFinding"),
00067         leadingTrackPtCut = cms.InputTag("pfRecoTauDiscriminationByLeadingTrackPtCut"),
00068         trackIsolation = cms.InputTag("pfRecoTauDiscriminationByTrackIsolation"),
00069         ecalIsolation = cms.InputTag("pfRecoTauDiscriminationByECALIsolation"),
00070         byIsolation = cms.InputTag("pfRecoTauDiscriminationByIsolation"),
00071         againstElectron = cms.InputTag("pfRecoTauDiscriminationAgainstElectron"),
00072         againstMuon = cms.InputTag("pfRecoTauDiscriminationAgainstMuon")
00073     ),
00074 
00075     # tau decay mode configurables
00076     addDecayMode = cms.bool(False),
00077     decayModeSrc = cms.InputTag("fixedConePFTauDecayModeProducer"),                    
00078 
00079     # Trigger matching configurables
00080     addTrigMatch = cms.bool(True),
00081     trigPrimMatch = cms.VInputTag(cms.InputTag("tauTrigMatchHLT1Tau")),
00082 
00083     # MC matching configurables
00084     addGenMatch = cms.bool(True),
00085     embedGenMatch = cms.bool(False),
00086     genParticleMatch = cms.InputTag("tauMatch"), ## particles source to be used for the matching
00087 
00088     # MC jet matching configurables
00089     addGenJetMatch = cms.bool(True),
00090     # the following is not used. ?
00091     embedGenJetMatch = cms.bool(False),
00092     
00093     genJetMatch = cms.InputTag("tauGenJetMatch"), ## particles source to be used for the matching
00094 
00095     # Efficiencies
00096     addEfficiencies = cms.bool(False),
00097     efficiencies    = cms.PSet(),
00098 
00099 )
00100 
00101 

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