CMS 3D CMS Logo

hgcalHitValidation_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
4 hgcalHitValidation = DQMEDAnalyzer('HGCalHitValidation',
5  geometrySource = cms.untracked.vstring("HGCalEESensitive",
6  "HGCalHESiliconSensitive",
7  "Hcal"),
8  eeSimHitSource = cms.InputTag("g4SimHits","HGCHitsEE"),
9  fhSimHitSource = cms.InputTag("g4SimHits","HGCHitsHEfront"),
10  bhSimHitSource = cms.InputTag("g4SimHits","HcalHits"),
11  eeRecHitSource = cms.InputTag("HGCalRecHit","HGCEERecHits"),
12  fhRecHitSource = cms.InputTag("HGCalRecHit","HGCHEFRecHits"),
13  bhRecHitSource = cms.InputTag("HGCalRecHit","HGCHEBRecHits"),
14  ietaExcludeBH = cms.vint32([]),
15  ifHCAL = cms.bool(False),
16  ifHCALsim = cms.bool(True),
17  )
18 
19 from Validation.HGCalValidation.hgcalHitCalibration_cfi import hgcalHitCalibration
20 from Validation.HGCalValidation.caloparticlevalidation_cfi import caloparticlevalidation
21 
22 hgcalHitValidationSequence = cms.Sequence(hgcalHitValidation+hgcalHitCalibration+caloparticlevalidation)
23 
24 from Configuration.Eras.Modifier_phase2_hgcalV9_cff import phase2_hgcalV9
25 phase2_hgcalV9.toModify(hgcalHitValidation,
26  bhSimHitSource = cms.InputTag("g4SimHits","HGCHitsHEback"),
27  geometrySource = cms.untracked.vstring("HGCalEESensitive","HGCalHESiliconSensitive","HGCalHEScintillatorSensitive"),
28  ifHCALsim = cms.bool(False),
29 )