1 |
# $Id: MitTreeFiller_CRAFT.py,v 1.4 2009/03/24 15:49:13 bendavid Exp $
|
2 |
#---------------------------------------------------------------------------------------------------
|
3 |
# This template config file is intended to be a reference for the "HEAD" bambu tree version.
|
4 |
# This config file will be used by the mitprod account to do production on CRAB. It must
|
5 |
# be ensured that this config file is always working with the production CMSSW release.
|
6 |
#---------------------------------------------------------------------------------------------------
|
7 |
# List of paramters to be properly replaced
|
8 |
#
|
9 |
# - XX-MITDATASET-XX - MIT type dataset name (ex. csa08-1ipb-jpsi)
|
10 |
#
|
11 |
#---------------------------------------------------------------------------------------------------
|
12 |
|
13 |
import FWCore.ParameterSet.Config as cms
|
14 |
process = cms.Process("FILLER")
|
15 |
|
16 |
process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1000) )
|
17 |
process.source = cms.Source("PoolSource",
|
18 |
fileNames = cms.untracked.vstring(
|
19 |
'file:/server/02a/bendavid/RECO/CRAFT_225_FromSuperpointing/6E1D2117-280C-DE11-B00A-001731AF677D.root'
|
20 |
),
|
21 |
secondaryFileNames = cms.untracked.vstring()
|
22 |
)
|
23 |
|
24 |
#Load MitTreeFiller
|
25 |
process.TreeService = cms.Service("TreeService",
|
26 |
fileNames = cms.untracked.vstring('mit-craft')
|
27 |
)
|
28 |
process.add_(cms.Service("ObjectService"))
|
29 |
process.load("MitProd.TreeFiller.MitTreeFiller_CRAFT_cfi")
|
30 |
|
31 |
process.load("FWCore.MessageLogger.MessageLogger_cfi")
|
32 |
|
33 |
process.p1 = cms.Path(
|
34 |
process.MitTreeFiller
|
35 |
)
|