1 |
+ |
import FWCore.ParameterSet.Config as cms |
2 |
+ |
|
3 |
+ |
|
4 |
|
process = cms.Process('ANALYSIS') |
5 |
|
|
6 |
|
process.maxEvents = cms.untracked.PSet( |
7 |
|
input = cms.untracked.int32(2) |
8 |
< |
) |
8 |
> |
|
9 |
> |
) |
10 |
> |
|
11 |
> |
|
12 |
|
|
13 |
|
# Input source |
14 |
|
process.source = cms.Source("PoolSource", |
15 |
< |
fileNames = cms.untracked.vstring('rfio:/castor/cern.ch/user/y/yilmaz/pat/CMSSW_3_7_0/Hydjet_MinBias_2760GeV_000.root') |
10 |
< |
) |
15 |
> |
fileNames = cms.untracked.vstring('rfio:/castor/cern.ch/user/y/yilmaz/pat/CMSSW_3_7_0/SignalQuenchedDijet80to120_runs1to100.root') |
16 |
|
|
17 |
< |
process.ana = cms.EDAnalyzer('MinBiasTowerAnalyzer') |
17 |
> |
) |
18 |
|
|
19 |
|
process.TFileService = cms.Service('TFileService', |
20 |
|
fileName = cms.string('plots.root') |
21 |
|
) |
22 |
|
|
23 |
< |
process.p = cms.Path(process.ana) |
23 |
> |
process.load('Configuration/StandardSequences/GeometryExtended_cff') |
24 |
> |
|
25 |
> |
from RecoJets.JetProducers.CaloJetParameters_cfi import * |
26 |
> |
from RecoJets.JetProducers.AnomalousCellParameters_cfi import * |
27 |
> |
|
28 |
> |
process.bkg4Jets = cms.EDProducer( |
29 |
> |
"JetAlgorithmAnalyzer", |
30 |
> |
# "BackgroundJetProducer", |
31 |
> |
CaloJetParameters, |
32 |
> |
AnomalousCellParameters, |
33 |
> |
jetAlgorithm = cms.string("IterativeCone"), |
34 |
> |
rParam = cms.double(0.4), |
35 |
> |
avoidNegative = cms.bool(False), |
36 |
> |
subtractorName = cms.string("MultipleAlgoIterator") |
37 |
> |
) |
38 |
> |
|
39 |
> |
process.bkg4Jets.doPUOffsetCorr = True |
40 |
> |
process.bkg4Jets.doPVCorrection = False |
41 |
> |
process.bkg4Jets.jetPtMin = 10 |
42 |
> |
process.bkg4Jets.radiusPU = 0.4 |
43 |
> |
|
44 |
> |
process.bkg5Jets = process.bkg4Jets.clone() |
45 |
> |
process.bkg5Jets.rParam = 0.5 |
46 |
> |
process.bkg5Jets.radiusPU = 0.5 |
47 |
> |
|
48 |
> |
process.bkg6Jets = process.bkg4Jets.clone() |
49 |
> |
process.bkg6Jets.rParam = 0.6 |
50 |
> |
process.bkg6Jets.radiusPU = 0.6 |
51 |
> |
|
52 |
> |
process.bkg7Jets = process.bkg4Jets.clone() |
53 |
> |
process.bkg7Jets.rParam = 0.7 |
54 |
> |
process.bkg7Jets.radiusPU = 0.7 |
55 |
> |
|
56 |
> |
process.bkgJets = cms.Sequence(process.bkg5Jets) |
57 |
> |
|
58 |
> |
process.ana = cms.EDAnalyzer('MinBiasTowerAnalyzer') |
59 |
> |
|
60 |
> |
|
61 |
> |
process.load("CondCore.DBCommon.CondDBCommon_cfi") |
62 |
> |
process.CondDBCommon.connect = "sqlite_file:/afs/cern.ch/user/n/nart/scratch0/CMSSW_3_7_0_patch4/src/CmsHi/JulyExercise/data/CentralityTables.db" |
63 |
> |
process.PoolDBESSource = cms.ESSource("PoolDBESSource", |
64 |
> |
process.CondDBCommon, |
65 |
> |
toGet = cms.VPSet(cms.PSet(record = cms.string('HeavyIonRcd'), |
66 |
> |
tag = cms.string('HFhits40_DataJulyExercise_Hydjet2760GeV_MC_37Y_V5_v0') |
67 |
> |
) |
68 |
> |
) |
69 |
> |
) |
70 |
> |
|
71 |
> |
process.p = cms.Path(process.bkgJets*process.ana) |
72 |
|
|