1 |
+ |
|
2 |
|
import FWCore.ParameterSet.Config as cms |
3 |
|
|
4 |
|
process = cms.Process('PAT') |
5 |
|
|
6 |
|
process.source = cms.Source("PoolSource", |
7 |
< |
fileNames = cms.untracked.vstring("reco.root") |
8 |
< |
) |
7 |
> |
fileNames = cms.untracked.vstring("rfio:/castor/cern.ch/cms/store/relval/CMSSW_3_7_0/RelValHydjetQ_MinBias_2760GeV/GEN-SIM-RECO/MC_37Y_V4-v1/0025/1E466625-6169-DF11-A543-002618943829.root"), |
8 |
> |
inputCommands = cms.untracked.vstring("keep *_*_*_*", |
9 |
> |
"drop *_iterativeConePu5CaloJets_*_*" |
10 |
> |
), |
11 |
> |
dropDescendantsOfDroppedBranches = cms.untracked.bool(False) |
12 |
> |
) |
13 |
|
|
14 |
|
process.maxEvents = cms.untracked.PSet( |
15 |
< |
input = cms.untracked.int32(10) |
15 |
> |
input = cms.untracked.int32(2) |
16 |
|
) |
17 |
|
|
18 |
+ |
process.load('Configuration/StandardSequences/GeometryExtended_cff') |
19 |
+ |
|
20 |
+ |
process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff') |
21 |
+ |
process.load('Configuration/StandardSequences/MagneticField_38T_cff') |
22 |
+ |
process.GlobalTag.globaltag = 'MC_37Y_V5::All' |
23 |
+ |
|
24 |
+ |
process.load('Configuration/StandardSequences/ReconstructionHeavyIons_cff') |
25 |
+ |
|
26 |
+ |
process.hiCentrality.produceHFhits = False |
27 |
+ |
process.hiCentrality.produceHFtowers = False |
28 |
+ |
process.hiCentrality.produceEcalhits = False |
29 |
+ |
process.hiCentrality.produceBasicClusters = False |
30 |
+ |
process.hiCentrality.produceZDChits = False |
31 |
+ |
process.hiCentrality.produceETmidRapidity = True |
32 |
+ |
process.hiCentrality.producePixelhits = True |
33 |
+ |
|
34 |
|
process.load('PhysicsTools.PatAlgos.patHeavyIonSequences_cff') |
35 |
< |
from Saved.PatAlgos.tools.heavyIonTools import * |
35 |
> |
from PhysicsTools.PatAlgos.tools.heavyIonTools import * |
36 |
|
configureHeavyIons(process) |
37 |
|
|
38 |
|
from PhysicsTools.PatAlgos.tools.jetTools import * |
18 |
– |
#switchJECSet( process, "Spring10") # Spring10 is the new default |
39 |
|
|
40 |
|
process.load("HeavyIonsAnalysis.Configuration.analysisProducers_cff") |
41 |
|
process.load("HeavyIonsAnalysis.Configuration.analysisEventContent_cff") |
42 |
|
|
43 |
|
process.output = cms.OutputModule("PoolOutputModule", |
44 |
< |
process.jetTrkSkimContent, |
45 |
< |
fileName = cms.untracked.string("jetAnaSkim.root") |
46 |
< |
) |
47 |
< |
|
48 |
< |
process.prod = cms.Path(process.allTracks + |
49 |
< |
#process.heavyIon + |
44 |
> |
process.jetTrkSkimContent, |
45 |
> |
fileName = cms.untracked.string("allenrichedNZS.root") |
46 |
> |
) |
47 |
> |
|
48 |
> |
process.output.outputCommands.extend([ |
49 |
> |
"keep recoVertexs_hiSelectedVertex__RECO", |
50 |
> |
"keep recoTracks_hiSelectedTracks__RECO", |
51 |
> |
"keep recoPhotons_*_*_*" , |
52 |
> |
"keep edmTriggerResults_TriggerResults__*" , |
53 |
> |
"keep triggerTriggerEvent_hltTriggerSummaryAOD__*" |
54 |
> |
]) |
55 |
> |
|
56 |
> |
process.prod = cms.Path( |
57 |
> |
process.siPixelRecHits + |
58 |
> |
process.iterativeConePu5CaloJets + |
59 |
> |
process.kt4CaloJets + |
60 |
> |
process.ak5CaloJets + |
61 |
> |
process.hiCentrality + |
62 |
|
process.makeHeavyIonJets |
63 |
|
) |
64 |
|
|
67 |
|
|
68 |
|
process.out_step = cms.EndPath(process.output) |
69 |
|
|
70 |
+ |
|