1 |
querten |
1.1 |
import FWCore.ParameterSet.Config as cms
|
2 |
|
|
|
3 |
|
|
process = cms.Process("FROG")
|
4 |
|
|
process.load("Configuration.StandardSequences.Geometry_cff")
|
5 |
|
|
process.load("Configuration.StandardSequences.MagneticField_30T_cff")
|
6 |
|
|
process.load("Configuration.StandardSequences.ReconstructionCosmics_cff")
|
7 |
|
|
#process.load("Configuration.StandardSequences.Reconstruction_cff")
|
8 |
|
|
#process.load("Configuration.StandardSequences.RawToDigi_cff")
|
9 |
|
|
process.load("Configuration.StandardSequences.RawToDigi_Data_cff")
|
10 |
|
|
|
11 |
|
|
process.source = cms.Source("PoolSource",
|
12 |
|
|
#firstEvent = cms.untracked.uint32(11732),
|
13 |
|
|
#firstRun = cms.untracked.uint32(1),
|
14 |
|
|
fileNames = cms.untracked.vstring('/store/data/Commissioning08/Cosmics/RAW/CRUZET4_v1/000/058/627/1694EC93-9371-DD11-A72E-0030487A18F2.root')
|
15 |
|
|
#fileNames = cms.untracked.vstring('rfio:/castor/cern.ch/user/b/boudoul/219/Cosmic0T/GenSimRaw/CosmicGenSimRaw0T_149.root')
|
16 |
|
|
)
|
17 |
|
|
process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1000) )
|
18 |
|
|
|
19 |
|
|
from FWCore.MessageLogger.MessageLogger_cfi import *
|
20 |
|
|
|
21 |
|
|
#process.load("Configuration.StandardSequences.FakeConditions_cff")
|
22 |
|
|
process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
|
23 |
|
|
process.prefer("GlobalTag")
|
24 |
|
|
process.GlobalTag.connect = "frontier://PromptProd/CMS_COND_21X_GLOBALTAG"
|
25 |
|
|
process.GlobalTag.globaltag = "CRUZET4_V5P::All"
|
26 |
|
|
|
27 |
|
|
|
28 |
|
|
# TRACK FILTER
|
29 |
|
|
process.filterOnTracks = cms.EDFilter("TrackCountFilter",
|
30 |
|
|
src = cms.InputTag('cosmictrackfinderP5'),
|
31 |
|
|
# src = cms.InputTag('globalCosmicMuons'),
|
32 |
|
|
minNumber = cms.uint32(1)
|
33 |
|
|
)
|
34 |
|
|
|
35 |
|
|
|
36 |
|
|
|
37 |
|
|
#FROG
|
38 |
|
|
process.load("Visualisation.Frog.Frog_Analyzer_cff")
|
39 |
|
|
|
40 |
querten |
1.3 |
#process.frog.OutputFile = 'Cosmics_noTracksFilter.vis'
|
41 |
|
|
process.frog.OutputFile = 'Cosmics_cosmictrackfinderP5Filter.vis'
|
42 |
|
|
process.frog.NEventsInVisFile = 250
|
43 |
|
|
process.frog.CompressFiles = cms.bool(True)
|
44 |
|
|
|
45 |
querten |
1.1 |
|
46 |
|
|
process.frog.GenParticlesProducers = [] #Commented Lines means default value
|
47 |
|
|
process.frog.SimVertexProducers = [] #Commented Lines means default value
|
48 |
|
|
process.frog.SimTrackProducers = [] #Commented Lines means default value
|
49 |
|
|
process.frog.SimHitProducers = [] #Commented Lines means default value
|
50 |
|
|
process.frog.SimCaloHitProducers = [] #Commented Lines means default value
|
51 |
|
|
#process.frog.SiStripClusterProducers = [] #Commented Lines means default value
|
52 |
|
|
#process.frog.EcalRecHitProducers = [] #Commented Lines means default value
|
53 |
|
|
#process.frog.HcalHBHERecHitProducers = [] #Commented Lines means default value
|
54 |
|
|
#process.frog.HcalHORecHitProducers = [] #Commented Lines means default value
|
55 |
|
|
#process.frog.HcalHFRecHitProducers = [] #Commented Lines means default value
|
56 |
|
|
#process.frog.DTSegmentProducers = [] #Commented Lines means default value
|
57 |
|
|
#process.frog.CSCSegmentProducers = [] #Commented Lines means default value
|
58 |
|
|
#process.frog.RPCHitsProducers = [] #Commented Lines means default value
|
59 |
|
|
#process.frog.CaloTowersProducers = [] #Commented Lines means default value
|
60 |
|
|
process.frog.NIProducers = [] #Commented Lines means default value
|
61 |
|
|
#process.frog.TrackProducers = ['cosmicMuons', 'lhcStandAloneMuonsBarrelOnly'] #Commented Lines means default value
|
62 |
|
|
process.frog.TrajectoryProducers = ['ctfWithMaterialTracksP5', 'ctfWithMaterialTracksBeamHaloMuon', 'rsWithMaterialTracksP5', 'cosmictrackfinderP5', 'lhcStandAloneMuonsBarrelOnly', 'lhcStandAloneMuonsEndCapsOnly']
|
63 |
|
|
process.frog.BasicJetsProducers = [] #Commented Lines means default value
|
64 |
|
|
#process.frog.CaloJetsProducers = [] #Commented Lines means default value
|
65 |
|
|
#process.frog.RecoCandidateProducers = [] #Commented Lines means default value
|
66 |
|
|
#process.frog.CaloMETProducers = [] #Commented Lines means default value
|
67 |
|
|
|
68 |
|
|
|
69 |
querten |
1.2 |
#process.p = cms.Path( process.RawToDigi_woGCT * process.reconstructionCosmics * process.frog)
|
70 |
|
|
process.p = cms.Path( process.RawToDigi_woGCT * process.reconstructionCosmics * process.filterOnTracks * process.frog)
|
71 |
querten |
1.1 |
|
72 |
|
|
|
73 |
|
|
|
74 |
|
|
|
75 |
|
|
# OUT
|
76 |
|
|
process.OUT = cms.OutputModule("PoolOutputModule",
|
77 |
|
|
fileName = cms.untracked.string('out.root'),
|
78 |
|
|
outputCommands = cms.untracked.vstring(
|
79 |
|
|
# 'drop *',
|
80 |
|
|
# 'keep recoTracks_*_*_FROG'
|
81 |
|
|
|
82 |
|
|
'keep *'
|
83 |
|
|
# 'keep *_*_*_FROG'
|
84 |
|
|
)
|
85 |
|
|
)
|
86 |
|
|
|
87 |
|
|
#process.outpath = cms.EndPath(process.OUT)
|
88 |
|
|
#process.schedule = cms.Schedule(process.p, process.outpath)
|
89 |
|
|
|
90 |
|
|
|
91 |
|
|
|
92 |
|
|
|