CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/RecoEgamma/PhotonIdentification/python/photonId_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 PhotonIDProd = cms.EDProducer("PhotonIDProducer",
00004     #required inputs
00005     #What collection of photons do I run on?
00006     photonProducer = cms.string('photons'),                              
00007     photonLabel = cms.string(''),
00008     #What labels do I use for my products?
00009     photonCutBasedIDLooseLabel = cms.string('PhotonCutBasedIDLoose'),
00010     photonCutBasedIDTightLabel = cms.string('PhotonCutBasedIDTight'),
00011     photonCutBasedIDLooseEMLabel=cms.string('PhotonCutBasedIDLooseEM'),
00012     #What rechit collection do I use for ECAL iso?                          
00013     doCutBased = cms.bool(True),
00014     #switches, turn on quality cuts for various quantities.
00015     RequireFiducial = cms.bool(False),
00016     DoHollowConeTrackIsolationCut = cms.bool(True),
00017     DoSolidConeTrackIsolationCut = cms.bool(False),
00018     DoHollowConeNTrkCut = cms.bool(False),
00019     DoSolidConeNTrkCut = cms.bool(False),
00020     DoHadOverEMCut = cms.bool(True),
00021     DoEtaWidthCut = cms.bool(True),
00022     DoHcalTowerIsolationCut = cms.bool(True),
00023     DoEcalRecHitIsolationCut = cms.bool(True),
00024     DoEcalIsoRelativeCut = cms.bool(True),
00025     DoR9Cut = cms.bool(False),                               
00026     #LooseEM cuts EB
00027     LooseEMEcalIsoRelativeCutSlopeEB = cms.double(0.006),
00028     LooseEMEcalIsoRelativeCutOffsetEB= cms.double(4.2),
00029     LooseEMHcalTowerIsoSlopeEB= cms.double(0.0025),
00030     LooseEMHcalTowerIsoOffsetEB=cms.double(2.2),
00031     LooseEMHollowTrkSlopeEB=cms.double(0.),
00032     LooseEMHollowTrkOffsetEB=cms.double(999999999),
00033     LooseEMSolidTrkSlopeEB=cms.double(0.),
00034     LooseEMSolidTrkOffsetEB=cms.double(999999999),
00035     LooseEMSolidTrkEB=cms.double(999999999),
00036     LooseEMSolidNTrkEB=cms.int32(999999999),
00037     LooseEMHollowNTrkEB=cms.int32(999999999),
00038     LooseEMEtaWidthEB=cms.double(999999999),
00039     LooseEMHadOverEMEB=cms.double(0.05),
00040     LooseEMR9CutEB=cms.double(0.0),
00041     #LoosePhoton cuts EB                          
00042     LoosePhotonEcalIsoRelativeCutSlopeEB = cms.double(0.006),
00043     LoosePhotonEcalIsoRelativeCutOffsetEB= cms.double(4.2),
00044     LoosePhotonHcalTowerIsoSlopeEB= cms.double(0.0025),
00045     LoosePhotonHcalTowerIsoOffsetEB=cms.double(2.2),
00046     LoosePhotonHollowTrkSlopeEB=cms.double(0.001),
00047     LoosePhotonHollowTrkOffsetEB=cms.double(3.5),
00048     LoosePhotonSolidTrkSlopeEB=cms.double(0.),
00049     LoosePhotonSolidTrkOffsetEB=cms.double(999999999),
00050     LoosePhotonSolidTrkEB=cms.double(999999999),
00051     LoosePhotonSolidNTrkEB=cms.int32(999999999),
00052     LoosePhotonHollowNTrkEB=cms.int32(999999999),
00053     LoosePhotonEtaWidthEB=cms.double(999999999),
00054     LoosePhotonHadOverEMEB=cms.double(0.05),
00055     LoosePhotonR9CutEB=cms.double(0.0),
00056     #TightPhoton cuts EB
00057     TightPhotonEcalIsoRelativeCutSlopeEB = cms.double(0.006),
00058     TightPhotonEcalIsoRelativeCutOffsetEB= cms.double(4.2),
00059     TightPhotonHcalTowerIsoSlopeEB= cms.double(0.0025),
00060     TightPhotonHcalTowerIsoOffsetEB=cms.double(2.2),
00061     TightPhotonHollowTrkSlopeEB=cms.double(0.001),
00062     TightPhotonHollowTrkOffsetEB=cms.double(2.),
00063     TightPhotonSolidTrkSlopeEB=cms.double(0.),
00064     TightPhotonSolidTrkOffsetEB=cms.double(999999999),
00065     TightPhotonSolidTrkEB=cms.double(999999999),
00066     TightPhotonSolidNTrkEB=cms.int32(999999999),
00067     TightPhotonHollowNTrkEB=cms.int32(999999999),
00068     TightPhotonEtaWidthEB=cms.double(0.013),
00069     TightPhotonHadOverEMEB=cms.double(0.05),
00070     TightPhotonR9CutEB=cms.double(0.0),
00071     #LooseEM cuts EE
00072     LooseEMEcalIsoRelativeCutSlopeEE = cms.double(0.006),
00073     LooseEMEcalIsoRelativeCutOffsetEE= cms.double(4.2),
00074     LooseEMHcalTowerIsoSlopeEE= cms.double(0.0025),
00075     LooseEMHcalTowerIsoOffsetEE=cms.double(2.2),
00076     LooseEMHollowTrkSlopeEE=cms.double(0.),
00077     LooseEMHollowTrkOffsetEE=cms.double(999999999),
00078     LooseEMSolidTrkSlopeEE=cms.double(0.),
00079     LooseEMSolidTrkOffsetEE=cms.double(999999999),
00080     LooseEMSolidTrkEE=cms.double(999999999),
00081     LooseEMSolidNTrkEE=cms.int32(999999999),
00082     LooseEMHollowNTrkEE=cms.int32(999999999),
00083     LooseEMEtaWidthEE=cms.double(999999999),
00084     LooseEMHadOverEMEE=cms.double(0.05),
00085     LooseEMR9CutEE=cms.double(0.0),
00086     #LoosePhoton cuts EE                          
00087     LoosePhotonEcalIsoRelativeCutSlopeEE = cms.double(0.006),
00088     LoosePhotonEcalIsoRelativeCutOffsetEE= cms.double(4.2),
00089     LoosePhotonHcalTowerIsoSlopeEE= cms.double(0.0025),
00090     LoosePhotonHcalTowerIsoOffsetEE=cms.double(2.2),
00091     LoosePhotonHollowTrkSlopeEE=cms.double(0.001),
00092     LoosePhotonHollowTrkOffsetEE=cms.double(3.5),
00093     LoosePhotonSolidTrkSlopeEE=cms.double(0.),
00094     LoosePhotonSolidTrkOffsetEE=cms.double(999999999),
00095     LoosePhotonSolidTrkEE=cms.double(999999999),
00096     LoosePhotonSolidNTrkEE=cms.int32(999999999),
00097     LoosePhotonHollowNTrkEE=cms.int32(999999999),
00098     LoosePhotonEtaWidthEE=cms.double(999999999),
00099     LoosePhotonHadOverEMEE=cms.double(0.05),
00100     LoosePhotonR9CutEE=cms.double(0.0),
00101     #TightPhoton cuts EE
00102     TightPhotonEcalIsoRelativeCutSlopeEE = cms.double(0.006),
00103     TightPhotonEcalIsoRelativeCutOffsetEE= cms.double(4.2),
00104     TightPhotonHcalTowerIsoSlopeEE= cms.double(0.0025),
00105     TightPhotonHcalTowerIsoOffsetEE=cms.double(2.2),
00106     TightPhotonHollowTrkSlopeEE=cms.double(0.001),
00107     TightPhotonHollowTrkOffsetEE=cms.double(2.),
00108     TightPhotonSolidTrkSlopeEE=cms.double(0.),
00109     TightPhotonSolidTrkOffsetEE=cms.double(999999999),
00110     TightPhotonSolidTrkEE=cms.double(999999999),
00111     TightPhotonSolidNTrkEE=cms.int32(999999999),
00112     TightPhotonHollowNTrkEE=cms.int32(999999999),
00113     TightPhotonEtaWidthEE=cms.double(0.03),
00114     TightPhotonHadOverEMEE=cms.double(0.05),
00115     TightPhotonR9CutEE=cms.double(0.0)
00116 )
00117 
00118