CMS 3D CMS Logo

CaloTowersValidation_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
8 GlobalTag.globaltag = 'MC_31X_V3::All'
9 
10 from DQMServices.Core.DQM_cfg import *
11 maxEvents = cms.untracked.PSet(
12  input = cms.untracked.int32(-1)
13 )
14 source = cms.Source("PoolSource",
15  debugFlag = cms.untracked.bool(True),
16  debugVebosity = cms.untracked.uint32(10),
17  fileNames = cms.untracked.vstring('file:/')
18 )
19 
20 MessageLogger = cms.Service("MessageLogger")
21 
22 myanalyzer = cms.EDAnalyzer("CaloTowersValidation",
23  outputFile = cms.untracked.string('CaloTowersValidationHB.root'),
24  CaloTowerCollectionLabel = cms.untracked.string('towerMaker'),
25  hcalselector = cms.untracked.string('HB')
26 )
27 
28 DQM.collectorHost = ''
29 
30 #--- DigiToRaw <-> RawToDigi
33 
34 ### Special - CaloOnly ------------------------------------
35 
36 #--- comes from DigiToRaw_cff.py
37 ecalPacker.Label = 'simEcalDigis'
38 ecalPacker.InstanceEB = 'ebDigis'
39 ecalPacker.InstanceEE = 'eeDigis'
40 ecalPacker.labelEBSRFlags = "simEcalDigis:ebSrFlags"
41 ecalPacker.labelEESRFlags = "simEcalDigis:eeSrFlags"
42 #
43 #- hcalRawData (EventFilter/HcalRawToDigi/python/HcalDigiToRaw_cfi.py
44 # uses simHcalDigis by default...
45 
46 
47 #--- to force RAW->Digi
48 ecalDigis.InputLabel = 'rawDataCollector'
49 hcalDigis.InputLabel = 'rawDataCollector'
50 ecalPreshowerDigis.sourceTag = 'rawDataCollector'
51 
52 #--- calolocalreco = cms.Sequence(ecalLocalRecoSequence+hcalLocalRecoSequence)
53 # RecoLocalCalo.Configuration.ecalLocalRecoSequence_cff
54 # RecoLocalCalo.Configuration.hcalLocalReco_cff
55 
56 
57 p = cms.Path(
58  mix *
59  calDigi *
60  ecalPacker *
61  esDigiToRaw *
62  hcalRawData *
63  rawDataCollector *
64  ecalDigis *
65  ecalPreshowerDigis *
66  hcalDigis *
67  calolocalreco *
68  caloTowersRec *
69  myanalyzer
70 )
71 
Output File Configuration.