Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11423 from bsunanda/Run2-hcx28
bsunanda:Run2-hcx28 Make the topology tester up-to-date with the geometry changes for HCAL
- Loading branch information
Showing
4 changed files
with
109 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
<use name="DataFormats/HcalDetId"/> | ||
<use name="DataFormats/CaloTowers"/> | ||
<use name="Geometry/CaloTopology"/> | ||
<bin file="testCaloTowerTopology.cpp"> | ||
</bin> | ||
<bin file="testHcalTopology.cpp"> | ||
</bin> | ||
<use name="Geometry/Records"/> | ||
<use name="Geometry/HcalCommonData"/> | ||
|
||
<flags EDM_PLUGIN="1"/> | ||
<library file="HcalTopologyTester.cc" name="testGeometryHcalTopology"> </library> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
process = cms.Process("PROD") | ||
process.load("SimGeneral.HepPDTESSource.pdt_cfi") | ||
|
||
process.load("Geometry.HcalCommonData.testHcalOnlyGeometryXML_cfi") | ||
process.load("Geometry.HcalCommonData.hcalDDConstants_cff") | ||
process.load("Geometry.HcalEventSetup.hcalTopologyIdeal_cfi") | ||
|
||
process.MessageLogger = cms.Service("MessageLogger", | ||
destinations = cms.untracked.vstring('cout'), | ||
categories = cms.untracked.vstring('HCalGeom'), | ||
debugModules = cms.untracked.vstring('*'), | ||
cout = cms.untracked.PSet( | ||
threshold = cms.untracked.string('DEBUG'), | ||
default = cms.untracked.PSet( | ||
limit = cms.untracked.int32(0) | ||
), | ||
HCalGeom = cms.untracked.PSet( | ||
limit = cms.untracked.int32(0) | ||
) | ||
), | ||
) | ||
|
||
process.load("IOMC.RandomEngine.IOMC_cff") | ||
process.RandomNumberGeneratorService.generator.initialSeed = 456789 | ||
|
||
process.source = cms.Source("EmptySource") | ||
|
||
process.generator = cms.EDProducer("FlatRandomEGunProducer", | ||
PGunParameters = cms.PSet( | ||
PartID = cms.vint32(14), | ||
MinEta = cms.double(-3.5), | ||
MaxEta = cms.double(3.5), | ||
MinPhi = cms.double(-3.14159265359), | ||
MaxPhi = cms.double(3.14159265359), | ||
MinE = cms.double(9.99), | ||
MaxE = cms.double(10.01) | ||
), | ||
AddAntiParticle = cms.bool(False), | ||
Verbosity = cms.untracked.int32(0), | ||
firstRun = cms.untracked.uint32(1) | ||
) | ||
|
||
process.maxEvents = cms.untracked.PSet( | ||
input = cms.untracked.int32(1) | ||
) | ||
|
||
process.prod = cms.EDAnalyzer("HcalTopologyTester") | ||
|
||
process.p1 = cms.Path(process.generator*process.prod) |