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 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
23 myanalyzer = DQMEDAnalyzer('CaloTowersValidation',
24  outputFile = cms.untracked.string('CaloTowersValidationHB.root'),
25  CaloTowerCollectionLabel = cms.untracked.string('towerMaker'),
26  hcalselector = cms.untracked.string('HB')
27 )
28 
29 DQM.collectorHost = ''
30 
31 #--- DigiToRaw <-> RawToDigi
34 
35 
36 
37 #--- comes from DigiToRaw_cff.py
38 ecalPacker.Label = 'simEcalDigis'
39 ecalPacker.InstanceEB = 'ebDigis'
40 ecalPacker.InstanceEE = 'eeDigis'
41 ecalPacker.labelEBSRFlags = "simEcalDigis:ebSrFlags"
42 ecalPacker.labelEESRFlags = "simEcalDigis:eeSrFlags"
43 #
44 #- hcalRawData (EventFilter/HcalRawToDigi/python/HcalDigiToRaw_cfi.py
45 # uses simHcalDigis by default...
46 
47 
48 #--- to force RAW->Digi
49 ecalDigis.InputLabel = 'rawDataCollector'
50 hcalDigis.InputLabel = 'rawDataCollector'
51 ecalPreshowerDigis.sourceTag = 'rawDataCollector'
52 
53 #--- calolocalreco = cms.Sequence(ecalLocalRecoSequence+hcalLocalRecoSequence)
54 # RecoLocalCalo.Configuration.ecalLocalRecoSequence_cff
55 # RecoLocalCalo.Configuration.hcalLocalReco_cff
56 
57 
58 p = cms.Path(
59  mix *
60  calDigi *
61  ecalPacker *
62  esDigiToRaw *
63  hcalRawData *
64  rawDataCollector *
65  ecalDigis *
66  ecalPreshowerDigis *
67  hcalDigis *
68  calolocalreco *
69  caloTowersRec *
70  myanalyzer
71 )
72 
Output File Configuration.