Skip to content

Commit

Permalink
Geant4AssemblyVolume::imprint: remove no longer used copyBase argument
Browse files Browse the repository at this point in the history
  • Loading branch information
andresailer authored and MarkusFrankATcernch committed Dec 5, 2024
1 parent 17ac97b commit bc985a8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion DDG4/include/DDG4/Geant4AssemblyVolume.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ namespace dd4hep {
Geant4AssemblyVolume* pAssembly,
G4LogicalVolume* pMotherLV,
G4Transform3D& transformation,
G4int copyNumBase,
G4bool surfCheck );
};
}
Expand Down
3 changes: 1 addition & 2 deletions DDG4/src/Geant4AssemblyVolume.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ void Geant4AssemblyVolume::imprint(const Geant4Converter& cnv,
Geant4AssemblyVolume* pParentAssembly,
G4LogicalVolume* pMotherLV,
G4Transform3D& transformation,
G4int copyNumBase,
G4bool surfCheck)
{
struct _Wrap : public G4AssemblyVolume {
Expand Down Expand Up @@ -156,7 +155,7 @@ void Geant4AssemblyVolume::imprint(const Geant4Converter& cnv,
}
else if ( triplet.GetAssembly() ) {
// Place volumes in this assembly with composed transformation
imprint(cnv, parent, std::move(new_chain), avol, pMotherLV, Tfinal, i*100+copyNumBase, surfCheck );
imprint(cnv, parent, std::move(new_chain), avol, pMotherLV, Tfinal, surfCheck );
}
else {
G4Exception("Geant4AssemblyVolume::imprint(..)", "GeomVol0003", FatalException,
Expand Down
2 changes: 1 addition & 1 deletion DDG4/src/Geant4Converter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ void* Geant4Converter::handlePlacement(const std::string& name, const TGeoNode*
Geant4AssemblyVolume* ass = (Geant4AssemblyVolume*)info.g4AssemblyVolumes[node];
Geant4AssemblyVolume::Chain chain;
chain.emplace_back(node);
ass->imprint(*this, node, chain, ass, (*volIt).second, transform, copy, checkOverlaps);
ass->imprint(*this, node, chain, ass, (*volIt).second, transform, checkOverlaps);
return nullptr;
}
else if ( node != info.manager->GetTopNode() && volIt == info.g4Volumes.end() ) {
Expand Down

0 comments on commit bc985a8

Please sign in to comment.