Skip to content

Commit

Permalink
Remove warning message, fix beam direction for test
Browse files Browse the repository at this point in the history
  • Loading branch information
swkim95 authored and andresailer committed Aug 6, 2024
1 parent 8dcb185 commit 65150e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/SteeringFile_IDEA_o1_v03.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@
################################################################################

## direction of the particle gun, 3 vector
SIM.gun.direction = (0, 0, 1)
SIM.gun.direction = (1., 1., 1.)

## choose the distribution of the random direction for theta
##
Expand Down
2 changes: 1 addition & 1 deletion plugins/FiberDRCaloSDAction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ namespace dd4hep

/// Method for generating hit(s) using the information of G4Step object.
template <>
G4bool Geant4SensitiveAction<DRCData>::process(G4Step GEANT4_CONST_STEP *step, G4TouchableHistory *history)
G4bool Geant4SensitiveAction<DRCData>::process(G4Step GEANT4_CONST_STEP *step, G4TouchableHistory*)
{
if (step->GetTrack()->GetDefinition() != G4OpticalPhoton::OpticalPhotonDefinition())
return false;
Expand Down

0 comments on commit 65150e9

Please sign in to comment.