-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bsunanda:Run2-hcx28 Make the topology tester up-to-date with the geometry changes for HCAL #11423
Merged
Merged
Changes from 3 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,10 @@ | ||
<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"/> | ||
<use name="CoralBase"/> | ||
|
||
<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) |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this dependency here? (and in the buildfile?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed dependency
From: David Lange [[email protected]]
Sent: 26 September 2015 13:54
To: cms-sw/cmssw
Cc: Sunanda Banerjee
Subject: Re: [cmssw] bsunanda:Run2-hcx28 Make the topology tester up-to-date with the geometry changes for HCAL (#11423)
In Geometry/CaloTopology/test/HcalTopologyTester.cchttps://github.com//pull/11423#discussion_r40492941:
why is this dependency here? (and in the buildfile?)
—
Reply to this email directly or view it on GitHubhttps://github.com//pull/11423/files#r40492941.