Skip to content
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

FastSim readiness for DD4Hep migration #29197

Merged
merged 1 commit into from Mar 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion FastSimulation/EventProducer/BuildFile.xml
@@ -1,7 +1,6 @@
<use name="DataFormats/BeamSpot"/>
<use name="DataFormats/Common"/>
<use name="DataFormats/Provenance"/>
<use name="DetectorDescription/Core"/>
<use name="FWCore/Framework"/>
<use name="FWCore/ParameterSet"/>
<use name="FWCore/PluginManager"/>
Expand Down
Expand Up @@ -12,7 +12,6 @@

#include "FastSimulation/Utilities/interface/FamosDebug.h"

#include "DetectorDescription/Core/interface/DDsvalues.h"
#include "DataFormats/Math/interface/Vector3D.h"

#include "SimG4CMS/Calo/interface/HFShowerLibrary.h"
Expand All @@ -31,7 +30,6 @@
#include <memory>
#include <map>

class DDCompactView;
class FSimEvent;
class FSimTrack;
class HFShowerLibrary;
Expand Down
6 changes: 0 additions & 6 deletions FastSimulation/ShowerDevelopment/src/FastHFShowerLibrary.cc
Expand Up @@ -8,9 +8,6 @@
#include "FastSimulation/Event/interface/FSimTrack.h"
#include "FastSimulation/Utilities/interface/RandomEngineAndDistribution.h"
#include "SimG4CMS/Calo/interface/HFFibreFiducial.h"
#include "DetectorDescription/Core/interface/DDFilter.h"
#include "DetectorDescription/Core/interface/DDFilteredView.h"
#include "DetectorDescription/Core/interface/DDValue.h"
#include "FWCore/Framework/interface/ESTransientHandle.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "Geometry/Records/interface/IdealGeometryRecord.h"
Expand Down Expand Up @@ -50,9 +47,6 @@ FastHFShowerLibrary::FastHFShowerLibrary(edm::ParameterSet const& p) : fast(p) {
void const FastHFShowerLibrary::initHFShowerLibrary(const edm::EventSetup& iSetup) {
edm::LogInfo("FastCalorimetry") << "initHFShowerLibrary::initialization";

edm::ESTransientHandle<DDCompactView> cpv;
iSetup.get<IdealGeometryRecord>().get(cpv);

edm::ESHandle<HcalDDDSimConstants> hdc;
iSetup.get<HcalSimNumberingRecord>().get(hdc);
hcalConstants = hdc.product();
Expand Down