Changes in / [9327245:20ca0cd] in git
- Files:
-
- 2 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
cards/CMS_PhaseII/CMS_PhaseII_Substructure_PIX4022_0PU.tcl
r9327245 r20ca0cd 33 33 PhotonEnergySmearing 34 34 ElectronFilter 35 36 35 TrackPileUpSubtractor 37 RecoPuFilter38 36 39 37 TowerMerger 40 38 NeutralEFlowMerger 41 39 EFlowMergerAllTracks 42 40 EFlowMerger 43 EFlowMergerCHS44 Rho45 41 46 42 LeptonFilterNoLep … … 52 48 53 49 PhotonIsolation 54 PhotonIsolationCHS55 50 PhotonEfficiency 56 PhotonEfficiencyCHS57 51 58 52 ElectronIsolation 59 ElectronIsolationCHS60 61 53 ElectronEfficiency 62 ElectronEfficiencyCHS63 54 64 55 MuonIsolation 65 MuonIsolationCHS66 67 56 MuonLooseIdEfficiency 68 57 MuonTightIdEfficiency 69 70 MuonLooseIdEfficiencyCHS71 MuonTightIdEfficiencyCHS72 58 73 59 NeutrinoFilter … … 82 68 FastJetFinder 83 69 FastJetFinderAK8 84 JetPileUpSubtractor85 JetPileUpSubtractorAK886 70 FastJetFinderPUPPI 87 71 FastJetFinderPUPPIAK8 … … 137 121 138 122 # maximum spread in the beam direction in m 139 set ZVertexSpread 0 .25123 set ZVertexSpread 0 140 124 141 125 # maximum spread in time in s 142 set TVertexSpread 800E-12126 set TVertexSpread 0 143 127 144 128 # vertex smearing formula f(z,t) (z,t need to be respectively given in m,s) - {exp(-(t^2/160e-12^2/2))*exp(-(z^2/0.053^2/2))} 145 set VertexDistributionFormula {exp(-(t^2/160e-12^2/2))*exp(-(z^2/0.053^2/2))}129 set VertexDistributionFormula 1 146 130 147 131 } … … 289 273 source muonMomentumResolution.tcl 290 274 } 275 276 277 291 278 292 279 ############## … … 540 527 } 541 528 542 ########################543 # Reco PU filter544 ########################545 546 module RecoPuFilter RecoPuFilter {547 set InputArray HCal/eflowTracks548 set OutputArray eflowTracks549 }550 529 551 530 ################################################### … … 560 539 } 561 540 541 562 542 #################### 563 543 # Neutral eflow erger … … 571 551 } 572 552 573 ##################### 553 554 #################### 574 555 # Energy flow merger 575 #################### #556 #################### 576 557 577 558 module Merger EFlowMerger { … … 583 564 } 584 565 585 ############################ 586 # Energy flow merger no PU587 ############################ 588 589 module Merger EFlowMerger CHS{566 ################################## 567 # Energy flow merger (all tracks) 568 ################################## 569 570 module Merger EFlowMergerAllTracks { 590 571 # add InputArray InputArray 591 add InputArray RecoPuFilter/eflowTracks572 add InputArray TrackMerger/tracks 592 573 add InputArray PhotonEnergySmearing/eflowPhotons 593 574 add InputArray HCal/eflowNeutralHadrons … … 714 695 } 715 696 697 716 698 ##################### 717 699 # MC truth jet finder … … 753 735 } 754 736 755 756 ############# 757 # Rho pile-up 758 ############# 759 760 module FastJetFinder Rho { 761 # set InputArray Calorimeter/towers 762 set InputArray EFlowMergerCHS/eflow 763 764 set ComputeRho true 765 set RhoOutputArray rho 766 767 # area algorithm: 0 Do not compute area, 1 Active area explicit ghosts, 2 One ghost passive area, 3 Passive area, 4 Voronoi, 5 Active area 768 set AreaAlgorithm 5 769 770 # jet algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt 771 set JetAlgorithm 4 772 set ParameterR 0.4 773 set GhostEtaMax 5.0 774 775 add RhoEtaRange -5.0 -4.0 776 add RhoEtaRange -4.0 -1.5 777 add RhoEtaRange -1.5 1.5 778 add RhoEtaRange 1.5 4.0 779 add RhoEtaRange 4.0 5.0 780 781 set JetPTMin 0.0 782 } 783 784 785 ############## 737 ############ 786 738 # Jet finder 787 ############ ##739 ############ 788 740 789 741 module FastJetFinder FastJetFinder { 790 742 # set InputArray TowerMerger/towers 791 set InputArray EFlowMerger CHS/eflow743 set InputArray EFlowMerger/eflow 792 744 793 745 set OutputArray jets 794 795 set AreaAlgorithm 5796 746 797 747 # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt … … 805 755 module FastJetFinder FastJetFinderAK8 { 806 756 # set InputArray TowerMerger/towers 807 set InputArray EFlowMerger CHS/eflow757 set InputArray EFlowMerger/eflow 808 758 809 759 set OutputArray jets 810 811 set AreaAlgorithm 5812 760 813 761 # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt … … 836 784 } 837 785 838 ###########################839 # Jet Pile-Up Subtraction840 ###########################841 842 module JetPileUpSubtractor JetPileUpSubtractor {843 set JetInputArray FastJetFinder/jets844 set RhoInputArray Rho/rho845 846 set OutputArray jets847 848 set JetPTMin 15.0849 }850 851 ##############################852 # Jet Pile-Up Subtraction AK8853 ##############################854 855 module JetPileUpSubtractor JetPileUpSubtractorAK8 {856 set JetInputArray FastJetFinderAK8/jets857 set RhoInputArray Rho/rho858 859 set OutputArray jets860 861 set JetPTMin 15.0862 }863 864 786 module FastJetFinder FastJetFinderPUPPI { 865 787 # set InputArray TowerMerger/towers … … 911 833 912 834 module EnergyScale JetEnergyScale { 913 set InputArray JetPileUpSubtractor/jets835 set InputArray FastJetFinder/jets 914 836 set OutputArray jets 915 837 … … 919 841 920 842 module EnergyScale JetEnergyScaleAK8 { 921 set InputArray JetPileUpSubtractorAK8/jets843 set InputArray FastJetFinderAK8/jets 922 844 set OutputArray jets 923 845 … … 985 907 } 986 908 987 988 ########################989 # Photon isolation CHS #990 ########################991 992 module Isolation PhotonIsolationCHS {993 994 # particle for which calculate the isolation995 set CandidateInputArray PhotonFilter/photons996 997 # isolation collection998 set IsolationInputArray EFlowMerger/eflow999 1000 # output array1001 set OutputArray photons1002 1003 # isolation cone1004 set DeltaRMax 0.31005 1006 # minimum pT1007 set PTMin 1.01008 1009 # iso ratio to cut1010 set PTRatioMax 9999.1011 1012 }1013 909 1014 910 … … 1033 929 1034 930 1035 #####################1036 # Photon efficiency #1037 #####################1038 1039 module Efficiency PhotonEfficiencyCHS {1040 1041 ## input particles1042 set InputArray PhotonIsolationCHS/photons1043 ## output particles1044 set OutputArray photons1045 # set EfficiencyFormula {efficiency formula as a function of eta and pt}1046 # efficiency formula for photons1047 set EfficiencyFormula { (pt <= 10.0) * (0.00) + \1048 (abs(eta) <= 1.5) * (pt > 10.0) * (0.9635) + \1049 (abs(eta) > 1.5 && abs(eta) <= 4.0) * (pt > 10.0) * (0.9624) + \1050 (abs(eta) > 4.0) * (0.00)}1051 1052 }1053 1054 931 ###################### 1055 932 # Electron isolation # … … 1072 949 } 1073 950 1074 1075 ##########################1076 # Electron isolation CHS #1077 ##########################1078 1079 module Isolation ElectronIsolationCHS {1080 1081 set CandidateInputArray ElectronFilter/electrons1082 1083 # isolation collection1084 set IsolationInputArray EFlowMerger/eflow1085 1086 set OutputArray electrons1087 1088 set DeltaRMax 0.31089 set PTMin 1.01090 set PTRatioMax 9999.1091 1092 }1093 951 1094 952 … … 1137 995 } 1138 996 1139 ###########################1140 # Electron efficiency CHS #1141 ###########################1142 1143 module Efficiency ElectronEfficiencyCHS {1144 1145 set InputArray ElectronIsolationCHS/electrons1146 set OutputArray electrons1147 1148 # set EfficiencyFormula {efficiency formula as a function of eta and pt}1149 # efficiency formula for electrons1150 set EfficiencyFormula {1151 (pt <= 4.0) * (0.00) + \1152 (abs(eta) <= 1.45 ) * (pt > 4.0 && pt <= 6.0) * (0.50) + \1153 (abs(eta) <= 1.45 ) * (pt > 6.0 && pt <= 8.0) * (0.70) + \1154 (abs(eta) <= 1.45 ) * (pt > 8.0 && pt <= 10.0) * (0.85) + \1155 (abs(eta) <= 1.45 ) * (pt > 10.0 && pt <= 30.0) * (0.94) + \1156 (abs(eta) <= 1.45 ) * (pt > 30.0 && pt <= 50.0) * (0.97) + \1157 (abs(eta) <= 1.45 ) * (pt > 50.0 && pt <= 70.0) * (0.98) + \1158 (abs(eta) <= 1.45 ) * (pt > 70.0 ) * (1.0) + \1159 (abs(eta) > 1.45 && abs(eta) <= 1.55) * (pt > 4.0 && pt <= 10.0) * (0.35) + \1160 (abs(eta) > 1.45 && abs(eta) <= 1.55) * (pt > 10.0 && pt <= 30.0) * (0.40) + \1161 (abs(eta) > 1.45 && abs(eta) <= 1.55) * (pt > 30.0 && pt <= 70.0) * (0.45) + \1162 (abs(eta) > 1.45 && abs(eta) <= 1.55) * (pt > 70.0 ) * (0.55) + \1163 (abs(eta) >= 1.55 && abs(eta) <= 2.0 ) * (pt > 4.0 && pt <= 10.0) * (0.75) + \1164 (abs(eta) >= 1.55 && abs(eta) <= 2.0 ) * (pt > 10.0 && pt <= 30.0) * (0.85) + \1165 (abs(eta) >= 1.55 && abs(eta) <= 2.0 ) * (pt > 30.0 && pt <= 50.0) * (0.95) + \1166 (abs(eta) >= 1.55 && abs(eta) <= 2.0 ) * (pt > 50.0 && pt <= 70.0) * (0.95) + \1167 (abs(eta) >= 1.55 && abs(eta) <= 2.0 ) * (pt > 70.0 ) * (1.0) + \1168 (abs(eta) >= 2.0 && abs(eta) <= 2.5 ) * (pt > 4.0 && pt <= 10.0) * (0.65) + \1169 (abs(eta) >= 2.0 && abs(eta) <= 2.5 ) * (pt > 10.0 && pt <= 30.0) * (0.75) + \1170 (abs(eta) >= 2.0 && abs(eta) <= 2.5 ) * (pt > 30.0 && pt <= 50.0) * (0.90) + \1171 (abs(eta) >= 2.0 && abs(eta) <= 2.5 ) * (pt > 50.0 && pt <= 70.0) * (0.90) + \1172 (abs(eta) >= 2.0 && abs(eta) <= 2.5 ) * (pt > 70.0 ) * (0.90) + \1173 (abs(eta) > 2.5 && abs(eta) <= 4.0 ) * (pt > 4.0 && pt <= 10.0) * (0.65) + \1174 (abs(eta) > 2.5 && abs(eta) <= 4.0 ) * (pt > 10.0 && pt <= 30.0) * (0.75) + \1175 (abs(eta) > 2.5 && abs(eta) <= 4.0 ) * (pt > 30.0 && pt <= 50.0) * (0.90) + \1176 (abs(eta) > 2.5 && abs(eta) <= 4.0 ) * (pt > 50.0 && pt <= 70.0) * (0.90) + \1177 (abs(eta) > 2.5 && abs(eta) <= 4.0 ) * (pt > 70.0 ) * (0.90) + \1178 (abs(eta) > 4.0) * (0.00)1179 1180 }1181 }1182 1183 1184 997 ################## 1185 998 # Muon isolation # … … 1200 1013 } 1201 1014 1202 ###################### 1203 # Muon isolation CHS # 1204 ###################### 1205 1206 module Isolation MuonIsolationCHS { 1207 set CandidateInputArray MuonMomentumSmearing/muons 1208 1209 # isolation collection 1210 set IsolationInputArray EFlowMerger/eflow 1211 1212 set OutputArray muons 1213 1214 set DeltaRMax 0.3 1215 set PTMin 1.0 1216 set PTRatioMax 9999. 1217 1218 } 1219 1220 1221 ##################### 1222 # Muon Loose Id # 1223 ##################### 1015 1016 ################## 1017 # Muon Loose Id # 1018 ################## 1224 1019 1225 1020 module Efficiency MuonLooseIdEfficiency { … … 1243 1038 } 1244 1039 1245 1246 #####################1247 # Muon Loose Id CHS #1248 #####################1249 1250 module Efficiency MuonLooseIdEfficiencyCHS {1251 set InputArray MuonIsolationCHS/muons1252 set OutputArray muons1253 # tracking + LooseID efficiency formula for muons1254 source muonLooseId.tcl1255 1256 }1257 1258 1259 ######################1260 # Muon Tight Id CHS #1261 ######################1262 1263 module Efficiency MuonTightIdEfficiencyCHS {1264 set InputArray MuonIsolationCHS/muons1265 set OutputArray muons1266 # tracking + TightID efficiency formula for muons1267 source muonTightId.tcl1268 }1269 1040 1270 1041 … … 1479 1250 module StatusPidFilter GenParticleFilter { 1480 1251 1481 set InputArray Delphes/allParticles1252 set InputArray Delphes/allParticles 1482 1253 set OutputArray filteredParticles 1483 1254 set PTMin 5.0 … … 1507 1278 add Branch MuonLooseIdEfficiency/muons MuonLoose Muon 1508 1279 add Branch MuonTightIdEfficiency/muons MuonTight Muon 1509 1510 add Branch PhotonEfficiencyCHS/photons PhotonCHS Photon1511 add Branch ElectronEfficiencyCHS/electrons ElectronCHS Electron1512 add Branch MuonLooseIdEfficiencyCHS/muons MuonLooseCHS Muon1513 add Branch MuonTightIdEfficiencyCHS/muons MuonTightCHS Muon1514 1280 1515 1281 add Branch JetEnergyScale/jets Jet Jet … … 1523 1289 add Branch GenPileUpMissingET/momentum GenPileUpMissingET MissingET 1524 1290 add Branch ScalarHT/energy ScalarHT ScalarHT 1525 1526 } 1291 } -
cards/CMS_PhaseII/CMS_PhaseII_Substructure_PIX4022_200PU.tcl
r9327245 r20ca0cd 33 33 PhotonEnergySmearing 34 34 ElectronFilter 35 36 35 TrackPileUpSubtractor 37 RecoPuFilter38 36 39 37 TowerMerger 40 38 NeutralEFlowMerger 41 39 EFlowMergerAllTracks 42 40 EFlowMerger 43 EFlowMergerCHS44 Rho45 41 46 42 LeptonFilterNoLep … … 52 48 53 49 PhotonIsolation 54 PhotonIsolationCHS55 50 PhotonEfficiency 56 PhotonEfficiencyCHS57 51 58 52 ElectronIsolation 59 ElectronIsolationCHS60 61 53 ElectronEfficiency 62 ElectronEfficiencyCHS63 54 64 55 MuonIsolation 65 MuonIsolationCHS66 67 56 MuonLooseIdEfficiency 68 57 MuonTightIdEfficiency 69 70 MuonLooseIdEfficiencyCHS71 MuonTightIdEfficiencyCHS72 58 73 59 NeutrinoFilter … … 82 68 FastJetFinder 83 69 FastJetFinderAK8 84 JetPileUpSubtractor85 JetPileUpSubtractorAK886 70 FastJetFinderPUPPI 87 71 FastJetFinderPUPPIAK8 … … 142 126 set TVertexSpread 800E-12 143 127 144 # vertex smearing formula f(z,t) (z,t need to be respectively given in m,s) - {exp(-(t^2/160e-12^2/2))*exp(-(z^2/0.053^2/2))}128 # vertex smearing formula f(z,t) (z,t need to be respectively given in m,s) 145 129 set VertexDistributionFormula {exp(-(t^2/160e-12^2/2))*exp(-(z^2/0.053^2/2))} 146 130 … … 154 138 module ParticlePropagator ParticlePropagator { 155 139 set InputArray PileUpMerger/stableParticles 156 #set InputArray Delphes/stableParticles157 140 158 141 set OutputArray stableParticles … … 289 272 source muonMomentumResolution.tcl 290 273 } 274 275 276 291 277 292 278 ############## … … 540 526 } 541 527 542 ########################543 # Reco PU filter544 ########################545 546 module RecoPuFilter RecoPuFilter {547 set InputArray HCal/eflowTracks548 set OutputArray eflowTracks549 }550 528 551 529 ################################################### … … 560 538 } 561 539 540 562 541 #################### 563 542 # Neutral eflow erger … … 571 550 } 572 551 573 ##################### 552 553 #################### 574 554 # Energy flow merger 575 #################### #555 #################### 576 556 577 557 module Merger EFlowMerger { … … 583 563 } 584 564 585 ############################ 586 # Energy flow merger no PU587 ############################ 588 589 module Merger EFlowMerger CHS{565 ################################## 566 # Energy flow merger (all tracks) 567 ################################## 568 569 module Merger EFlowMergerAllTracks { 590 570 # add InputArray InputArray 591 add InputArray RecoPuFilter/eflowTracks571 add InputArray TrackMerger/tracks 592 572 add InputArray PhotonEnergySmearing/eflowPhotons 593 573 add InputArray HCal/eflowNeutralHadrons … … 714 694 } 715 695 696 716 697 ##################### 717 698 # MC truth jet finder … … 754 735 755 736 756 ############# 757 # Rho pile-up 758 ############# 759 760 module FastJetFinder Rho { 761 # set InputArray Calorimeter/towers 762 set InputArray EFlowMergerCHS/eflow 763 764 set ComputeRho true 765 set RhoOutputArray rho 766 767 # area algorithm: 0 Do not compute area, 1 Active area explicit ghosts, 2 One ghost passive area, 3 Passive area, 4 Voronoi, 5 Active area 768 set AreaAlgorithm 5 769 770 # jet algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt 771 set JetAlgorithm 4 772 set ParameterR 0.4 773 set GhostEtaMax 5.0 774 775 add RhoEtaRange -5.0 -4.0 776 add RhoEtaRange -4.0 -1.5 777 add RhoEtaRange -1.5 1.5 778 add RhoEtaRange 1.5 4.0 779 add RhoEtaRange 4.0 5.0 780 781 set JetPTMin 0.0 782 } 783 784 785 ############## 737 738 ############ 786 739 # Jet finder 787 ############ ##740 ############ 788 741 789 742 module FastJetFinder FastJetFinder { 790 743 # set InputArray TowerMerger/towers 791 set InputArray EFlowMerger CHS/eflow744 set InputArray EFlowMerger/eflow 792 745 793 746 set OutputArray jets 794 795 set AreaAlgorithm 5796 747 797 748 # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt … … 805 756 module FastJetFinder FastJetFinderAK8 { 806 757 # set InputArray TowerMerger/towers 807 set InputArray EFlowMerger CHS/eflow758 set InputArray EFlowMerger/eflow 808 759 809 760 set OutputArray jets 810 811 set AreaAlgorithm 5812 761 813 762 # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt … … 836 785 } 837 786 838 ###########################839 # Jet Pile-Up Subtraction840 ###########################841 842 module JetPileUpSubtractor JetPileUpSubtractor {843 set JetInputArray FastJetFinder/jets844 set RhoInputArray Rho/rho845 846 set OutputArray jets847 848 set JetPTMin 15.0849 }850 851 ##############################852 # Jet Pile-Up Subtraction AK8853 ##############################854 855 module JetPileUpSubtractor JetPileUpSubtractorAK8 {856 set JetInputArray FastJetFinderAK8/jets857 set RhoInputArray Rho/rho858 859 set OutputArray jets860 861 set JetPTMin 15.0862 }863 864 787 module FastJetFinder FastJetFinderPUPPI { 865 788 # set InputArray TowerMerger/towers … … 911 834 912 835 module EnergyScale JetEnergyScale { 913 set InputArray JetPileUpSubtractor/jets836 set InputArray FastJetFinder/jets 914 837 set OutputArray jets 915 838 … … 919 842 920 843 module EnergyScale JetEnergyScaleAK8 { 921 set InputArray JetPileUpSubtractorAK8/jets844 set InputArray FastJetFinderAK8/jets 922 845 set OutputArray jets 923 846 … … 985 908 } 986 909 987 988 ########################989 # Photon isolation CHS #990 ########################991 992 module Isolation PhotonIsolationCHS {993 994 # particle for which calculate the isolation995 set CandidateInputArray PhotonFilter/photons996 997 # isolation collection998 set IsolationInputArray EFlowMerger/eflow999 1000 # output array1001 set OutputArray photons1002 1003 # isolation cone1004 set DeltaRMax 0.31005 1006 # minimum pT1007 set PTMin 1.01008 1009 # iso ratio to cut1010 set PTRatioMax 9999.1011 1012 }1013 910 1014 911 … … 1033 930 1034 931 1035 #####################1036 # Photon efficiency #1037 #####################1038 1039 module Efficiency PhotonEfficiencyCHS {1040 1041 ## input particles1042 set InputArray PhotonIsolationCHS/photons1043 ## output particles1044 set OutputArray photons1045 # set EfficiencyFormula {efficiency formula as a function of eta and pt}1046 # efficiency formula for photons1047 set EfficiencyFormula { (pt <= 10.0) * (0.00) + \1048 (abs(eta) <= 1.5) * (pt > 10.0) * (0.9635) + \1049 (abs(eta) > 1.5 && abs(eta) <= 4.0) * (pt > 10.0) * (0.9624) + \1050 (abs(eta) > 4.0) * (0.00)}1051 1052 }1053 1054 932 ###################### 1055 933 # Electron isolation # … … 1072 950 } 1073 951 1074 1075 ##########################1076 # Electron isolation CHS #1077 ##########################1078 1079 module Isolation ElectronIsolationCHS {1080 1081 set CandidateInputArray ElectronFilter/electrons1082 1083 # isolation collection1084 set IsolationInputArray EFlowMerger/eflow1085 1086 set OutputArray electrons1087 1088 set DeltaRMax 0.31089 set PTMin 1.01090 set PTRatioMax 9999.1091 1092 }1093 952 1094 953 … … 1137 996 } 1138 997 1139 ###########################1140 # Electron efficiency CHS #1141 ###########################1142 1143 module Efficiency ElectronEfficiencyCHS {1144 1145 set InputArray ElectronIsolationCHS/electrons1146 set OutputArray electrons1147 1148 # set EfficiencyFormula {efficiency formula as a function of eta and pt}1149 # efficiency formula for electrons1150 set EfficiencyFormula {1151 (pt <= 4.0) * (0.00) + \1152 (abs(eta) <= 1.45 ) * (pt > 4.0 && pt <= 6.0) * (0.50) + \1153 (abs(eta) <= 1.45 ) * (pt > 6.0 && pt <= 8.0) * (0.70) + \1154 (abs(eta) <= 1.45 ) * (pt > 8.0 && pt <= 10.0) * (0.85) + \1155 (abs(eta) <= 1.45 ) * (pt > 10.0 && pt <= 30.0) * (0.94) + \1156 (abs(eta) <= 1.45 ) * (pt > 30.0 && pt <= 50.0) * (0.97) + \1157 (abs(eta) <= 1.45 ) * (pt > 50.0 && pt <= 70.0) * (0.98) + \1158 (abs(eta) <= 1.45 ) * (pt > 70.0 ) * (1.0) + \1159 (abs(eta) > 1.45 && abs(eta) <= 1.55) * (pt > 4.0 && pt <= 10.0) * (0.35) + \1160 (abs(eta) > 1.45 && abs(eta) <= 1.55) * (pt > 10.0 && pt <= 30.0) * (0.40) + \1161 (abs(eta) > 1.45 && abs(eta) <= 1.55) * (pt > 30.0 && pt <= 70.0) * (0.45) + \1162 (abs(eta) > 1.45 && abs(eta) <= 1.55) * (pt > 70.0 ) * (0.55) + \1163 (abs(eta) >= 1.55 && abs(eta) <= 2.0 ) * (pt > 4.0 && pt <= 10.0) * (0.75) + \1164 (abs(eta) >= 1.55 && abs(eta) <= 2.0 ) * (pt > 10.0 && pt <= 30.0) * (0.85) + \1165 (abs(eta) >= 1.55 && abs(eta) <= 2.0 ) * (pt > 30.0 && pt <= 50.0) * (0.95) + \1166 (abs(eta) >= 1.55 && abs(eta) <= 2.0 ) * (pt > 50.0 && pt <= 70.0) * (0.95) + \1167 (abs(eta) >= 1.55 && abs(eta) <= 2.0 ) * (pt > 70.0 ) * (1.0) + \1168 (abs(eta) >= 2.0 && abs(eta) <= 2.5 ) * (pt > 4.0 && pt <= 10.0) * (0.65) + \1169 (abs(eta) >= 2.0 && abs(eta) <= 2.5 ) * (pt > 10.0 && pt <= 30.0) * (0.75) + \1170 (abs(eta) >= 2.0 && abs(eta) <= 2.5 ) * (pt > 30.0 && pt <= 50.0) * (0.90) + \1171 (abs(eta) >= 2.0 && abs(eta) <= 2.5 ) * (pt > 50.0 && pt <= 70.0) * (0.90) + \1172 (abs(eta) >= 2.0 && abs(eta) <= 2.5 ) * (pt > 70.0 ) * (0.90) + \1173 (abs(eta) > 2.5 && abs(eta) <= 4.0 ) * (pt > 4.0 && pt <= 10.0) * (0.65) + \1174 (abs(eta) > 2.5 && abs(eta) <= 4.0 ) * (pt > 10.0 && pt <= 30.0) * (0.75) + \1175 (abs(eta) > 2.5 && abs(eta) <= 4.0 ) * (pt > 30.0 && pt <= 50.0) * (0.90) + \1176 (abs(eta) > 2.5 && abs(eta) <= 4.0 ) * (pt > 50.0 && pt <= 70.0) * (0.90) + \1177 (abs(eta) > 2.5 && abs(eta) <= 4.0 ) * (pt > 70.0 ) * (0.90) + \1178 (abs(eta) > 4.0) * (0.00)1179 1180 }1181 }1182 1183 1184 998 ################## 1185 999 # Muon isolation # … … 1200 1014 } 1201 1015 1202 ###################### 1203 # Muon isolation CHS # 1204 ###################### 1205 1206 module Isolation MuonIsolationCHS { 1207 set CandidateInputArray MuonMomentumSmearing/muons 1208 1209 # isolation collection 1210 set IsolationInputArray EFlowMerger/eflow 1211 1212 set OutputArray muons 1213 1214 set DeltaRMax 0.3 1215 set PTMin 1.0 1216 set PTRatioMax 9999. 1217 1218 } 1219 1220 1221 ##################### 1222 # Muon Loose Id # 1223 ##################### 1016 1017 ################## 1018 # Muon Loose Id # 1019 ################## 1224 1020 1225 1021 module Efficiency MuonLooseIdEfficiency { … … 1243 1039 } 1244 1040 1245 1246 #####################1247 # Muon Loose Id CHS #1248 #####################1249 1250 module Efficiency MuonLooseIdEfficiencyCHS {1251 set InputArray MuonIsolationCHS/muons1252 set OutputArray muons1253 # tracking + LooseID efficiency formula for muons1254 source muonLooseId.tcl1255 1256 }1257 1258 1259 ######################1260 # Muon Tight Id CHS #1261 ######################1262 1263 module Efficiency MuonTightIdEfficiencyCHS {1264 set InputArray MuonIsolationCHS/muons1265 set OutputArray muons1266 # tracking + TightID efficiency formula for muons1267 source muonTightId.tcl1268 }1269 1041 1270 1042 … … 1479 1251 module StatusPidFilter GenParticleFilter { 1480 1252 1481 set InputArray Delphes/allParticles1253 set InputArray Delphes/allParticles 1482 1254 set OutputArray filteredParticles 1483 1255 set PTMin 5.0 … … 1507 1279 add Branch MuonLooseIdEfficiency/muons MuonLoose Muon 1508 1280 add Branch MuonTightIdEfficiency/muons MuonTight Muon 1509 1510 add Branch PhotonEfficiencyCHS/photons PhotonCHS Photon1511 add Branch ElectronEfficiencyCHS/electrons ElectronCHS Electron1512 add Branch MuonLooseIdEfficiencyCHS/muons MuonLooseCHS Muon1513 add Branch MuonTightIdEfficiencyCHS/muons MuonTightCHS Muon1514 1281 1515 1282 add Branch JetEnergyScale/jets Jet Jet … … 1523 1290 add Branch GenPileUpMissingET/momentum GenPileUpMissingET MissingET 1524 1291 add Branch ScalarHT/energy ScalarHT ScalarHT 1525 1526 } 1292 } -
modules/ModulesLinkDef.h
r9327245 r20ca0cd 58 58 #include "modules/StatusPidFilter.h" 59 59 #include "modules/PdgCodeFilter.h" 60 #include "modules/RecoPuFilter.h"61 60 #include "modules/Cloner.h" 62 61 #include "modules/Weighter.h" … … 104 103 #pragma link C++ class StatusPidFilter+; 105 104 #pragma link C++ class PdgCodeFilter+; 106 #pragma link C++ class RecoPuFilter+;107 105 #pragma link C++ class Cloner+; 108 106 #pragma link C++ class Weighter+; -
modules/PhotonConversions.cc
r9327245 r20ca0cd 59 59 fItInputArray(0), fConversionMap(0), fDecayXsec(0) 60 60 { 61 fDecayXsec = new TF1 ("decayXsec","1.0 - 4.0/3.0 * x * (1.0 - x)", 0.0, 1.0);61 fDecayXsec = new TF1; 62 62 fConversionMap = new DelphesCylindricalFormula; 63 63 } … … 84 84 85 85 fConversionMap->Compile(GetString("ConversionMap", "0.0")); 86 87 #if ROOT_VERSION_CODE < ROOT_VERSION(6,04,00) 88 fDecayXsec->Compile("1.0 - 4.0/3.0 * x * (1.0 - x)"); 89 #else 90 fDecayXsec->GetFormula()->Compile("1.0 - 4.0/3.0 * x * (1.0 - x)"); 91 #endif 92 fDecayXsec->SetRange(0.0, 1.0); 86 93 87 94 // import array with output from filter/classifier module -
readers/DelphesCMSFWLite.cpp
r9327245 r20ca0cd 65 65 ExRootTreeBranch *branchEvent, ExRootTreeBranch *branchRwgt, 66 66 DelphesFactory *factory, TObjArray *allParticleOutputArray, 67 TObjArray *stableParticleOutputArray, TObjArray *partonOutputArray , Bool_t firstEvent)67 TObjArray *stableParticleOutputArray, TObjArray *partonOutputArray) 68 68 { 69 70 69 fwlite::Handle< GenEventInfoProduct > handleGenEventInfo; 70 71 71 fwlite::Handle< LHEEventProduct > handleLHEEvent; 72 72 73 fwlite::Handle< vector< reco::GenParticle > > handleParticle; 73 74 74 vector< reco::GenParticle >::const_iterator itParticle; 75 75 … … 78 78 79 79 handleGenEventInfo.getByLabel(event, "generator"); 80 81 if (!((handleLHEEvent.getBranchNameFor(event, "source")).empty())) 82 { 83 handleLHEEvent.getByLabel(event, "source"); 84 } 85 else if (!((handleLHEEvent.getBranchNameFor(event, "externalLHEProducer")).empty())) 86 { 87 handleLHEEvent.getByLabel(event, "externalLHEProducer"); 88 } 89 else if (firstEvent) 90 { 91 std::cout<<"Wrong LHEEvent Label! Please, check the input file."<<std::endl; 92 } 93 94 if (!((handleParticle.getBranchNameFor(event, "genParticles")).empty())) 95 { 96 handleParticle.getByLabel(event, "genParticles"); 97 } 98 else if (!((handleParticle.getBranchNameFor(event, "prunedGenParticles")).empty())) 99 { 100 handleParticle.getByLabel(event, "prunedGenParticles"); 101 } 102 else 103 { 104 std::cout<<"Wrong GenParticle Label! Please, check the input file."<<std::endl; 105 exit(-1); 106 } 107 108 Bool_t foundLHE = !((handleLHEEvent.getBranchNameFor(event, "source")).empty()) || !((handleLHEEvent.getBranchNameFor(event, "externalLHEProducer")).empty()); 80 handleLHEEvent.getByLabel(event, "externalLHEProducer"); 81 handleParticle.getByLabel(event, "genParticles"); 109 82 110 83 HepMCEvent *element; … … 118 91 Double_t px, py, pz, e, mass; 119 92 Double_t x, y, z; 93 94 const vector< gen::WeightsInfo > &vectorWeightsInfo = handleLHEEvent->weights(); 95 vector< gen::WeightsInfo >::const_iterator itWeightsInfo; 120 96 121 97 element = static_cast<HepMCEvent *>(branchEvent->NewEntry()); … … 141 117 element->ProcTime = 0.0; 142 118 143 144 if(foundLHE) 145 { 146 const vector< gen::WeightsInfo > &vectorWeightsInfo = handleLHEEvent->weights(); 147 vector< gen::WeightsInfo >::const_iterator itWeightsInfo; 148 149 for(itWeightsInfo = vectorWeightsInfo.begin(); itWeightsInfo != vectorWeightsInfo.end(); ++itWeightsInfo) 150 { 151 weight = static_cast<Weight *>(branchRwgt->NewEntry()); 152 weight->Weight = itWeightsInfo->wgt; 153 } 119 for(itWeightsInfo = vectorWeightsInfo.begin(); itWeightsInfo != vectorWeightsInfo.end(); ++itWeightsInfo) 120 { 121 weight = static_cast<Weight *>(branchRwgt->NewEntry()); 122 weight->Weight = itWeightsInfo->wgt; 154 123 } 155 124 … … 238 207 Int_t i; 239 208 Long64_t eventCounter, numberOfEvents; 240 Bool_t firstEvent = kTRUE;241 209 242 210 if(argc < 4) … … 313 281 modularDelphes->Clear(); 314 282 treeWriter->Clear(); 315 316 283 for(event.toBegin(); !event.atEnd() && !interrupted; ++event) 317 284 { 318 285 ConvertInput(event, eventCounter, branchEvent, branchRwgt, factory, 319 allParticleOutputArray, stableParticleOutputArray, partonOutputArray , firstEvent);286 allParticleOutputArray, stableParticleOutputArray, partonOutputArray); 320 287 modularDelphes->ProcessTask(); 321 322 firstEvent = kFALSE;323 288 324 289 treeWriter->Fill();
Note:
See TracChangeset
for help on using the changeset viewer.