ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/python/MitTreeFiller_CRAFT.py
Revision: 1.2
Committed: Fri Nov 14 16:25:00 2008 UTC (16 years, 5 months ago) by bendavid
Content type: text/x-python
Branch: MAIN
CVS Tags: Mit_008pre1, Mit_006b, Mit_006a, Mit_006
Changes since 1.1: +12 -2 lines
Log Message:
Updated CRAFT config files for 006

File Contents

# Content
1 # $Id: MitTreeFiller_CRAFT.py,v 1.1 2008/10/28 18:52:14 bendavid 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('mit-craft')
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 ecalAssocActive = cms.untracked.bool(False),
41 mitName = cms.untracked.string('RsWithMaterialTracks'),
42 edmName = cms.untracked.string('rsWithMaterialTracksP5'),
43 trackingMapName = cms.untracked.string('TrackingMap'),
44 barrelSuperClusterMapName = cms.untracked.string('barrelSuperClusterMap'),
45 endcapSuperClusterMapName = cms.untracked.string('endcapSuperClusterMap'),
46 trackMapName = cms.untracked.string('rsTracksMapName'),
47 edmSimAssociationName = cms.untracked.string('trackingParticleRecoTrackAsssociation')
48 )
49 )
50
51 process.cosmicTrackFiller = cms.EDAnalyzer("FillMitTree",
52 defactive = cms.untracked.bool(False),
53
54 GeneralTracks = cms.untracked.PSet(
55 active = cms.untracked.bool(True),
56 ecalAssocActive = cms.untracked.bool(False),
57 mitName = cms.untracked.string('CosmicTracks'),
58 edmName = cms.untracked.string('cosmictrackfinderP5'),
59 trackingMapName = cms.untracked.string('TrackingMap'),
60 barrelSuperClusterMapName = cms.untracked.string('barrelSuperClusterMap'),
61 endcapSuperClusterMapName = cms.untracked.string('endcapSuperClusterMap'),
62 trackMapName = cms.untracked.string('cosmicTracksMapName'),
63 edmSimAssociationName = cms.untracked.string('trackingParticleRecoTrackAsssociation')
64 )
65 )
66
67 #load gsf track to general track associator
68 process.load("MitEdm.Producers.gsfTrackAssociator_cff")
69 process.MitTreeFiller.Electrons.gsfTrackAssocName = 'gsfTrackAssociator'
70
71 process.load("FWCore.MessageLogger.MessageLogger_cfi")
72
73
74 process.p1 = cms.Path(
75 process.MitTreeFiller
76 *process.rsTrackFiller
77 *process.cosmicTrackFiller
78 )