CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/RecoEgamma/PhotonIdentification/python/isolationCalculator_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 
00004 isolationSumsCalculator = cms.PSet(
00005     #required inputs
00006     ComponentName = cms.string('isolationSumsCalculator'),
00007 
00008     barrelEcalRecHitCollection = cms.InputTag('ecalRecHit:EcalRecHitsEB'),
00009     endcapEcalRecHitCollection = cms.InputTag('ecalRecHit:EcalRecHitsEE'),
00010     HcalRecHitCollection = cms.InputTag('towerMaker'),
00011     
00012     # Photon will be marked as being near phi module boundary if
00013     #  it is closer than this.  Currently half a crystal.
00014     #  1 Ecal Crystal = 0.0174 radians = 1 degree
00015     modulePhiBoundary =   cms.double(0.0087),
00016     # Photon will be marked as being near an eta boundary if
00017     #  it is between the 0th and 1st element, or the 2nd and 3rd, or the 4th and 5th...
00018     moduleEtaBoundary = cms.vdouble(0.0, 0.02, 0.43, 0.46, 0.78, 0.81, 1.13, 1.15, 1.45, 1.58),
00019     #What collection of tracks do I use for Track Isolation?
00020     trackProducer = cms.InputTag("generalTracks"),
00021     #use beam spot for track isolation
00022     beamSpotProducer = cms.InputTag("offlineBeamSpot"),
00023     #switches, turn on quality cuts for various quantities.
00024     vetoClustered  = cms.bool(False),  #will remove clustered rechits from ecal iso sum
00025     useNumCrystals = cms.bool(True),  #will define the veto region by number of crystals in stead of geometrically
00026     #configuration of parameters for isolation
00027 #### BARREL
00028     #tracks
00029     isolationtrackThresholdA_Barrel = cms.double(0.0),
00030     TrackConeOuterRadiusA_Barrel    = cms.double(0.4),
00031     TrackConeInnerRadiusA_Barrel    = cms.double(0.04),
00032     isolationtrackEtaSliceA_Barrel  = cms.double(0.015),
00033     longImpactParameterA_Barrel     = cms.double(0.2),
00034     transImpactParameterA_Barrel    = cms.double(0.1),
00035 #
00036     isolationtrackThresholdB_Barrel = cms.double(0.0),
00037     TrackConeOuterRadiusB_Barrel    = cms.double(0.3),
00038     TrackConeInnerRadiusB_Barrel    = cms.double(0.04),
00039     isolationtrackEtaSliceB_Barrel  = cms.double(0.015),
00040     longImpactParameterB_Barrel     = cms.double(0.2),
00041     transImpactParameterB_Barrel    = cms.double(0.1),
00042     #Ecal rechits 
00043     EcalRecHitInnerRadiusA_Barrel   = cms.double(3.5),
00044     EcalRecHitOuterRadiusA_Barrel   = cms.double(0.4),
00045     EcalRecHitEtaSliceA_Barrel      = cms.double(2.5),
00046     EcalRecHitThreshEA_Barrel       = cms.double(0.095),
00047     EcalRecHitThreshEtA_Barrel      = cms.double(0.0),
00048 #
00049     EcalRecHitInnerRadiusB_Barrel   = cms.double(3.5),
00050     EcalRecHitOuterRadiusB_Barrel   = cms.double(0.3),
00051     EcalRecHitEtaSliceB_Barrel      = cms.double(2.5),
00052     EcalRecHitThreshEB_Barrel       = cms.double(0.095),
00053     EcalRecHitThreshEtB_Barrel      = cms.double(0.0),
00054     #Hcal towers
00055     HcalTowerInnerRadiusA_Barrel    = cms.double(0.15),
00056     HcalTowerOuterRadiusA_Barrel    = cms.double(0.4),
00057     HcalTowerThreshEA_Barrel        = cms.double(0.0),
00058     HcalDepth1TowerInnerRadiusA_Barrel = cms.double(0.15),
00059     HcalDepth1TowerOuterRadiusA_Barrel = cms.double(0.4),
00060     HcalDepth1TowerThreshEA_Barrel     = cms.double(0.0),
00061     HcalDepth2TowerInnerRadiusA_Barrel = cms.double(0.15),
00062     HcalDepth2TowerOuterRadiusA_Barrel = cms.double(0.4),
00063     HcalDepth2TowerThreshEA_Barrel     = cms.double(0.0),
00064 #
00065     HcalTowerInnerRadiusB_Barrel       = cms.double(0.15),
00066     HcalTowerOuterRadiusB_Barrel       = cms.double(0.3),
00067     HcalTowerThreshEB_Barrel           = cms.double(0.0),
00068     HcalDepth1TowerInnerRadiusB_Barrel = cms.double(0.15),
00069     HcalDepth1TowerOuterRadiusB_Barrel = cms.double(0.3),
00070     HcalDepth1TowerThreshEB_Barrel     = cms.double(0.0),
00071     HcalDepth2TowerInnerRadiusB_Barrel = cms.double(0.15),
00072     HcalDepth2TowerOuterRadiusB_Barrel = cms.double(0.3),
00073     HcalDepth2TowerThreshEB_Barrel     = cms.double(0.0),
00074 
00075 #### ENDCAP
00076     #tracks
00077     isolationtrackThresholdA_Endcap  = cms.double(0.0),
00078     TrackConeOuterRadiusA_Endcap     = cms.double(0.4),
00079     TrackConeInnerRadiusA_Endcap     = cms.double(0.04),
00080     isolationtrackEtaSliceA_Endcap   = cms.double(0.015),
00081     longImpactParameterA_Endcap      = cms.double(0.2),
00082     transImpactParameterA_Endcap     = cms.double(0.1),
00083 ##
00084     isolationtrackThresholdB_Endcap  = cms.double(0.0),
00085     TrackConeOuterRadiusB_Endcap     = cms.double(0.3),
00086     TrackConeInnerRadiusB_Endcap     = cms.double(0.04),
00087     isolationtrackEtaSliceB_Endcap   = cms.double(0.015),
00088     longImpactParameterB_Endcap      = cms.double(0.2),
00089     transImpactParameterB_Endcap     = cms.double(0.1),
00090     #Ecal rechits 
00091     EcalRecHitInnerRadiusA_Endcap    = cms.double(3.5),
00092     EcalRecHitOuterRadiusA_Endcap    = cms.double(0.4),
00093     EcalRecHitEtaSliceA_Endcap       = cms.double(2.5),
00094     EcalRecHitThreshEA_Endcap        = cms.double(0.0),
00095     EcalRecHitThreshEtA_Endcap       = cms.double(0.110),
00096 #
00097     EcalRecHitInnerRadiusB_Endcap    = cms.double(3.5),
00098     EcalRecHitOuterRadiusB_Endcap    = cms.double(0.3),
00099     EcalRecHitEtaSliceB_Endcap       = cms.double(2.5),
00100     EcalRecHitThreshEB_Endcap        = cms.double(0.0),
00101     EcalRecHitThreshEtB_Endcap       = cms.double(0.110),
00102 
00103     severityLevelCut = cms.int32(4),
00104     severityRecHitThreshold = cms.double(5.0),
00105     spikeIdString = cms.string('kSwissCrossBordersIncluded'),
00106     spikeIdThreshold = cms.double(0.95),
00107 
00108     #Hcal towers
00109     HcalTowerInnerRadiusA_Endcap       = cms.double(0.15),
00110     HcalTowerOuterRadiusA_Endcap       = cms.double(0.4),
00111     HcalTowerThreshEA_Endcap           = cms.double(0.0),
00112     HcalDepth1TowerInnerRadiusA_Endcap = cms.double(0.15),
00113     HcalDepth1TowerOuterRadiusA_Endcap = cms.double(0.4),
00114     HcalDepth1TowerThreshEA_Endcap     = cms.double(0.0),
00115     HcalDepth2TowerInnerRadiusA_Endcap = cms.double(0.15),
00116     HcalDepth2TowerOuterRadiusA_Endcap = cms.double(0.4),
00117     HcalDepth2TowerThreshEA_Endcap     = cms.double(0.0),
00118 #
00119     HcalTowerInnerRadiusB_Endcap       = cms.double(0.15),
00120     HcalTowerOuterRadiusB_Endcap       = cms.double(0.3),
00121     HcalTowerThreshEB_Endcap           = cms.double(0.0),
00122     HcalDepth1TowerInnerRadiusB_Endcap = cms.double(0.15),
00123     HcalDepth1TowerOuterRadiusB_Endcap = cms.double(0.3),
00124     HcalDepth1TowerThreshEB_Endcap     = cms.double(0.0),
00125     HcalDepth2TowerInnerRadiusB_Endcap = cms.double(0.15),
00126     HcalDepth2TowerOuterRadiusB_Endcap = cms.double(0.3),
00127     HcalDepth2TowerThreshEB_Endcap     = cms.double(0.0),
00128 
00129     recHitFlagsToBeExcluded = cms.vstring(
00130         'kFaultyHardware',
00131         'kPoorCalib',
00132 #        ecalRecHitFlag_kSaturated,
00133 #        ecalRecHitFlag_kLeadingEdgeRecovered,
00134 #        ecalRecHitFlag_kNeighboursRecovered,
00135         'kTowerRecovered',
00136         'kDead'
00137     ),
00138 
00139 
00140 )
00141 
00142