CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoLocalCalo/CaloTowersCreator/python/calotowermaker_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 calotowermaker = cms.EDProducer("CaloTowersCreator",
00004     # Energy threshold for EB 5x5 crystal inclusion [GeV]
00005     EBSumThreshold = cms.double(0.2),
00006     # Weighting factor for HF short-fiber readouts
00007     HF2Weight = cms.double(1.0),
00008     # Weighting factor for EB   
00009     EBWeight = cms.double(1.0),
00010     # Label of HFRecHitCollection to use
00011     hfInput = cms.InputTag("hfreco"),
00012     # Energy threshold for EE crystals-in-tower inclusion [GeV]
00013     EESumThreshold = cms.double(0.45),
00014     # Energy threshold for HO cell inclusion [GeV]
00015     HOThreshold0 = cms.double(1.1),
00016     HOThresholdPlus1 = cms.double(3.5),
00017     HOThresholdMinus1 = cms.double(3.5),
00018     HOThresholdPlus2 = cms.double(3.5),
00019     HOThresholdMinus2 = cms.double(3.5),
00020     HBGrid = cms.vdouble(-1.0, 1.0, 10.0, 100.0, 1000.0),
00021     # Energy threshold for HB cell inclusion [GeV]
00022     HBThreshold = cms.double(0.7),
00023     EEWeights = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0),
00024     # Energy threshold for long-fiber HF readout inclusion [GeV]
00025     HF1Threshold = cms.double(0.5),
00026     HF2Weights = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0),
00027     HOWeights = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0),
00028     EEGrid = cms.vdouble(-1.0, 1.0, 10.0, 100.0, 1000.0),
00029     # Weighting factor for HE 10-degree cells   
00030     HEDWeight = cms.double(1.0),
00031     # Weighting factor for EE   
00032     EEWeight = cms.double(1.0),
00033     # HO on/off flag for tower energy reconstruction
00034     UseHO = cms.bool(True),
00035     HBWeights = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0),
00036     # Weighting factor for HE 5-degree cells   
00037     HESWeight = cms.double(1.0),
00038     # Weighting factor for HF long-fiber readouts 
00039     HF1Weight = cms.double(1.0),
00040     HF2Grid = cms.vdouble(-1.0, 1.0, 10.0, 100.0, 1000.0),
00041     HEDWeights = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0),
00042     HF1Grid = cms.vdouble(-1.0, 1.0, 10.0, 100.0, 1000.0),
00043     EBWeights = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0),
00044     # Weighting factor for HO 
00045     HOWeight = cms.double(1.0),
00046                               
00047     # Energy threshold for EB crystal inclusion [GeV]
00048     EBThreshold = cms.double(0.07),
00049     # Energy threshold for EE crystal inclusion [GeV]
00050     EEThreshold = cms.double(0.3),
00051     # Flags specifying if the above thresholds
00052     # should be applied to Et (UseEtEXTreshold='True') or E ('False')
00053     # Flags for use of symmetric thresholds: |e|>threshold                          
00054     UseEtEBTreshold = cms.bool(False),
00055     UseSymEBTreshold = cms.bool(True),
00056     UseEtEETreshold = cms.bool(False),
00057     UseSymEETreshold = cms.bool(True),
00058 
00059 
00060     # Label of HBHERecHitCollection to use
00061     hbheInput = cms.InputTag("hbhereco"),
00062     # Global energy threshold on Hcal [GeV]
00063     HcalThreshold = cms.double(-1000.0),
00064     # Energy threshold for short-fiber HF readout inclusion [GeV]
00065     HF2Threshold = cms.double(0.85),
00066 
00067     # Energy threshold for 5-degree (phi) HE cell inclusion [GeV]
00068     HESThreshold = cms.double(0.8),
00069     HF1Weights = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0),
00070     # Label of HORecHitCollection to use
00071     hoInput = cms.InputTag("horeco"),
00072     HESGrid = cms.vdouble(-1.0, 1.0, 10.0, 100.0, 1000.0),
00073     #
00074     HESWeights = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0),
00075     # Energy threshold for 10-degree (phi) HE cel inclusion [GeV]
00076     HEDThreshold = cms.double(0.8),
00077     # Global energy threshold on tower [GeV]
00078     EcutTower = cms.double(-1000.0),
00079     HEDGrid = cms.vdouble(-1.0, 1.0, 10.0, 100.0, 1000.0),
00080     # Label of EcalRecHitCollections to use
00081     ecalInputs = cms.VInputTag(cms.InputTag("ecalRecHit","EcalRecHitsEB"), cms.InputTag("ecalRecHit","EcalRecHitsEE")),
00082     # Weighting factor for HB   
00083     HBWeight = cms.double(1.0),
00084     HOGrid = cms.vdouble(-1.0, 1.0, 10.0, 100.0, 1000.0),
00085     # Energy dependent weights and energy scale to be used
00086     EBGrid = cms.vdouble(-1.0, 1.0, 10.0, 100.0, 1000.0),
00087     #
00088     #
00089     # momentum assignment
00090     # Method for momentum reconstruction
00091     MomConstrMethod = cms.int32(1),                           
00092     # Depth, fraction of the respective calorimeter [0,1]
00093     MomHBDepth = cms.double(0.2),
00094     MomHEDepth = cms.double(0.4),   
00095     MomEBDepth = cms.double(0.3),
00096     MomEEDepth = cms.double(0.0),
00097 
00098 # parameters for handling of anomalous cells
00099 # 
00100     # acceptable severity level
00101     HcalAcceptSeverityLevel = cms.uint32(9),
00102     #EcalAcceptSeverityLevel = cms.uint32(1),
00103     EcalRecHitSeveritiesToBeExcluded = cms.vstring('kTime','kWeird','kBad'),
00104                                 
00105     # use of recovered hits
00106     UseHcalRecoveredHits = cms.bool(True),
00107       # The CaloTower code treats recovered cells as a separate category.
00108       # The flag to use (or not use) them should be explicitly set
00109       # regardless of the specified severity level in EcalAcceptSeverityLevel.                       
00110     UseEcalRecoveredHits = cms.bool(False),
00111                         
00112 
00113 # NOTE: The following controls the creation of towers from
00114 #       rejected rechits.
00115 #       Always make sure that UseRejectedHitsOnly=false for
00116 #       normal reconstructions!!!
00117 
00118      UseRejectedHitsOnly = cms.bool(False),
00119 
00120 #    Controls for hits to be included in the "bad" tower collection.
00121 #    They have no effect unless UseRejectedHitsOnly=true                                
00122 #    Hits passing the   HcalAcceptSeverityLevel
00123 #    will be skipped as they are already in the default towers                                
00124      HcalAcceptSeverityLevelForRejectedHit = cms.uint32(9999),
00125 #    List of ECAL problems that should be used in bad tower construction
00126 #    Note that these can only be of type already rejected in default
00127 #    reconstruction as specified in "EcalRecHitSeveritiesToBeExcluded"
00128      EcalSeveritiesToBeUsedInBadTowers = cms.vstring(),
00129                                 
00130 
00131 #    The code also checks the settings of the flags for the default
00132 #    collection - if the recovered hits were used there, they
00133 #    will be skipped for the "bad" tower collection regardless of these settings                                
00134      UseRejectedRecoveredHcalHits = cms.bool(True),
00135      UseRejectedRecoveredEcalHits = cms.bool(False),
00136 
00137 
00138 # flag to allow/disallow missing inputs
00139     AllowMissingInputs = cms.bool(False)
00140     
00141 )