ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/python/MitTreeFiller_CRAFT.py
Revision: 1.1
Committed: Tue Oct 28 18:52:14 2008 UTC (16 years, 6 months ago) by bendavid
Content type: text/x-python
Branch: MAIN
Log Message:
Added config files for CRAFT

File Contents

# User Rev Content
1 bendavid 1.1 # $Id: MitTreeFiller_template.py,v 1.12 2008/10/07 17:57:19 sixie Exp $
2     #---------------------------------------------------------------------------------------------------
3     # This template config file is intended to be a reference for the "HEAD" OAK 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(99999999) )
17     process.source = cms.Source("PoolSource",
18     fileNames = cms.untracked.vstring(
19     #'file:/server/02a/sixie/RECO/001EA63A-DF60-DD11-9D5A-001A92810AA6.root'
20     #'/store/data/Commissioning08/Cosmics/RECO/v1/000/067/818/785E3E2E-C0A4-DD11-88AE-001D09F23F2A.root'
21     #'/store/data/Commissioning08/Cosmics/RECO/v1/000/067/818/AE974FB8-B0A4-DD11-86A3-001D09F2932B.root'
22     #'/store/data/Commissioning08/Cosmics/RECO/v1/000/067/647/B67938C8-60A3-DD11-B865-001D09F23F2A.root'
23     '/store/data/Commissioning08/Cosmics/RECO/v1/000/067/818/F861BA57-A6A4-DD11-BFF6-000423D98804.root'
24     ),
25     secondaryFileNames = cms.untracked.vstring()
26     )
27    
28     #Load MitTreeFiller
29     process.TreeService = cms.Service("TreeService",
30     fileNames = cms.untracked.vstring('XX-MITDATASET-XX')
31     )
32     process.add_(cms.Service("ObjectService"))
33     process.load("MitProd.TreeFiller.MitTreeFiller_CRAFT_cfi")
34    
35     process.rsTrackFiller = cms.EDAnalyzer("FillMitTree",
36     defactive = cms.untracked.bool(False),
37    
38     GeneralTracks = cms.untracked.PSet(
39     active = cms.untracked.bool(True),
40     mitName = cms.untracked.string('RsWithMaterialTracks'),
41     edmName = cms.untracked.string('rsWithMaterialTracksP5'),
42     trackingMapName = cms.untracked.string('TrackingMap'),
43     trackMapName = cms.untracked.string('rsTracksMapName'),
44     edmSimAssociationName = cms.untracked.string('trackingParticleRecoTrackAsssociation')
45     )
46     )
47    
48     process.cosmicTrackFiller = cms.EDAnalyzer("FillMitTree",
49     defactive = cms.untracked.bool(False),
50    
51     GeneralTracks = cms.untracked.PSet(
52     active = cms.untracked.bool(True),
53     mitName = cms.untracked.string('CosmicTracks'),
54     edmName = cms.untracked.string('cosmictrackfinderP5'),
55     trackingMapName = cms.untracked.string('TrackingMap'),
56     trackMapName = cms.untracked.string('cosmicTracksMapName'),
57     edmSimAssociationName = cms.untracked.string('trackingParticleRecoTrackAsssociation')
58     )
59     )
60    
61     process.load("FWCore.MessageLogger.MessageLogger_cfi")
62    
63    
64     process.p1 = cms.Path(
65     process.MitTreeFiller
66     *process.rsTrackFiller
67     *process.cosmicTrackFiller
68     )