This non-framework package simulates the RunIIb level 1 calorimeter trigger sliding windows algorithm. Compiling the package will create a library that is needed by trigger_rate_tool for RunIIb AndOr terms and rates. In the version v00-00-01, it is designed to run in p17.02.00 To turn on L1Cal Run2b trigger emulation, turn on the Emulate_Run2BL1Cal rcp flag in trigger_rate_tool/rcp/GenerateTriggerTable.rcp There are 3 EM algorithms and 2 jet algorithms implemented. EM 1,0,1 - 1x1 ROI, 0 LM separation, 1 TT isolation ring EM 2,0,1 - 2x2 ROI, 0 LM separation, 1 TT isolation ring EM A,0,s - Atlas 2x1 ROI, 0 LM separation, sandwich TT isolation region Jet 1,0,0 - 1x1 ROI, 0 LM separation, 0 TT isolation ring Jet 2,1,1 - 2x2 ROI, 1 LM separation, 1 TT isolation ring The isolation region is defined as a ring (or disconnected sandwich for Atlas) in EM section only. The EM-fraction is defined as a ratio of the EM and HAD energies in the ROI only. Examples: You can access the trigger term for an 11 GeV electron found using EM A,0,s algorithm with EM fraction > 8 and isolation < 0.2 with the term CEMxEMfracAtlas(1,11,8,0.2) You can access the trigger term for a diem event with each electron having Et>6, no isolation or EM fraction cuts, and with the sum Et of the two electrons Et_sum > 18 GeV with the term DIEM_SW(6,0,100,18). | |--> EM fraction ------> isolation You can access the trigger term for a 20 GeV jet found using the Jet 2,1,1 algorithm with fabs(eta) < 3.2 with the term CJT_SW2x2(1,20.0,3.2) You can access a 3-jet trigger term with each jet having Et>4, fabs(eta)<2.4 with the term CJT_SW2x2(3,4.0,2.4) To add additional trigger terms, edit the file SW_interface.cpp