CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/RecoParticleFlow/PFClusterProducer/python/particleFlowCluster_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from RecoLocalCalo.CaloTowersCreator.calotowermaker_cfi import *
00004 from RecoJets.Configuration.CaloTowersRec_cff import *
00005 from RecoParticleFlow.PFClusterProducer.particleFlowRecHitECAL_cfi import *
00006 from RecoParticleFlow.PFClusterProducer.particleFlowRecHitHCAL_cfi import *
00007 from RecoParticleFlow.PFClusterProducer.particleFlowRecHitPS_cfi import *
00008 from RecoParticleFlow.PFClusterProducer.particleFlowClusterECAL_cfi import *
00009 from RecoParticleFlow.PFClusterProducer.particleFlowClusterHCAL_cfi import *
00010 from RecoParticleFlow.PFClusterProducer.particleFlowClusterPS_cfi import *
00011 from RecoParticleFlow.PFClusterProducer.particleFlowClusterHFEM_cfi import *
00012 from RecoParticleFlow.PFClusterProducer.particleFlowClusterHFHAD_cfi import *
00013 
00014 pfClusteringECAL = cms.Sequence(particleFlowRecHitECAL*particleFlowClusterECAL)
00015 #pfClusteringHCAL = cms.Sequence(particleFlowRecHitHCAL*particleFlowClusterHCAL)
00016 pfClusteringHCALall = cms.Sequence(particleFlowClusterHCAL+particleFlowClusterHFHAD+particleFlowClusterHFEM)
00017 pfClusteringHCAL = cms.Sequence(particleFlowRecHitHCAL*pfClusteringHCALall)
00018 #pfClusteringHCAL = cms.Sequence(particleFlowRecHitHCAL*particleFlowClusterHCAL*particleFlowClusterHFHAD*particleFlowClusterHFEM)
00019 pfClusteringPS = cms.Sequence(particleFlowRecHitPS*particleFlowClusterPS)
00020 
00021 
00022 towerMakerPF = calotowermaker.clone()
00023 
00024 # Changed values
00025 # Don't use (yet) HO
00026 towerMakerPF.UseHO = False
00027 # Energy threshold for HB Cell inclusion
00028 towerMakerPF.HBThreshold = 0.4
00029 # Energy threshold for HE (S = 5 degree, D = 10 degree, in phi) Cell inclusion
00030 towerMakerPF.HESThreshold = 0.4
00031 towerMakerPF.HEDThreshold = 0.4
00032 
00033 # Default values
00034 # Energy threshold for HO cell inclusion [GeV]
00035 towerMakerPF.HOThreshold0 = 1.1
00036 towerMakerPF.HOThresholdPlus1 = 1.1
00037 towerMakerPF.HOThresholdMinus1 = 1.1
00038 towerMakerPF.HOThresholdPlus2 = 1.1
00039 towerMakerPF.HOThresholdMinus2 = 1.1
00040 # Weighting factor for HO 
00041 towerMakerPF.HOWeight = 1.0
00042 towerMakerPF.HOWeights = (1.0, 1.0, 1.0, 1.0, 1.0)
00043 # Weighting factor for HF short-fiber readouts
00044 towerMakerPF.HF2Weight = 1.0
00045 towerMakerPF.HF2Weights = (1.0, 1.0, 1.0, 1.0, 1.0)
00046 # Weighting factor for HF long-fiber readouts 
00047 towerMakerPF.HF1Weight = 1.0
00048 towerMakerPF.HF1Weights = (1.0, 1.0, 1.0, 1.0, 1.0)
00049 # Energy threshold for long-fiber HF readout inclusion [GeV]
00050 towerMakerPF.HF1Threshold = 1.2
00051 # Energy threshold for short-fiber HF readout inclusion [GeV]
00052 towerMakerPF.HF2Threshold = 1.8
00053 # Weighting factor for HB  cells   
00054 towerMakerPF.HBWeight = 1.0
00055 towerMakerPF.HBWeights = (1.0, 1.0, 1.0, 1.0, 1.0)
00056 # Weighting factor for HE 5-degree cells   
00057 towerMakerPF.HESWeight = 1.0
00058 towerMakerPF.HESWeights = (1.0, 1.0, 1.0, 1.0, 1.0)
00059 # Weighting factor for HE 10-degree cells   
00060 towerMakerPF.HEDWeight = 1.0
00061 towerMakerPF.HEDWeights = (1.0, 1.0, 1.0, 1.0, 1.0)
00062 # Global energy threshold on Hcal [GeV]
00063 towerMakerPF.HcalThreshold = -1000.0
00064 # Global energy threshold on tower [GeV]
00065 towerMakerPF.EcutTower = -1000.0
00066 # parameters for handling of anomalous cells
00067 # acceptable severity level
00068 towerMakerPF.HcalAcceptSeverityLevel = 11
00069 # use of recovered hits
00070 towerMakerPF.UseHcalRecoveredHits = True
00071 # flag to allow/disallow missing inputs
00072 towerMakerPF.AllowMissingInputs = False
00073 
00074 particleFlowCluster = cms.Sequence(
00075     #caloTowersRec*
00076     towerMakerPF*
00077     pfClusteringECAL*
00078     pfClusteringHCAL*
00079     pfClusteringPS
00080 )
00081