test
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.Geometry.GeometryRecoDB_cff')
6 process.load('Configuration/StandardSequences/MagneticField_cff')
7 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
8 
9 from Configuration.AlCa.GlobalTag import GlobalTag
10 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_data', '')
11 
12 process.CalibrationTracks.src = 'ALCARECOSiStripCalMinBias'
13 process.shallowTracks.Tracks = 'ALCARECOSiStripCalMinBias'
14 
15 process.load('FWCore.MessageService.MessageLogger_cfi')
16 process.load('Configuration.StandardSequences.Services_cff')
17 process.add_( cms.Service( "TFileService",
18  fileName = cms.string( 'calibTreeTest.root' ),
19  closeFileFast = cms.untracked.bool(True) ) )
20 
21 #process.load('CalibTracker.SiStripCommon.theBigNtuple_cfi')
22 #process.TkCalPath_SB = cms.Path( process.theBigNtuple + process.TkCalSeq_StdBunch )
23 #process.TkCalPath_SB0T = cms.Path( process.theBigNtuple + process.TkCalSeq_StdBunch0T )
24 #process.TkCalPath_IM = cms.Path( process.theBigNtuple + process.TkCalSeq_IsoMuon )
25 #process.TkCalPath_IM0T = cms.Path( process.theBigNtuple + process.TkCalSeq_IsoMuon0T )
26 #process.TkCalPath_AB = cms.Path( process.theBigNtuple + process.TkCalSeq_AagBunch )
27 #process.TkCalPath_AB0T = cms.Path( process.theBigNtuple + process.TkCalSeq_AagBunch0T )
28 process.TkCalPath_SB = cms.Path( process.TkCalSeq_StdBunch )
29 process.TkCalPath_SB0T = cms.Path( process.TkCalSeq_StdBunch0T )
30 process.TkCalPath_IM = cms.Path( process.TkCalSeq_IsoMuon )
31 process.TkCalPath_IM0T = cms.Path( process.TkCalSeq_IsoMuon0T )
32 process.TkCalPath_AB = cms.Path( process.TkCalSeq_AagBunch )
33 process.TkCalPath_AB0T = cms.Path( process.TkCalSeq_AagBunch0T )
34 
35 #process.TkPathDigi = cms.Path (process.theBigNtupleDigi)
36 #process.endPath = cms.EndPath(process.bigShallowTree)
37 
38 process.schedule = cms.Schedule( process.TkCalPath_AB, process.TkCalPath_AB0T,
39  process.TkCalPath_SB, process.TkCalPath_SB0T,
40  process.TkCalPath_IM, process.TkCalPath_IM0T )
41 
42 
43 #following ignored by CRAB
44 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(100) )
45 process.source = cms.Source (
46  "PoolSource",
47  fileNames=cms.untracked.vstring(
48  '/store/data/Run2015D/ZeroBias/ALCARECO/SiStripCalMinBias-16Dec2015-v1/60007/869EE593-1FAB-E511-AF99-0025905A60B4.root',
49  ),
50  secondaryFileNames = cms.untracked.vstring())
51