Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:34:37

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 PhotonIDProd = cms.EDProducer("PhotonIDProducer",
0004     #required inputs
0005     #What collection of photons do I run on?
0006     photonProducer = cms.string('photons'),                              
0007     photonLabel = cms.string(''),
0008     #What labels do I use for my products?
0009     photonCutBasedIDLooseLabel = cms.string('PhotonCutBasedIDLoose'),
0010     photonCutBasedIDTightLabel = cms.string('PhotonCutBasedIDTight'),
0011     photonCutBasedIDLooseEMLabel=cms.string('PhotonCutBasedIDLooseEM'),
0012     #What rechit collection do I use for ECAL iso?                          
0013     doCutBased = cms.bool(True),
0014     #switches, turn on quality cuts for various quantities.
0015     RequireFiducial = cms.bool(False),
0016     DoHollowConeTrackIsolationCut = cms.bool(True),
0017     DoSolidConeTrackIsolationCut = cms.bool(False),
0018     DoHollowConeNTrkCut = cms.bool(False),
0019     DoSolidConeNTrkCut = cms.bool(False),
0020     DoHadOverEMCut = cms.bool(True),
0021     DoEtaWidthCut = cms.bool(True),
0022     DoHcalTowerIsolationCut = cms.bool(True),
0023     DoEcalRecHitIsolationCut = cms.bool(True),
0024     DoEcalIsoRelativeCut = cms.bool(True),
0025     DoR9Cut = cms.bool(False),                               
0026     #LooseEM cuts EB
0027     LooseEMEcalIsoRelativeCutSlopeEB = cms.double(0.006),
0028     LooseEMEcalIsoRelativeCutOffsetEB= cms.double(4.2),
0029     LooseEMHcalTowerIsoSlopeEB= cms.double(0.0025),
0030     LooseEMHcalTowerIsoOffsetEB=cms.double(2.2),
0031     LooseEMHollowTrkSlopeEB=cms.double(0.),
0032     LooseEMHollowTrkOffsetEB=cms.double(999999999),
0033     LooseEMSolidTrkSlopeEB=cms.double(0.),
0034     LooseEMSolidTrkOffsetEB=cms.double(999999999),
0035     LooseEMSolidTrkEB=cms.double(999999999),
0036     LooseEMSolidNTrkEB=cms.int32(999999999),
0037     LooseEMHollowNTrkEB=cms.int32(999999999),
0038     LooseEMEtaWidthEB=cms.double(999999999),
0039     LooseEMHadOverEMEB=cms.double(0.05),
0040     LooseEMR9CutEB=cms.double(0.0),
0041     #LoosePhoton cuts EB                          
0042     LoosePhotonEcalIsoRelativeCutSlopeEB = cms.double(0.006),
0043     LoosePhotonEcalIsoRelativeCutOffsetEB= cms.double(4.2),
0044     LoosePhotonHcalTowerIsoSlopeEB= cms.double(0.0025),
0045     LoosePhotonHcalTowerIsoOffsetEB=cms.double(2.2),
0046     LoosePhotonHollowTrkSlopeEB=cms.double(0.001),
0047     LoosePhotonHollowTrkOffsetEB=cms.double(3.5),
0048     LoosePhotonSolidTrkSlopeEB=cms.double(0.),
0049     LoosePhotonSolidTrkOffsetEB=cms.double(999999999),
0050     LoosePhotonSolidTrkEB=cms.double(999999999),
0051     LoosePhotonSolidNTrkEB=cms.int32(999999999),
0052     LoosePhotonHollowNTrkEB=cms.int32(999999999),
0053     LoosePhotonEtaWidthEB=cms.double(999999999),
0054     LoosePhotonHadOverEMEB=cms.double(0.05),
0055     LoosePhotonR9CutEB=cms.double(0.0),
0056     #TightPhoton cuts EB
0057     TightPhotonEcalIsoRelativeCutSlopeEB = cms.double(0.006),
0058     TightPhotonEcalIsoRelativeCutOffsetEB= cms.double(4.2),
0059     TightPhotonHcalTowerIsoSlopeEB= cms.double(0.0025),
0060     TightPhotonHcalTowerIsoOffsetEB=cms.double(2.2),
0061     TightPhotonHollowTrkSlopeEB=cms.double(0.001),
0062     TightPhotonHollowTrkOffsetEB=cms.double(2.),
0063     TightPhotonSolidTrkSlopeEB=cms.double(0.),
0064     TightPhotonSolidTrkOffsetEB=cms.double(999999999),
0065     TightPhotonSolidTrkEB=cms.double(999999999),
0066     TightPhotonSolidNTrkEB=cms.int32(999999999),
0067     TightPhotonHollowNTrkEB=cms.int32(999999999),
0068     TightPhotonEtaWidthEB=cms.double(0.013),
0069     TightPhotonHadOverEMEB=cms.double(0.05),
0070     TightPhotonR9CutEB=cms.double(0.0),
0071     #LooseEM cuts EE
0072     LooseEMEcalIsoRelativeCutSlopeEE = cms.double(0.006),
0073     LooseEMEcalIsoRelativeCutOffsetEE= cms.double(4.2),
0074     LooseEMHcalTowerIsoSlopeEE= cms.double(0.0025),
0075     LooseEMHcalTowerIsoOffsetEE=cms.double(2.2),
0076     LooseEMHollowTrkSlopeEE=cms.double(0.),
0077     LooseEMHollowTrkOffsetEE=cms.double(999999999),
0078     LooseEMSolidTrkSlopeEE=cms.double(0.),
0079     LooseEMSolidTrkOffsetEE=cms.double(999999999),
0080     LooseEMSolidTrkEE=cms.double(999999999),
0081     LooseEMSolidNTrkEE=cms.int32(999999999),
0082     LooseEMHollowNTrkEE=cms.int32(999999999),
0083     LooseEMEtaWidthEE=cms.double(999999999),
0084     LooseEMHadOverEMEE=cms.double(0.05),
0085     LooseEMR9CutEE=cms.double(0.0),
0086     #LoosePhoton cuts EE                          
0087     LoosePhotonEcalIsoRelativeCutSlopeEE = cms.double(0.006),
0088     LoosePhotonEcalIsoRelativeCutOffsetEE= cms.double(4.2),
0089     LoosePhotonHcalTowerIsoSlopeEE= cms.double(0.0025),
0090     LoosePhotonHcalTowerIsoOffsetEE=cms.double(2.2),
0091     LoosePhotonHollowTrkSlopeEE=cms.double(0.001),
0092     LoosePhotonHollowTrkOffsetEE=cms.double(3.5),
0093     LoosePhotonSolidTrkSlopeEE=cms.double(0.),
0094     LoosePhotonSolidTrkOffsetEE=cms.double(999999999),
0095     LoosePhotonSolidTrkEE=cms.double(999999999),
0096     LoosePhotonSolidNTrkEE=cms.int32(999999999),
0097     LoosePhotonHollowNTrkEE=cms.int32(999999999),
0098     LoosePhotonEtaWidthEE=cms.double(999999999),
0099     LoosePhotonHadOverEMEE=cms.double(0.05),
0100     LoosePhotonR9CutEE=cms.double(0.0),
0101     #TightPhoton cuts EE
0102     TightPhotonEcalIsoRelativeCutSlopeEE = cms.double(0.006),
0103     TightPhotonEcalIsoRelativeCutOffsetEE= cms.double(4.2),
0104     TightPhotonHcalTowerIsoSlopeEE= cms.double(0.0025),
0105     TightPhotonHcalTowerIsoOffsetEE=cms.double(2.2),
0106     TightPhotonHollowTrkSlopeEE=cms.double(0.001),
0107     TightPhotonHollowTrkOffsetEE=cms.double(2.),
0108     TightPhotonSolidTrkSlopeEE=cms.double(0.),
0109     TightPhotonSolidTrkOffsetEE=cms.double(999999999),
0110     TightPhotonSolidTrkEE=cms.double(999999999),
0111     TightPhotonSolidNTrkEE=cms.int32(999999999),
0112     TightPhotonHollowNTrkEE=cms.int32(999999999),
0113     TightPhotonEtaWidthEE=cms.double(0.03),
0114     TightPhotonHadOverEMEE=cms.double(0.05),
0115     TightPhotonR9CutEE=cms.double(0.0)
0116 )
0117 
0118