1 |
import FWCore.ParameterSet.Config as cms
|
2 |
|
3 |
process = cms.Process("Test")
|
4 |
|
5 |
process.load("FWCore.MessageService.MessageLogger_cfi")
|
6 |
|
7 |
|
8 |
#Trigger Data
|
9 |
process.load('HLTrigger.special.hltPhysicsDeclared_cfi')
|
10 |
process.hltPhysicsDeclared.L1GtReadoutRecordTag = 'gtDigis'
|
11 |
|
12 |
process.load('HLTrigger.HLTfilters.hltHighLevel_cfi')
|
13 |
#process.hltHighLevel.HLTPaths = cms.vstring("NOVO_PATH")
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
#Removing Beam Scraping Events
|
20 |
process.noscraping = cms.EDFilter("FilterOutScraping",
|
21 |
applyfilter = cms.untracked.bool(True),
|
22 |
debugOn = cms.untracked.bool(True),
|
23 |
numtrack = cms.untracked.uint32(10),
|
24 |
thresh = cms.untracked.double(0.25)
|
25 |
)
|
26 |
|
27 |
|
28 |
|
29 |
process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
|
30 |
|
31 |
process.source = cms.Source("PoolSource",
|
32 |
fileNames = cms.untracked.vstring(
|
33 |
'file:/export/home/dfigueiredo/DataRecoTest/PYTHIA6_QCD_Pthat_30_7TeV_cff_py_RAW2DIGI_L1Reco_RECO.root'
|
34 |
|
35 |
)
|
36 |
)
|
37 |
|
38 |
#process.load('JetMETCorrections.Configuration.DefaultJEC_cff')
|
39 |
|
40 |
#process.filterenergy = cms.EDFilter("EnergyAsymmetry",cutEn = cms.untracked.double(1))
|
41 |
#process.filterdijets = cms.EDFilter("DijetsFilter")
|
42 |
#process.dijets = cms.EDAnalyzer("Dijets2")
|
43 |
process.xicalculus = cms.EDAnalyzer("XiCalculus")
|
44 |
process.fraction = cms.EDAnalyzer("FractionEnergy")
|
45 |
|
46 |
process.TFileService = cms.Service("TFileService",
|
47 |
fileName = cms.string('MyAnalysis.root')
|
48 |
)
|
49 |
|
50 |
process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(True))
|
51 |
#process.Tracer = cms.Service("Tracer")
|
52 |
|
53 |
|
54 |
# Show all Data in Event
|
55 |
process.p = cms.Path(process.hltPhysicsDeclared + process.xicalculus + process.fraction)
|
56 |
#process.p = cms.Path(process.genproton + process.dijets + process.xicalculus + process.fraction)
|
57 |
process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
|
58 |
|
59 |
|