Revision: | 1.1 |
Committed: | Tue May 4 17:35:19 2010 UTC (15 years ago) by yilmaz |
Content type: | text/x-python |
Branch: | MAIN |
CVS Tags: | HiForest_V02_85, HiForest_V02_84, HiForest_V02_83, HiForest_V02_82, HiForest_V02_81, HiForest_V02_80, 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, hi441_1, hi441_0, hi413_11, hi413_10, hi413_09, hi413_08, hi413_07, hi413_06, hi413_05, hi413_04, hi413_03, hi413_02, hi413_01, hi39X_01, tag_d20110915, cmssw39x_base, cmssw39X_base, HEAD |
Branch point for: | branch_44x, cmssw39x_branch |
Log Message: | Main production cfg for analysis group |
# | Content |
---|---|
1 | import FWCore.ParameterSet.VarParsing as VarParsing |
2 | |
3 | ivars = VarParsing.VarParsing('standard') |
4 | |
5 | ivars.files = 'rfio:/castor/cern.ch/cms/store/relval/CMSSW_3_7_0_pre2/RelValPyquen_DiJet_pt80to120_2760GeV/GEN-SIM-RECO/MC_37Y_V1-v1/0018/1420F252-8453-DF11-9903-002618943882.root' |
6 | ivars.output = 'hi_pat_80to120.root' |
7 | ivars.maxEvents = 3 |
8 | |
9 | ivars.parseArguments() |
10 | |
11 | import FWCore.ParameterSet.Config as cms |
12 | |
13 | process = cms.Process('PAT') |
14 | |
15 | process.source = cms.Source("PoolSource", |
16 | fileNames = cms.untracked.vstring(ivars.files) |
17 | ) |
18 | |
19 | process.maxEvents = cms.untracked.PSet( |
20 | input = cms.untracked.int32(ivars.maxEvents) |
21 | ) |
22 | |
23 | process.load('PhysicsTools.PatAlgos.patHeavyIonSequences_cff') |
24 | from PhysicsTools.PatAlgos.tools.heavyIonTools import * |
25 | configureHeavyIons(process) |
26 | |
27 | #from PhysicsTools.PatAlgos.tools.jetTools import * |
28 | #switchJECSet( process, "Summer09_7TeV_ReReco332") |
29 | |
30 | process.load("HeavyIonsAnalysis.Configuration.analysisProducers_cff") |
31 | process.load("HeavyIonsAnalysis.Configuration.analysisEventContent_cff") |
32 | |
33 | process.output = cms.OutputModule("PoolOutputModule", |
34 | process.jetTrkSkimContent, |
35 | fileName = cms.untracked.string(ivars.output) |
36 | ) |
37 | |
38 | process.prod = cms.Path(process.allTracks + |
39 | process.heavyIon + |
40 | process.makeHeavyIonJets |
41 | ) |
42 | |
43 | process.out_step = cms.EndPath(process.output) |
44 |