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
Add PLT To Event Simulation #3087
Conversation
A new Pull Request was created by @skaplanhex (Steven Kaplan) for CMSSW_7_1_X. Add PLT To Event Simulation It involves the following packages: SimG4CMS/Forward @cmsbuild, @civanch, @Degano, @mdhildreth, @nclopezo can you please review it and eventually sign? Thanks. |
-1 >> Compiling /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_1_X-slc6_amd64_gcc481/CMSSW_7_1_X_2014-03-31-0200/src/SimG4CMS/Forward/src/TotemT1Organization.cc >> Compiling /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_1_X-slc6_amd64_gcc481/CMSSW_7_1_X_2014-03-31-0200/src/SimG4CMS/Forward/src/TotemT2NumberingSchemeGem.cc >> Compiling /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_1_X-slc6_amd64_gcc481/CMSSW_7_1_X_2014-03-31-0200/src/SimG4CMS/Forward/src/TotemT2OrganizationGem.cc >> Compiling /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_1_X-slc6_amd64_gcc481/CMSSW_7_1_X_2014-03-31-0200/src/SimG4CMS/Forward/src/TotemTestGem.cc /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_1_X-slc6_amd64_gcc481/CMSSW_7_1_X_2014-03-31-0200/src/SimG4CMS/Forward/src/PltSD.cc: In constructor 'PltSD::PltSD(std::string, const DDCompactView&, SensitiveDetectorCatalog&, const edm::ParameterSet&, const SimTrackManager_)': /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_1_X-slc6_amd64_gcc481/CMSSW_7_1_X_2014-03-31-0200/src/SimG4CMS/Forward/src/PltSD.cc:41:98: error: 'GeV' was not declared in this scope energyCut = m_TrackerSD.getParameter("EnergyThresholdForPersistencyInGeV")_GeV; //default must be 0.5 (?) ^ /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_1_X-slc6_amd64_gcc481/CMSSW_7_1_X_2014-03-31-0200/src/SimG4CMS/Forward/src/PltSD.cc:41:98: note: suggested alternative: In file included from /afs/cern.ch/cms/sw/ReleaseCandidates/vol0/slc6_amd64_gcc481/external/geant4/10.00.p01/include/Geant4/CLHEP/Units/PhysicalConstants.h:42:0, from /afs/cern.ch/cms/sw/ReleaseCandidates/vol0/slc6_amd64_gcc481/external/geant4/10.00.p01/include/Geant4/CLHEP/Vector/RotationX.icc:11, you can see the results of the tests here: |
@skaplanhex, to fix the problem you need to add header file: "#include "CLHEP/Units/SystemOfUnits.h" This is needed after we switch to Geant4 10.0. Vladimir |
@civanch I added the header. Thanks! I tried to compile my area, but I was having compilation issues with an unrelated file. I think it should be ok though. |
Sorry, now I compile myself and you need #include "CLHEP/Units/GlobalSystemOfUnits.h" instead of #include "CLHEP/Units/SystemOfUnits.h" Vladimir |
+1 |
@@ -35,6 +36,7 @@ | |||
#crossingFrames = cms.untracked.vstring( | |||
# 'BSCHits', | |||
# 'BCM1FHits', | |||
# 'PLTHits' |
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.
I would recommend removing commented code. In this particular case the change you is also wrong (missing comma). Please remove this completely in a separate pull request.
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.
@ktf OK, I will open the PR in a few minutes. Thank you for the suggestion.
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.
Sim -- Add PLT To Event Simulation
I think that I am still having problems with other volumes (perhaps my own) diminishing the number of PSimHits I see in the PLT. Can this be tested? Thanks!