2 from PhysicsTools.SelectorUtils.centralIDRegistry
import central_id_registry
23 idName =
"cutBasedPhotonID-Spring15-50ns-V1-standalone-loose"
24 WP_Loose_EB = WorkingPoint_V2(
37 WP_Loose_EE = WorkingPoint_V2(
52 idName =
"cutBasedPhotonID-Spring15-50ns-V1-standalone-medium"
53 WP_Medium_EB = WorkingPoint_V2(
67 WP_Medium_EE = WorkingPoint_V2(
82 idName =
"cutBasedPhotonID-Spring15-50ns-V1-standalone-tight"
83 WP_Tight_EB = WorkingPoint_V2(
97 WP_Tight_EE = WorkingPoint_V2(
114 isoInputs = IsolationCutInputs(
116 'photonIDValueMapProducer:phoChargedIsolation' ,
118 "RecoEgamma/PhotonIdentification/data/Spring15/effAreaPhotons_cone03_pfChargedHadrons_50ns.txt" ,
120 'photonIDValueMapProducer:phoNeutralHadronIsolation' ,
122 "RecoEgamma/PhotonIdentification/data/Spring15/effAreaPhotons_cone03_pfNeutralHadrons_50ns.txt" ,
124 "photonIDValueMapProducer:phoPhotonIsolation" ,
126 "RecoEgamma/PhotonIdentification/data/Spring15/effAreaPhotons_cone03_pfPhotons_50ns.txt"
132 cutBasedPhotonID_Spring15_50ns_V1_standalone_loose = configureVIDCutBasedPhoID_V4 ( WP_Loose_EB, WP_Loose_EE, isoInputs)
133 cutBasedPhotonID_Spring15_50ns_V1_standalone_medium = configureVIDCutBasedPhoID_V4 ( WP_Medium_EB, WP_Medium_EE, isoInputs)
134 cutBasedPhotonID_Spring15_50ns_V1_standalone_tight = configureVIDCutBasedPhoID_V4 ( WP_Tight_EB, WP_Tight_EE, isoInputs)
143 central_id_registry.register(cutBasedPhotonID_Spring15_50ns_V1_standalone_loose.idName,
144 '0ecdbf2d9e48f89051f6dd7f9e6547e8')
145 central_id_registry.register(cutBasedPhotonID_Spring15_50ns_V1_standalone_medium.idName,
146 '9efd6037fab2ff3bb65b7592fac5efde')
147 central_id_registry.register(cutBasedPhotonID_Spring15_50ns_V1_standalone_tight.idName,
148 'e6a9a77984738862cda3a2fd966fc05e')
150 cutBasedPhotonID_Spring15_50ns_V1_standalone_loose.isPOGApproved = cms.untracked.bool(
True)
151 cutBasedPhotonID_Spring15_50ns_V1_standalone_medium.isPOGApproved = cms.untracked.bool(
True)
152 cutBasedPhotonID_Spring15_50ns_V1_standalone_tight.isPOGApproved = cms.untracked.bool(
True)