Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:55:52

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 ############################################################
0004 # L1 Global Trigger Emulation
0005 ############################################################
0006 
0007 # Conditions
0008 
0009 from L1Trigger.Phase2L1GT.l1tGTProducer_cff import l1tGTProducer
0010 
0011 from L1Trigger.Phase2L1GT.l1tGTSingleObjectCond_cfi import l1tGTSingleObjectCond
0012 from L1Trigger.Phase2L1GT.l1tGTDoubleObjectCond_cfi import l1tGTDoubleObjectCond
0013 from L1Trigger.Phase2L1GT.l1tGTTripleObjectCond_cfi import l1tGTTripleObjectCond
0014 from L1Trigger.Phase2L1GT.l1tGTQuadObjectCond_cfi import l1tGTQuadObjectCond
0015 
0016 from L1Trigger.Phase2L1GT.l1tGTAlgoBlockProducer_cff import algorithms
0017 
0018 ####### MUON SEEDS ###########
0019 
0020 #        regionsAbsEtaLowerBounds=cms.vdouble(0,1.2,3),
0021 #        regionsMinPt=cms.vdouble(12,14,15)
0022 
0023 
0024 SingleTkMuon22 = l1tGTSingleObjectCond.clone(
0025     tag =  cms.InputTag("l1tGTProducer", "GMTTkMuons"),
0026     #minPt = cms.double(20.3),
0027     minEta = cms.double(-2.4),
0028     maxEta = cms.double(2.4),
0029     regionsAbsEtaLowerBounds=cms.vdouble(0,0.83,1.24),
0030     regionsMinPt=cms.vdouble(20.0,19.9,20.1)
0031 )
0032 pSingleTkMuon22 = cms.Path(SingleTkMuon22)
0033 algorithms.append(cms.PSet(expression = cms.string("pSingleTkMuon22")))
0034 
0035 DoubleTkMuon157 = l1tGTDoubleObjectCond.clone(
0036     collection1 = cms.PSet(
0037         tag = cms.InputTag("l1tGTProducer", "GMTTkMuons"),
0038         #minPt = cms.double(13.6),
0039         minEta = cms.double(-2.4),
0040         maxEta = cms.double(2.4),
0041         regionsAbsEtaLowerBounds=cms.vdouble(0,0.83,1.24),
0042         regionsMinPt=cms.vdouble(13.4,13.2,13.5)
0043 
0044     ),
0045     collection2 = cms.PSet(
0046         tag = cms.InputTag("l1tGTProducer", "GMTTkMuons"),
0047         #minPt = cms.double(5.9),
0048         minEta = cms.double(-2.4),
0049         maxEta = cms.double(2.4),
0050         regionsAbsEtaLowerBounds=cms.vdouble(0,0.83,1.24),
0051         regionsMinPt=cms.vdouble(7,7,7)
0052     ),
0053     maxDz = cms.double(1),
0054 )
0055 pDoubleTkMuon15_7 = cms.Path(DoubleTkMuon157)
0056 algorithms.append(cms.PSet(expression = cms.string("pDoubleTkMuon15_7")))
0057 
0058 TripleTkMuon533 = l1tGTTripleObjectCond.clone(
0059     collection1 = cms.PSet(
0060         tag = cms.InputTag("l1tGTProducer", "GMTTkMuons"),
0061         minPt = cms.double(5),
0062         minEta = cms.double(-2.4),
0063         maxEta = cms.double(2.4),
0064         qual = cms.vuint32(0b00000001, 0b00000010, 0b00000011, 0b00000100, 0b00000101, 0b00000110, 0b00000111, 0b00001000, 0b00001001, 0b00001010, 0b00001011, 0b00001100, 0b00001101, 0b00001110, 0b00001111, 0b00010000, 0b00010001, 0b00010010, 0b00010011, 0b00010100, 0b00010101, 0b00010110, 0b00010111, 0b00011000, 0b00011001, 0b00011010, 0b00011011, 0b00011100, 0b00011101, 0b00011110, 0b00011111, 0b00100000, 0b00100001, 0b00100010, 0b00100011, 0b00100100, 0b00100101, 0b00100110, 0b00100111, 0b00101000, 0b00101001, 0b00101010, 0b00101011, 0b00101100, 0b00101101, 0b00101110, 0b00101111, 0b00110000, 0b00110001, 0b00110010, 0b00110011, 0b00110100, 0b00110101, 0b00110110, 0b00110111, 0b00111000, 0b00111001, 0b00111010, 0b00111011, 0b00111100, 0b00111101, 0b00111110, 0b00111111, 0b01000000, 0b01000001, 0b01000010, 0b01000011, 0b01000100, 0b01000101, 0b01000110, 0b01000111, 0b01001000, 0b01001001, 0b01001010, 0b01001011, 0b01001100, 0b01001101, 0b01001110, 0b01001111, 0b01010000, 0b01010001, 0b01010010, 0b01010011, 0b01010100, 0b01010101, 0b01010110, 0b01010111, 0b01011000, 0b01011001, 0b01011010, 0b01011011, 0b01011100, 0b01011101, 0b01011110, 0b01011111, 0b01100000, 0b01100001, 0b01100010, 0b01100011, 0b01100100, 0b01100101, 0b01100110, 0b01100111, 0b01101000, 0b01101001, 0b01101010, 0b01101011, 0b01101100, 0b01101101, 0b01101110, 0b01101111, 0b01110000, 0b01110001, 0b01110010, 0b01110011, 0b01110100, 0b01110101, 0b01110110, 0b01110111, 0b01111000, 0b01111001, 0b01111010, 0b01111011, 0b01111100, 0b01111101, 0b01111110, 0b01111111, 0b10000000, 0b10000001, 0b10000010, 0b10000011, 0b10000100, 0b10000101, 0b10000110, 0b10000111, 0b10001000, 0b10001001, 0b10001010, 0b10001011, 0b10001100, 0b10001101, 0b10001110, 0b10001111, 0b10010000, 0b10010001, 0b10010010, 0b10010011, 0b10010100, 0b10010101, 0b10010110, 0b10010111, 0b10011000, 0b10011001, 0b10011010, 0b10011011, 0b10011100, 0b10011101, 0b10011110, 0b10011111, 0b10100000, 0b10100001, 0b10100010, 0b10100011, 0b10100100, 0b10100101, 0b10100110, 0b10100111, 0b10101000, 0b10101001, 0b10101010, 0b10101011, 0b10101100, 0b10101101, 0b10101110, 0b10101111, 0b10110000, 0b10110001, 0b10110010, 0b10110011, 0b10110100, 0b10110101, 0b10110110, 0b10110111, 0b10111000, 0b10111001, 0b10111010, 0b10111011, 0b10111100, 0b10111101, 0b10111110, 0b10111111, 0b11000000, 0b11000001, 0b11000010, 0b11000011, 0b11000100, 0b11000101, 0b11000110, 0b11000111, 0b11001000, 0b11001001, 0b11001010, 0b11001011, 0b11001100, 0b11001101, 0b11001110, 0b11001111, 0b11010000, 0b11010001, 0b11010010, 0b11010011, 0b11010100, 0b11010101, 0b11010110, 0b11010111, 0b11011000, 0b11011001, 0b11011010, 0b11011011, 0b11011100, 0b11011101, 0b11011110, 0b11011111, 0b11100000, 0b11100001, 0b11100010, 0b11100011, 0b11100100, 0b11100101, 0b11100110, 0b11100111, 0b11101000, 0b11101001, 0b11101010, 0b11101011, 0b11101100, 0b11101101, 0b11101110, 0b11101111, 0b11110000, 0b11110001, 0b11110010, 0b11110011, 0b11110100, 0b11110101, 0b11110110, 0b11110111, 0b11111000, 0b11111001, 0b11111010, 0b11111011, 0b11111100, 0b11111101, 0b11111110, 0b11111111)
0065         #regionsAbsEtaLowerBounds=cms.vdouble(0,0.83,1.24),
0066         #regionsMinPt=cms.vdouble(3.9,3.9,4.0)
0067     ),
0068     collection2 = cms.PSet(
0069         tag = cms.InputTag("l1tGTProducer", "GMTTkMuons"),
0070         minPt = cms.double(3),
0071         minEta = cms.double(-2.4),
0072         maxEta = cms.double(2.4),
0073         qual = cms.vuint32(0b00000001, 0b00000010, 0b00000011, 0b00000100, 0b00000101, 0b00000110, 0b00000111, 0b00001000, 0b00001001, 0b00001010, 0b00001011, 0b00001100, 0b00001101, 0b00001110, 0b00001111, 0b00010000, 0b00010001, 0b00010010, 0b00010011, 0b00010100, 0b00010101, 0b00010110, 0b00010111, 0b00011000, 0b00011001, 0b00011010, 0b00011011, 0b00011100, 0b00011101, 0b00011110, 0b00011111, 0b00100000, 0b00100001, 0b00100010, 0b00100011, 0b00100100, 0b00100101, 0b00100110, 0b00100111, 0b00101000, 0b00101001, 0b00101010, 0b00101011, 0b00101100, 0b00101101, 0b00101110, 0b00101111, 0b00110000, 0b00110001, 0b00110010, 0b00110011, 0b00110100, 0b00110101, 0b00110110, 0b00110111, 0b00111000, 0b00111001, 0b00111010, 0b00111011, 0b00111100, 0b00111101, 0b00111110, 0b00111111, 0b01000000, 0b01000001, 0b01000010, 0b01000011, 0b01000100, 0b01000101, 0b01000110, 0b01000111, 0b01001000, 0b01001001, 0b01001010, 0b01001011, 0b01001100, 0b01001101, 0b01001110, 0b01001111, 0b01010000, 0b01010001, 0b01010010, 0b01010011, 0b01010100, 0b01010101, 0b01010110, 0b01010111, 0b01011000, 0b01011001, 0b01011010, 0b01011011, 0b01011100, 0b01011101, 0b01011110, 0b01011111, 0b01100000, 0b01100001, 0b01100010, 0b01100011, 0b01100100, 0b01100101, 0b01100110, 0b01100111, 0b01101000, 0b01101001, 0b01101010, 0b01101011, 0b01101100, 0b01101101, 0b01101110, 0b01101111, 0b01110000, 0b01110001, 0b01110010, 0b01110011, 0b01110100, 0b01110101, 0b01110110, 0b01110111, 0b01111000, 0b01111001, 0b01111010, 0b01111011, 0b01111100, 0b01111101, 0b01111110, 0b01111111, 0b10000000, 0b10000001, 0b10000010, 0b10000011, 0b10000100, 0b10000101, 0b10000110, 0b10000111, 0b10001000, 0b10001001, 0b10001010, 0b10001011, 0b10001100, 0b10001101, 0b10001110, 0b10001111, 0b10010000, 0b10010001, 0b10010010, 0b10010011, 0b10010100, 0b10010101, 0b10010110, 0b10010111, 0b10011000, 0b10011001, 0b10011010, 0b10011011, 0b10011100, 0b10011101, 0b10011110, 0b10011111, 0b10100000, 0b10100001, 0b10100010, 0b10100011, 0b10100100, 0b10100101, 0b10100110, 0b10100111, 0b10101000, 0b10101001, 0b10101010, 0b10101011, 0b10101100, 0b10101101, 0b10101110, 0b10101111, 0b10110000, 0b10110001, 0b10110010, 0b10110011, 0b10110100, 0b10110101, 0b10110110, 0b10110111, 0b10111000, 0b10111001, 0b10111010, 0b10111011, 0b10111100, 0b10111101, 0b10111110, 0b10111111, 0b11000000, 0b11000001, 0b11000010, 0b11000011, 0b11000100, 0b11000101, 0b11000110, 0b11000111, 0b11001000, 0b11001001, 0b11001010, 0b11001011, 0b11001100, 0b11001101, 0b11001110, 0b11001111, 0b11010000, 0b11010001, 0b11010010, 0b11010011, 0b11010100, 0b11010101, 0b11010110, 0b11010111, 0b11011000, 0b11011001, 0b11011010, 0b11011011, 0b11011100, 0b11011101, 0b11011110, 0b11011111, 0b11100000, 0b11100001, 0b11100010, 0b11100011, 0b11100100, 0b11100101, 0b11100110, 0b11100111, 0b11101000, 0b11101001, 0b11101010, 0b11101011, 0b11101100, 0b11101101, 0b11101110, 0b11101111, 0b11110000, 0b11110001, 0b11110010, 0b11110011, 0b11110100, 0b11110101, 0b11110110, 0b11110111, 0b11111000, 0b11111001, 0b11111010, 0b11111011, 0b11111100, 0b11111101, 0b11111110, 0b11111111)
0074         #regionsAbsEtaLowerBounds=cms.vdouble(0,0.83,1.24),
0075         #regionsMinPt=cms.vdouble(2.0,2.0,2.1)
0076     ),
0077     collection3 = cms.PSet(
0078         tag = cms.InputTag("l1tGTProducer", "GMTTkMuons"),
0079         minPt = cms.double(3),
0080         minEta = cms.double(-2.4),
0081         maxEta = cms.double(2.4),
0082         qual = cms.vuint32(0b00000001, 0b00000010, 0b00000011, 0b00000100, 0b00000101, 0b00000110, 0b00000111, 0b00001000, 0b00001001, 0b00001010, 0b00001011, 0b00001100, 0b00001101, 0b00001110, 0b00001111, 0b00010000, 0b00010001, 0b00010010, 0b00010011, 0b00010100, 0b00010101, 0b00010110, 0b00010111, 0b00011000, 0b00011001, 0b00011010, 0b00011011, 0b00011100, 0b00011101, 0b00011110, 0b00011111, 0b00100000, 0b00100001, 0b00100010, 0b00100011, 0b00100100, 0b00100101, 0b00100110, 0b00100111, 0b00101000, 0b00101001, 0b00101010, 0b00101011, 0b00101100, 0b00101101, 0b00101110, 0b00101111, 0b00110000, 0b00110001, 0b00110010, 0b00110011, 0b00110100, 0b00110101, 0b00110110, 0b00110111, 0b00111000, 0b00111001, 0b00111010, 0b00111011, 0b00111100, 0b00111101, 0b00111110, 0b00111111, 0b01000000, 0b01000001, 0b01000010, 0b01000011, 0b01000100, 0b01000101, 0b01000110, 0b01000111, 0b01001000, 0b01001001, 0b01001010, 0b01001011, 0b01001100, 0b01001101, 0b01001110, 0b01001111, 0b01010000, 0b01010001, 0b01010010, 0b01010011, 0b01010100, 0b01010101, 0b01010110, 0b01010111, 0b01011000, 0b01011001, 0b01011010, 0b01011011, 0b01011100, 0b01011101, 0b01011110, 0b01011111, 0b01100000, 0b01100001, 0b01100010, 0b01100011, 0b01100100, 0b01100101, 0b01100110, 0b01100111, 0b01101000, 0b01101001, 0b01101010, 0b01101011, 0b01101100, 0b01101101, 0b01101110, 0b01101111, 0b01110000, 0b01110001, 0b01110010, 0b01110011, 0b01110100, 0b01110101, 0b01110110, 0b01110111, 0b01111000, 0b01111001, 0b01111010, 0b01111011, 0b01111100, 0b01111101, 0b01111110, 0b01111111, 0b10000000, 0b10000001, 0b10000010, 0b10000011, 0b10000100, 0b10000101, 0b10000110, 0b10000111, 0b10001000, 0b10001001, 0b10001010, 0b10001011, 0b10001100, 0b10001101, 0b10001110, 0b10001111, 0b10010000, 0b10010001, 0b10010010, 0b10010011, 0b10010100, 0b10010101, 0b10010110, 0b10010111, 0b10011000, 0b10011001, 0b10011010, 0b10011011, 0b10011100, 0b10011101, 0b10011110, 0b10011111, 0b10100000, 0b10100001, 0b10100010, 0b10100011, 0b10100100, 0b10100101, 0b10100110, 0b10100111, 0b10101000, 0b10101001, 0b10101010, 0b10101011, 0b10101100, 0b10101101, 0b10101110, 0b10101111, 0b10110000, 0b10110001, 0b10110010, 0b10110011, 0b10110100, 0b10110101, 0b10110110, 0b10110111, 0b10111000, 0b10111001, 0b10111010, 0b10111011, 0b10111100, 0b10111101, 0b10111110, 0b10111111, 0b11000000, 0b11000001, 0b11000010, 0b11000011, 0b11000100, 0b11000101, 0b11000110, 0b11000111, 0b11001000, 0b11001001, 0b11001010, 0b11001011, 0b11001100, 0b11001101, 0b11001110, 0b11001111, 0b11010000, 0b11010001, 0b11010010, 0b11010011, 0b11010100, 0b11010101, 0b11010110, 0b11010111, 0b11011000, 0b11011001, 0b11011010, 0b11011011, 0b11011100, 0b11011101, 0b11011110, 0b11011111, 0b11100000, 0b11100001, 0b11100010, 0b11100011, 0b11100100, 0b11100101, 0b11100110, 0b11100111, 0b11101000, 0b11101001, 0b11101010, 0b11101011, 0b11101100, 0b11101101, 0b11101110, 0b11101111, 0b11110000, 0b11110001, 0b11110010, 0b11110011, 0b11110100, 0b11110101, 0b11110110, 0b11110111, 0b11111000, 0b11111001, 0b11111010, 0b11111011, 0b11111100, 0b11111101, 0b11111110, 0b11111111)
0083         #regionsAbsEtaLowerBounds=cms.vdouble(0,0.83,1.24),
0084         #regionsMinPt=cms.vdouble(2.0,2.0,2.1)
0085     ),
0086     delta12 = cms.PSet(
0087         maxDz = cms.double(1)
0088     ),
0089     delta13 = cms.PSet(
0090         maxDz = cms.double(1)
0091     ),
0092     #delta23 = cms.PSet(
0093     #    maxDz = cms.double(1)
0094     #)
0095 )
0096 pTripleTkMuon5_3_3 = cms.Path(TripleTkMuon533)
0097 algorithms.append(cms.PSet(expression = cms.string("pTripleTkMuon5_3_3")))
0098 
0099 ####### EG and PHO seeds ###########
0100 
0101 SingleEGEle51 = l1tGTSingleObjectCond.clone(
0102     tag = cms.InputTag("l1tGTProducer", "CL2Photons"),
0103     #minPt = cms.double(29.9),
0104     minEta = cms.double(-2.4),
0105     maxEta = cms.double(2.4),
0106     regionsAbsEtaLowerBounds=cms.vdouble(0,1.479),
0107     regionsMinPt=cms.vdouble(40.7,39.6),
0108     regionsQual=cms.vuint32(0b0010,0b0100),
0109     #qual = cms.vuint32(0b0010)
0110 )
0111 pSingleEGEle51 = cms.Path(SingleEGEle51) 
0112 algorithms.append(cms.PSet(expression = cms.string("pSingleEGEle51")))
0113 
0114 DoubleEGEle3724 = l1tGTDoubleObjectCond.clone(
0115     collection1 = cms.PSet(
0116         tag = cms.InputTag("l1tGTProducer", "CL2Photons"),
0117         #minPt = cms.double(20.6),
0118         minEta = cms.double(-2.4),
0119         maxEta = cms.double(2.4),
0120         regionsAbsEtaLowerBounds=cms.vdouble(0,1.479),
0121         regionsMinPt=cms.vdouble(28.9,28.4),
0122         regionsQual=cms.vuint32(0b0010,0b0100),
0123         #qual = cms.vuint32(0b0010)
0124     ),
0125     collection2 = cms.PSet(
0126         tag = cms.InputTag("l1tGTProducer", "CL2Photons"),
0127         #minPt = cms.double(9.6),
0128         minEta = cms.double(-2.4),
0129         maxEta = cms.double(2.4),
0130         regionsAbsEtaLowerBounds=cms.vdouble(0,1.479),
0131         regionsMinPt=cms.vdouble(17.9,18.0),
0132         regionsQual=cms.vuint32(0b0010,0b0100),
0133         #qual = cms.vuint32(0b0010)
0134     ),
0135     minDR = cms.double(0.1),
0136 )
0137 pDoubleEGEle37_24 = cms.Path(DoubleEGEle3724)
0138 algorithms.append(cms.PSet(expression = cms.string("pDoubleEGEle37_24")))
0139 
0140 IsoTkEleEGEle2212 = l1tGTDoubleObjectCond.clone(
0141     collection1 = cms.PSet(
0142         tag = cms.InputTag("l1tGTProducer", "CL2Electrons"),
0143         #minPt = cms.double(20.6),
0144         minEta = cms.double(-2.4),
0145         maxEta = cms.double(2.4),
0146         regionsAbsEtaLowerBounds=cms.vdouble(0,1.479),
0147         regionsMinPt=cms.vdouble(17.8,17.1),
0148         #regionsQual=cms.vuint32(0b0000,0b0010),
0149         regionsMaxIso = cms.vdouble(0.13,0.28)
0150         #qual = cms.vuint32(0b0010)
0151     ),
0152     collection2 = cms.PSet(
0153         tag = cms.InputTag("l1tGTProducer", "CL2Photons"),
0154         #minPt = cms.double(9.6),
0155         minEta = cms.double(-2.4),
0156         maxEta = cms.double(2.4),
0157         regionsAbsEtaLowerBounds=cms.vdouble(0,1.479),
0158         regionsMinPt=cms.vdouble(7.8,8.3),
0159         regionsQual=cms.vuint32(0b0010,0b0100)
0160         #qual = cms.vuint32(0b0010)
0161     ),
0162     minDR = cms.double(0.1),
0163 )
0164 pIsoTkEleEGEle22_12 = cms.Path(IsoTkEleEGEle2212)
0165 algorithms.append(cms.PSet(expression = cms.string("pIsoTkEleEGEle22_12")))
0166 
0167 SingleTkEle36 = l1tGTSingleObjectCond.clone(
0168     tag = cms.InputTag("l1tGTProducer", "CL2Electrons"),
0169     #minPt = cms.double(29.9),
0170     minEta = cms.double(-2.4),
0171     maxEta = cms.double(2.4),
0172     regionsAbsEtaLowerBounds=cms.vdouble(0,1.479),
0173     regionsMinPt=cms.vdouble(29.8,28.5),
0174     regionsQual=cms.vuint32(0b0010,0b0010)
0175     #qual = cms.vuint32(0b0010)
0176 )
0177 pSingleTkEle36 = cms.Path(SingleTkEle36) 
0178 algorithms.append(cms.PSet(expression = cms.string("pSingleTkEle36")))
0179 
0180 SingleIsoTkEle28 = l1tGTSingleObjectCond.clone(
0181     tag = cms.InputTag("l1tGTProducer", "CL2Electrons"),
0182     #minPt = cms.double(29.9),
0183     minEta = cms.double(-2.4),
0184     maxEta = cms.double(2.4),
0185     regionsAbsEtaLowerBounds=cms.vdouble(0,1.479),
0186     regionsMinPt=cms.vdouble(23,22.1),
0187     #regionsQual=cms.vuint32(0b0000,0b0010),
0188     regionsMaxIso = cms.vdouble(0.13,0.28)
0189     #qual = cms.vuint32(0b0010)
0190 )
0191 pSingleIsoTkEle28 = cms.Path(SingleIsoTkEle28) 
0192 algorithms.append(cms.PSet(expression = cms.string("pSingleIsoTkEle28")))
0193 
0194 #SingleIsoTkEle28Barrel = l1tGTSingleObjectCond.clone(
0195 #    tag = cms.InputTag("l1tGTProducer", "CL2Electrons"),
0196 #    minPt = cms.double(23), 
0197 #    minEta = cms.double(-1.479),
0198 #    maxEta = cms.double(1.479),
0199     #maxIso = cms.double(0.13),
0200 #)
0201 #pSingleIsoTkEle28Barrel = cms.Path(SingleIsoTkEle28Barrel)
0202 #algorithms.append(cms.PSet(expression = cms.string("pSingleIsoTkEle28Barrel")))
0203 
0204 #SingleIsoTkEle28BarrelQual = l1tGTSingleObjectCond.clone(
0205 #    tag = cms.InputTag("l1tGTProducer", "CL2Electrons"),
0206 #    minPt = cms.double(23), 
0207 #    minEta = cms.double(-1.479),
0208 #    maxEta = cms.double(1.479),
0209 #    qual = cms.vuint32(0b0000),
0210     #maxIso = cms.double(0.13),
0211 #)
0212 #pSingleIsoTkEle28BarrelQual = cms.Path(SingleIsoTkEle28BarrelQual)
0213 #algorithms.append(cms.PSet(expression = cms.string("pSingleIsoTkEle28BarrelQual")))
0214 
0215 #SingleIsoTkEle28Endcap = l1tGTSingleObjectCond.clone(
0216 #    tag = cms.InputTag("l1tGTProducer", "CL2Electrons"),
0217 #    minPt = cms.double(21.9),
0218 #    minEtaAbs = cms.double(1.479),
0219 #    maxEtaAbs = cms.double(2.4),
0220 #    qual = cms.vuint32(0b0010,0b0011,0b0110,0b1010,0b0111,0b1011,0b1110,0b1111),
0221     #maxIso = cms.double(0.28)
0222 #)
0223 #pSingleIsoTkEle28Endcap = cms.Path(SingleIsoTkEle28Endcap) 
0224 #algorithms.append(cms.PSet(expression = cms.string("pSingleIsoTkEle28Endcap")))
0225 
0226 #algorithms.append(cms.PSet(name=cms.string("pSingleIsoTkEle28OLD"),
0227 #                       expression=cms.string("pSingleIsoTkEle28Barrel or pSingleIsoTkEle28Endcap")))
0228 
0229 
0230 SingleIsoTkPho36 = l1tGTSingleObjectCond.clone(
0231     tag = cms.InputTag("l1tGTProducer", "CL2Photons"),
0232     #minPt = cms.double(30.8),
0233     minEta = cms.double(-2.4),
0234     maxEta = cms.double(2.4),
0235     regionsAbsEtaLowerBounds=cms.vdouble(0,1.479),
0236     regionsMinPt=cms.vdouble(30.4,29.0),
0237     regionsQual=cms.vuint32(0b0010,0b0100),
0238     regionsMaxIso = cms.vdouble(0.25,0.205)
0239     #qual = cms.vuint32(0b0100),
0240     #maxIso = cms.double(0.205)
0241 )
0242 pSingleIsoTkPho36 = cms.Path(SingleIsoTkPho36) 
0243 
0244 algorithms.append(cms.PSet(expression=cms.string("pSingleIsoTkPho36")))
0245 
0246 #SingleIsoTkPho36Barrel = l1tGTSingleObjectCond.clone(
0247 #    tag = cms.InputTag("l1tGTProducer", "CL2Photons"),
0248 #    minPt = cms.double(30.8),
0249 #    minEta = cms.double(-1.479), 
0250 #    maxEta = cms.double(1.479),
0251 #    qual = cms.vuint32(0b0010),
0252 #    maxIso = cms.double(0.25)
0253 #)
0254 #pSingleIsoTkPho36Barrel = cms.Path(SingleIsoTkPho36Barrel) 
0255 
0256 #SingleIsoTkPho36Endcap = l1tGTSingleObjectCond.clone(
0257 #    tag = cms.InputTag("l1tGTProducer", "CL2Photons"),
0258 #    minPt = cms.double(30.8),
0259 #    minEtaAbs = cms.double(1.479),
0260 #    maxEtaAbs = cms.double(2.4),
0261 #    qual = cms.vuint32(0b0100),
0262 #    maxIso = cms.double(0.205)
0263 #)
0264 #pSingleIsoTkPho36Endcap = cms.Path(SingleIsoTkPho36Endcap) 
0265 #
0266 #algorithms.append(cms.PSet(name=cms.string("pSingleIsoTkPho36"),
0267 #                       expression=cms.string("pSingleIsoTkPho36Barrel or pSingleIsoTkPho36Endcap")))
0268 
0269 DoubleTkEle2512 = l1tGTDoubleObjectCond.clone(
0270     collection1 = cms.PSet(
0271         tag = cms.InputTag("l1tGTProducer", "CL2Electrons"),
0272         #minPt = cms.double(20.6),
0273         minEta = cms.double(-2.4),
0274         maxEta = cms.double(2.4),
0275         regionsAbsEtaLowerBounds=cms.vdouble(0,1.479),
0276         regionsMinPt=cms.vdouble(20.3,19.5),
0277         regionsQual=cms.vuint32(0b0010,0b0000)
0278         #qual = cms.vuint32(0b0010)
0279     ),
0280     collection2 = cms.PSet(
0281         tag = cms.InputTag("l1tGTProducer", "CL2Electrons"),
0282         #minPt = cms.double(9.6),
0283         minEta = cms.double(-2.4),
0284         maxEta = cms.double(2.4),
0285         regionsAbsEtaLowerBounds=cms.vdouble(0,1.479),
0286         regionsMinPt=cms.vdouble(9.1,8.8),
0287         regionsQual=cms.vuint32(0b0010,0b0000)
0288         #qual = cms.vuint32(0b0010)
0289     ),
0290     maxDz = cms.double(1),
0291 )
0292 pDoubleTkEle25_12 = cms.Path(DoubleTkEle2512)
0293 algorithms.append(cms.PSet(expression = cms.string("pDoubleTkEle25_12")))
0294 
0295 DoubleIsoTkPho2212 = l1tGTDoubleObjectCond.clone(
0296     collection1 = cms.PSet(
0297         tag = cms.InputTag("l1tGTProducer", "CL2Photons"),
0298         #minPt = cms.double(20.6),
0299         minEta = cms.double(-2.4),
0300         maxEta = cms.double(2.4),
0301         regionsAbsEtaLowerBounds=cms.vdouble(0,1.479),
0302         regionsMinPt=cms.vdouble(17.6,15.9),
0303         regionsQual=cms.vuint32(0b0010,0b0100),
0304         regionsMaxIso = cms.vdouble(0.25,0.205)
0305         #qual = cms.vuint32(0b0010)
0306     ),
0307     collection2 = cms.PSet(
0308         tag = cms.InputTag("l1tGTProducer", "CL2Photons"),
0309         #minPt = cms.double(9.6),
0310         minEta = cms.double(-2.4),
0311         maxEta = cms.double(2.4),
0312         regionsAbsEtaLowerBounds=cms.vdouble(0,1.479),
0313         regionsMinPt=cms.vdouble(8.5,6.0),
0314         regionsQual=cms.vuint32(0b0010,0b0100),
0315         regionsMaxIso = cms.vdouble(0.25,0.205)
0316         #qual = cms.vuint32(0b0010)
0317     ),
0318 )
0319 pDoubleIsoTkPho22_12 = cms.Path(DoubleIsoTkPho2212)
0320 algorithms.append(cms.PSet(expression = cms.string("pDoubleIsoTkPho22_12")))
0321 
0322 
0323 
0324 #SingleIsoTkPho36 = l1tGTSingleObjectCond.clone(
0325 #    tag = cms.InputTag("l1tGTProducer", "CL2Photons"),
0326 #    #minPt = cms.double(30.8),
0327 #    minEta = cms.double(-2.4),
0328 #    maxEta = cms.double(2.4),
0329 #    regionsAbsEtaLowerBounds=cms.vdouble(0,1.479),
0330 #    regionsMinPt=cms.vdouble(30.8,29.2),
0331 #    regionsQual=cms.vuint32(0b0010,0b0100)
0332     #qual = cms.vuint32(0b0100),
0333     #maxIso = cms.double(0.205)
0334 #)
0335 #pSingleIsoTkPho36 = cms.Path(SingleIsoTkPho36) 
0336 
0337 #algorithms.append(cms.PSet(expression=cms.string("pSingleIsoTkPho36")))
0338 
0339 
0340 
0341 
0342 
0343 #SingleIsoTkPho22Barrel = l1tGTSingleObjectCond.clone(
0344 #    tag = cms.InputTag("l1tGTProducer", "CL2Photons"),
0345 #    minPt = cms.double(17.1),
0346 #    minEta = cms.double(-1.479), 
0347 #    maxEta = cms.double(1.479),
0348 #    qual = cms.vuint32(0b0010),
0349 #    maxIso = cms.double(0.25)
0350 #)
0351 #pSingleIsoTkPho22Barrel = cms.Path(SingleIsoTkPho22Barrel) 
0352 
0353 #SingleIsoTkPho22Endcap = l1tGTSingleObjectCond.clone(
0354 #    tag = cms.InputTag("l1tGTProducer", "CL2Photons"),
0355 #    minPt = cms.double(17.1),
0356 #    minEtaAbs = cms.double(1.479),
0357 #    maxEtaAbs = cms.double(2.4),
0358 #    qual = cms.vuint32(0b0100),
0359 #    maxIso = cms.double(0.205)
0360 #)
0361 #pSingleIsoTkPho22Endcap = cms.Path(SingleIsoTkPho22Endcap) 
0362 
0363 #SingleIsoTkPho12Barrel = l1tGTSingleObjectCond.clone(
0364 #    tag = cms.InputTag("l1tGTProducer", "CL2Photons"),
0365 #    minPt = cms.double(8.8),
0366 #    minEta = cms.double(-1.479), 
0367 #    maxEta = cms.double(1.479),
0368 #    qual = cms.vuint32(0b0010),
0369 #    maxIso = cms.double(0.25)
0370 #)
0371 #pSingleIsoTkPho12Barrel = cms.Path(SingleIsoTkPho12Barrel) 
0372 
0373 #SingleIsoTkPho12EndcapPos = l1tGTSingleObjectCond.clone(
0374 #    tag = cms.InputTag("l1tGTProducer", "CL2Photons"),
0375 #    minPt = cms.double(8.8),
0376 #    minEtaAbs = cms.double(1.479),
0377 #    maxEtaAbs = cms.double(2.4),
0378 #    qual = cms.vuint32(0b0100),
0379 #    maxIso = cms.double(0.205)
0380 #)
0381 #pSingleIsoTkPho12EndcapPos = cms.Path(SingleIsoTkPho12EndcapPos) 
0382 
0383 #algorithms.append(cms.PSet(name=cms.string("pDoubleTkIsoPho22_12"),
0384 #                       expression=cms.string("(pSingleIsoTkPho22Barrel or pSingleIsoTkPho22EndcapPos or pSingleIsoTkPho22EndcapNeg) and (pSingleIsoTkPho12Barrel or pSingleIsoTkPho12EndcapPos or pSingleIsoTkPho12EndcapNeg)")))
0385 
0386 
0387 
0388 DoublePuppiTau5252 = l1tGTDoubleObjectCond.clone(
0389     collection1 = cms.PSet(
0390         tag = cms.InputTag("l1tGTProducer", "CL2Taus"),
0391         minEta = cms.double(-2.172),
0392         maxEta = cms.double(2.172),
0393         regionsAbsEtaLowerBounds=cms.vdouble(0,1.5),
0394         regionsMinPt=cms.vdouble(28.6,19.6),
0395         minHwIso = cms.int32(286),
0396     ),
0397     collection2 = cms.PSet(
0398         tag = cms.InputTag("l1tGTProducer", "CL2Taus"),
0399         minEta = cms.double(-2.172),
0400         maxEta = cms.double(2.172),
0401         regionsAbsEtaLowerBounds=cms.vdouble(0,1.5),
0402         regionsMinPt=cms.vdouble(28.6,19.6),
0403         minHwIso = cms.int32(286),
0404     ),
0405     minDR = cms.double(0.5),
0406 )
0407 pDoublePuppiTau52_52 = cms.Path(DoublePuppiTau5252)
0408 algorithms.append(cms.PSet(expression = cms.string("pDoublePuppiTau52_52")))
0409