CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
produceCalibrationTree_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process('CALIB')
4 process.load('CalibTracker.Configuration.setupCalibrationTree_cff')
5 process.load('Configuration.StandardSequences.Geometry_cff')
6 process.load('Configuration/StandardSequences/MagneticField_AutoFromDBCurrent_cff')
7 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
8 process.GlobalTag.globaltag = 'GR09_R_V1::All'
9 
10 process.load('FWCore.MessageService.MessageLogger_cfi')
11 process.load('Configuration.StandardSequences.Services_cff')
12 process.add_( cms.Service( "TFileService",
13  fileName = cms.string( 'calibTreeTest.root' ),
14  closeFileFast = cms.untracked.bool(True) ) )
15 
16 process.load('CalibTracker.SiStripCommon.theBigNtuple_cfi')
17 process.TkCalPath = cms.Path( process.theBigNtuple * process.TkCalFullSequence )
18 process.TkPathDigi = cms.Path (process.theBigNtupleDigi)
19 process.endPath = cms.EndPath(process.bigShallowTree)
20 
21 #process.schedule = cms.Schedule( process.TkCalPath )
22 
23 
24 #following ignored by CRAB
25 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(100) )
26 process.source = cms.Source (
27  "PoolSource",
28  #from run = 123596, dataset = /MinimumBias/BeamCommissioning09-SD_AllMinBias-skim_GR09_P_V7_v1/RAW-RECO
29  fileNames=cms.untracked.vstring('/store/data/BeamCommissioning09/MinimumBias/RAW-RECO/Dec9thReReco_BSCNOBEAMHALO-v1/0000/5A8A4A57-22E5-DE11-81B0-0026189438B5.root',
30  '/store/data/BeamCommissioning09/MinimumBias/RAW-RECO/Dec9thReReco_BSCNOBEAMHALO-v1/0000/1A202DCE-1DE5-DE11-A176-002618943985.root'
31  ),
32  secondaryFileNames = cms.untracked.vstring())
33