ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/CmsHi/JulyExercise/python/highPtAnalysisSkim.py
(Generate patch)

Comparing UserCode/CmsHi/JulyExercise/python/highPtAnalysisSkim.py (file contents):
Revision 1.3 by yilmaz, Tue Jul 6 12:59:55 2010 UTC vs.
Revision 1.4 by yilmaz, Wed Jul 7 17:09:49 2010 UTC

# Line 3 | Line 3 | import FWCore.ParameterSet.Config as cms
3   process = cms.Process('PAT')
4  
5   process.source = cms.Source("PoolSource",
6 <    fileNames = cms.untracked.vstring("reco.root")
7 <    )
6 >                            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"),
7 >                            inputCommands = cms.untracked.vstring("keep *_*_*_*",
8 >                                                                  "drop *_iterativeConePu5CaloJets_*_*"
9 >                                                                  ),
10 >                            dropDescendantsOfDroppedBranches = cms.untracked.bool(False)
11 >                            )
12  
13   process.maxEvents = cms.untracked.PSet(
14 <    input = cms.untracked.int32(10)
14 >    input = cms.untracked.int32(2)
15      )
16  
17 + process.load('Configuration/StandardSequences/GeometryExtended_cff')
18 +
19 + process.load('Configuration/StandardSequences/ReconstructionHeavyIons_cff')
20 +
21 + process.hiCentrality.produceHFhits = False
22 + process.hiCentrality.produceHFtowers = False
23 + process.hiCentrality.produceEcalhits = False
24 + process.hiCentrality.produceBasicClusters = False
25 + process.hiCentrality.produceZDChits = False
26 + process.hiCentrality.produceETmidRapidity = True
27 +
28 +
29   process.load('PhysicsTools.PatAlgos.patHeavyIonSequences_cff')
30   from PhysicsTools.PatAlgos.tools.heavyIonTools import *
31   configureHeavyIons(process)
# Line 21 | Line 37 | process.load("HeavyIonsAnalysis.Configur
37  
38   process.output = cms.OutputModule("PoolOutputModule",
39      process.jetTrkSkimContent,
40 <    fileName = cms.untracked.string("jetAnaSkim.root")
40 >    fileName = cms.untracked.string("allenrichedNZS.root")
41      )
42  
43 < process.output.outputCommands.extend( "keep recoPhotons_*_*_*" )
44 <
45 < process.prod = cms.Path(process.allTracks +
46 <    #process.heavyIon +
43 > process.output.outputCommands.extend([
44 >    "keep recoVertexs_hiSelectedVertex__RECO",
45 > #    "keep *_hiSelectedTracks_*_*",
46 >    "keep recoTracks_hiSelectedTracks__RECO",
47 >    "keep recoPhotons_*_*_*" ,
48 >    "keep edmTriggerResults_TriggerResults__HISIGNAL2" ,
49 >    "keep triggerTriggerEvent_hltTriggerSummaryAOD__HISIGNAL2"
50 >    ])
51 >
52 > process.prod = cms.Path(
53 >    # process.allTracks +
54 >    process.iterativeConePu5CaloJets +
55 >    process.hiCentrality +
56      process.makeHeavyIonJets
57      )
58  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines