Revision: | 1.4 |
Committed: | Mon Oct 17 14:12:52 2011 UTC (13 years, 6 months ago) by yjlee |
Content type: | text/x-python |
Branch: | MAIN |
CVS Tags: | HiForest_V02_66, HiForest_V02_65, HiForest_V02_64, HiForest_V02_63, HiForest_V02_62, HiForest_V02_61, HiForest_V02_60, HiForest_V02_59, HiForest_V02_58, HiForest_V02_57, HiForest_V02_56, HiForest_V02_55, HiForest_V02_54, HiForest_V02_53, HiForest_V02_52, HiForest_V02_51, HiForest_V02_50, HiForest_V02_49, HiForest_V02_48, HiForest_V02_47, HiForest_V02_46, HiForest_V02_45, HiForest_V02_44, HiForest_V02_43, HiForest_V02_42, HiForest_V02_41, HiForest_V02_40, HiForest_V02_39, HiForest_V02_38, HiForest_V02_37, HiForest_V02_36, HiForest_V02_35, HiForest_V02_34, HiForest_V02_33, HiForest_V02_32, HiForest_V02_31, HiForest_V02_30, HiForest_V02_27, HiForest_V02_26, QM_2012, HiForest_V02_25, HiForest_V02_24, HiForest_V02_23, HiForest_V02_22, HiForest_V02_21, HiForest_V02_20, HiForest_V02_19, HiForest_V02_18, HiForest_V02_17, HiForest_V02_16, HiForest_V02_15, HiForest_V02_14, HiForest_V02_13, HiForest_V02_12, HiForest_V02_11, HiForest_V02_10, HiForest_V02_09, HiForest_V02_08, HiForest_V02_07, HiForest_V02_06, HiForest_V02_05, HiForest_V02_04, HiForest_V02_03, HiForest_V02_02, HiForest_V02_01, HiForest_V02_00, hi44X_02, hi413_03, hi413_02, hi441_1, hi441_0 |
Branch point for: | branch_44x |
Changes since 1.3: | +1 -0 lines |
Log Message: | Removed HCAL spike reflagger temporarily.. |
# | Content |
---|---|
1 | import FWCore.ParameterSet.Config as cms |
2 | |
3 | # HLT jet trigger |
4 | import HLTrigger.HLTfilters.hltHighLevel_cfi |
5 | hltJetHI = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone() |
6 | hltJetHI.HLTPaths = ["HLT_HIJet50U"] |
7 | hltJetHI.throw = False |
8 | hltJetHI.andOr = True |
9 | |
10 | # selection of valid vertex |
11 | #primaryVertexFilterForJets = cms.EDFilter("VertexSelector", |
12 | # src = cms.InputTag("hiSelectedVertex"), |
13 | # cut = cms.string("!isFake && abs(z) <= 25 && position.Rho <= 2"), |
14 | # filter = cms.bool(True), # otherwise it won't filter the events |
15 | # ) |
16 | |
17 | from HeavyIonsAnalysis.Configuration.collisionEventSelection_cff import * |
18 | |
19 | |
20 | # jet energy correction (L2+L3) ?? |
21 | from JetMETCorrections.Configuration.JetCorrectionServicesAllAlgos_cff import * |
22 | icPu5CaloJetsL2L3 = cms.EDProducer('CaloJetCorrectionProducer', |
23 | src = cms.InputTag('iterativeConePu5CaloJets'), |
24 | correctors = cms.vstring('ic5CaloL2L3') |
25 | ) |
26 | |
27 | # leading jet E_T filter |
28 | jetEtFilter = cms.EDFilter("EtMinCaloJetCountFilter", |
29 | src = cms.InputTag("icPu5CaloJetsL2L3"), |
30 | etMin = cms.double(60.0), |
31 | minNumber = cms.uint32(1) |
32 | ) |
33 | |
34 | # dijet E_T filter |
35 | #dijetEtFilter = cms.EDFilter("EtMinCaloJetCountFilter", |
36 | # src = cms.InputTag("icPu5CaloJetsL2L3"), |
37 | # etMin = cms.double(50.0), |
38 | # minNumber = cms.uint32(2) |
39 | # ) |
40 | |
41 | #from RecoHI.HiEgammaAlgos.hiEcalSpikeFilter_cfi import * |
42 | from CmsHi.PhotonAnalysis.hiEcalRecHitSpikeFilter_cfi import * |
43 | hiEcalRecHitSpikeFilter.minEt = 20.0 |
44 | |
45 | #HCAL cleaning |
46 | #from JetMETAnalysis.HcalReflagging.hbherechitreflaggerJETMET_cfi import * |
47 | # Broken.. commented out by Yen-Jie |
48 | # Need to update |
49 | |
50 | #hbheReflagNewTimeEnv = hbherechitreflaggerJETMET.clone() |
51 | #hbheReflagNewTimeEnv.timingshapedcutsParameters.hbheTimingFlagBit=cms.untracked.int32(8) |
52 | |
53 | # HCAL Timing |
54 | hcalTimingFilter = cms.EDFilter("HcalTimingFilter", |
55 | hbheHits = cms.untracked.InputTag("hbheReflagNewTimeEnv") |
56 | ) |
57 | |
58 | |
59 | # hcal noise filter |
60 | from CommonTools.RecoAlgos.HBHENoiseFilter_cfi import * |
61 | HBHENoiseFilter.minRatio = cms.double(-99999.0) |
62 | HBHENoiseFilter.maxRatio = cms.double(99999.0) |
63 | HBHENoiseFilter.minZeros = cms.int32(100) |
64 | |
65 | |
66 | # jet skim sequence |
67 | jetSkimSequence = cms.Sequence(hltJetHI |
68 | * collisionEventSelection |
69 | * icPu5CaloJetsL2L3 |
70 | * jetEtFilter |
71 | #* dijetEtFilter |
72 | * hiEcalRecHitSpikeFilter |
73 | #* hbheReflagNewTimeEnv |
74 | * hcalTimingFilter |
75 | * HBHENoiseFilter |
76 | ) |
77 |