CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CaloTowersOpt_cfi.py
Go to the documentation of this file.
2 
3 # File: CaloTowerOpt.cfi
4 # Author: B. Scurlock
5 # Date: 03.06.2008
6 #
7 # Form uncorrected Missing ET from Calorimeter Towers and store into event as a CaloMET
8 # product
9 # Creates new calotowers with optimized Energy thresholds for MET.
10 # === Modification: 09/30/08 by R. Remington
11 # === Made modifications to accomodate changes to towerMaker (done by A. Oehler)
12 # === Modification : 05/14/09 by R.Remington
13 # === Now cloning the central calotowermaker module and changing parameters for optimized thresholds instead of writing another independent module
14 
16 
17 calotoweroptmaker = calotowermaker.clone()
18 calotoweroptmaker.UseHO = False
19 calotoweroptmaker.HBThreshold = cms.double(0.5)
20 calotoweroptmaker.HESThreshold = cms.double(0.7)
21 calotoweroptmaker.HEDThreshold = cms.double(0.5)
22 
23 calotoweroptmakerWithHO = calotoweroptmaker.clone()
24 calotoweroptmakerWithHO.UseHO = True
25 
26