Skip to content

Commit

Permalink
Fix the steering file for DDPlanarDigi; remove an unused property (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell authored Sep 30, 2024
1 parent 6ad8f97 commit ea735d5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ find_package(Gaudi REQUIRED)
find_package(k4FWCore REQUIRED)
find_package(DD4hep REQUIRED)
find_package(ROOT REQUIRED COMPONENTS RIO Tree)
# find_package(k4SimGeant4 REQUIRED)
find_package(k4SimGeant4 REQUIRED)

include(cmake/Key4hepConfig.cmake)

Expand Down
3 changes: 0 additions & 3 deletions k4Reco/DDPlanarDigi/components/DDPlanarDigi.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,6 @@ struct DDPlanarDigi final
Gaudi::Property<std::string> m_geoSvcName{this, "GeoSvcName", "GeoSvc", "The name of the GeoSvc instance"};
Gaudi::Property<int> m_maxTries{this, "MaxTries", 10, "Maximum number of tries to find a valid surface for a hit"};

Gaudi::Property<std::string> m_outputFileName{this, "OutputFileName", "planar_digi_histograms.root",
"Output file name for the histograms"};

const dd4hep::rec::SurfaceMap* surfaceMap;
std::array<std::unique_ptr<Gaudi::Accumulators::StaticRootHistogram<1>>, hSize> m_histograms;
std::string m_collName;
Expand Down
9 changes: 4 additions & 5 deletions k4Reco/DDPlanarDigi/options/runDDPlanarDigi.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
id_service = UniqueIDGenSvc("UniqueIDGenSvc")

geoservice = GeoSvc("GeoSvc")
geoservice.detectors = [os.environ["K4GEO"]+"/CLIC/compact/CLIC_o3_v15/CLIC_o3_v15.xml"]
geoservice.detectors = [os.environ["K4GEO"]+"/FCCee/CLD/compact/CLD_o2_v07/CLD_o2_v07.xml"]
geoservice.OutputLevel = INFO
geoservice.EnableGeant4Geo = False

Expand All @@ -38,10 +38,9 @@
digi.IsStrip = False
digi.ResolutionU = [0.003, 0.003, 0.003, 0.003, 0.003, 0.003]
digi.ResolutionV = [0.003, 0.003, 0.003, 0.003, 0.003, 0.003]
digi.SimTrackerHitCollectionName = "VertexBarrelCollection"
digi.SimTrkHitRelCollection = "VXDTrackerHitRelations"
digi.TrackerHitCollectionName = "VXDTrackerHits"
digi.OutputFileName = "planar_digi_histograms.root"
digi.SimTrackerHitCollectionName = ["VertexBarrelCollection"]
digi.SimTrkHitRelCollection = ["VXDTrackerHitRelations"]
digi.TrackerHitCollectionName = ["VXDTrackerHits"]

iosvc = IOSvc()
iosvc.input = "input.root"
Expand Down

0 comments on commit ea735d5

Please sign in to comment.