Revision: | 1.1 |
Committed: | Wed Mar 30 14:04:13 2011 UTC (14 years, 1 month ago) by kimy |
Content type: | text/x-python |
Branch: | MAIN |
CVS Tags: | HiForest_V02_79, HiForest_V02_78, HiForest_V02_77, HiForest_V02_76, HiForest_V02_75, HiForest_V02_74, HiForest_V02_73, HiForest_V02_72, HiForest_V02_71, HiForest_V02_70, HiForest_V02_69, HiForest_V02_68, HiForest_V02_67, 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, hi441_1, hi441_0, hi413_11, hi413_10, hi413_09, hi413_08, hi413_07, hi413_06, hi413_05, hi413_04, hi413_02, hi39X_01, tag_d20110915, cmssw39x_base, cmssw39X_base |
Branch point for: | branch_44x, cmssw39x_branch |
Log Message: | test configuration for rechitComparison |
# | Content |
---|---|
1 | |
2 | import FWCore.ParameterSet.Config as cms |
3 | |
4 | process = cms.Process("PAT") |
5 | |
6 | ## MessageLogger |
7 | process.load("FWCore.MessageLogger.MessageLogger_cfi") |
8 | #process.Timing = cms.Service("Timing") |
9 | |
10 | ## Options and Output Report |
11 | process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) ) |
12 | |
13 | ## Source |
14 | process.source = cms.Source("PoolSource", |
15 | fileNames = cms.untracked.vstring( |
16 | 'file:nutrino_mixed_in_hi_RECO.root' |
17 | ), |
18 | duplicateCheckMode = cms.untracked.string('noDuplicateCheck') |
19 | ) |
20 | |
21 | ## Maximal Number of Events |
22 | process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) |
23 | |
24 | ## Geometry and Detector Conditions (needed for a few patTuple production steps) |
25 | process.load("Configuration.StandardSequences.Geometry_cff") |
26 | process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff") |
27 | process.load('Configuration.StandardSequences.Reconstruction_cff') |
28 | |
29 | |
30 | # Centrality |
31 | process.load("RecoHI.HiCentralityAlgos.HiCentrality_cfi") |
32 | process.HeavyIonGlobalParameters = cms.PSet( |
33 | centralitySrc = cms.InputTag("hiCentrality"), |
34 | centralityVariable = cms.string("HFhits"), |
35 | nonDefaultGlauberModel = cms.string("") |
36 | ) |
37 | |
38 | process.GlobalTag.globaltag = 'START39_V9::All' # 'GR_R_39X_V3::All' |
39 | from CmsHi.Analysis2010.CommonFunctions_cff import * |
40 | overrideCentrality(process) |
41 | |
42 | process.load("Configuration.StandardSequences.MagneticField_cff") |
43 | |
44 | |
45 | process.MessageLogger.cerr.FwkReport.reportEvery = cms.untracked.int32(100) |
46 | |
47 | |
48 | process.TFileService = cms.Service("TFileService", |
49 | fileName = cms.string('isoRecHitCounter.root'), |
50 | closeFileFast = cms.untracked.bool(True) |
51 | ) |
52 | |
53 | #process.load("RecoHI.HiEgammaAlgos.hiEcalSpikeFilter_cfi") |
54 | |
55 | process.ana = cms.EDAnalyzer("RecHitComparison", |
56 | hcalHFRecHitSrc2 = cms.untracked.InputTag("hfreco","","RECOBKG"), |
57 | hcalHFRecHitSrc1 = cms.untracked.InputTag("hfreco","","TEST"), |
58 | EBRecHitSrc2 = cms.untracked.InputTag("ecalRecHit","EcalRecHitsEB","RECOBKG"), |
59 | EBRecHitSrc1 = cms.untracked.InputTag("ecalRecHit","EcalRecHitsEB","TEST"), |
60 | hcalHBHERecHitSrc2= cms.untracked.InputTag("hbhereco","","RECOBKG"), |
61 | hcalHBHERecHitSrc1= cms.untracked.InputTag("hbhereco","","TEST"), |
62 | EERecHitSrc2 = cms.untracked.InputTag("ecalRecHit","EcalRecHitsEE","RECOBKG"), |
63 | EERecHitSrc1 = cms.untracked.InputTag("ecalRecHit","EcalRecHitsEE","TEST"), |
64 | BasicClusterSrc2 = cms.untracked.InputTag("ecalRecHit","EcalRecHitsEB","RECOBKG"), |
65 | BasicClusterSrc1 = cms.untracked.InputTag("ecalRecHit","EcalRecHitsEB","TEST") |
66 | ) |
67 | |
68 | |
69 | |
70 | process.p = cms.Path( |
71 | # process.goodPhotons * |
72 | # process.photonFilter* |
73 | # process.hiEcalSpikeFilter |
74 | process.ana |
75 | ) |
76 | |
77 | |
78 | #process.e = cms.EndPath(process.out) |
79 | |
80 |