Skip to content
Snippets Groups Projects

Draft: Update the FT sensitive det ID

Closed Zehua Xu requested to merge scifi_sensitive_id_update into master
1 unresolved thread
3 files
+ 5
5
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -837,7 +837,7 @@ namespace {
pos = dd4hep::Position( 0, 0, dd4hep::_toDouble( "FT:T1ZPos" ) );
rot = dd4hep::RotationZYX( 0, 0, beam_angle );
pv = ft_vol.placeVolume( vol_station5, dd4hep::Transform3D( rot, pos ) );
pv.addPhysVolID( "station", 0 );
pv.addPhysVolID( "station", 1 );
de_station = detElement( vol_station5.name() ).clone( "T1", 0 );
de_station.setPlacement( pv );
detector.add( de_station );
@@ -846,7 +846,7 @@ namespace {
pos = dd4hep::Position( 0, 0, dd4hep::_toDouble( "FT:T2ZPos" ) );
pv = ft_vol.placeVolume( vol_station5, dd4hep::Transform3D( rot, pos ) );
pv.addPhysVolID( "station", 1 );
pv.addPhysVolID( "station", 2 );
de_station = detElement( vol_station5.name() ).clone( "T2", 1 );
de_station.setPlacement( pv );
detector.add( de_station );
@@ -855,7 +855,7 @@ namespace {
pos = dd4hep::Position( 0, 0, dd4hep::_toDouble( "FT:T3ZPos" ) );
pv = ft_vol.placeVolume( vol_station6, dd4hep::Transform3D( rot, pos ) );
pv.addPhysVolID( "station", 2 );
pv.addPhysVolID( "station", 3 );
de_station = detElement( vol_station6.name() ).clone( "T3", 2 );
de_station.setPlacement( pv );
detector.add( de_station );
Loading