Skip to content
Snippets Groups Projects
Commit e3809d2d authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

Merge branch 'tracker_cleanup' into 'master'

Barrel Tracker construction rename

See merge request !4
parents dcdcf2e6 50772ee2
No related branches found
No related tags found
1 merge request!4Barrel Tracker construction rename
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
</display> </display>
<include ref="compact/ffi_ZDC.xml" /> <include ref="ffi_ZDC.xml" />
<detectors> <detectors>
</detectors> </detectors>
......
...@@ -142,7 +142,7 @@ static Ref_t create_detector(Detector& description, xml_h e, SensitiveDetector s ...@@ -142,7 +142,7 @@ static Ref_t create_detector(Detector& description, xml_h e, SensitiveDetector s
Volume module_env = volumes[m_nam]; Volume module_env = volumes[m_nam];
DetElement lay_elt(sdet, _toString(x_layer.id(), "layer%d"), lay_id); DetElement lay_elt(sdet, _toString(x_layer.id(), "layer%d"), lay_id);
Placements& sensVols = sensitives[m_nam]; Placements& sensVols = sensitives[m_nam];
// the local coordinate systems of modules in dd4hep and acts differ // the local coordinate systems of modules in dd4hep and acts differ
// see http://acts.web.cern.ch/ACTS/latest/doc/group__DD4hepPlugins.html // see http://acts.web.cern.ch/ACTS/latest/doc/group__DD4hepPlugins.html
Acts::ActsExtension* layerExtension = new Acts::ActsExtension(); Acts::ActsExtension* layerExtension = new Acts::ActsExtension();
...@@ -220,4 +220,7 @@ static Ref_t create_detector(Detector& description, xml_h e, SensitiveDetector s ...@@ -220,4 +220,7 @@ static Ref_t create_detector(Detector& description, xml_h e, SensitiveDetector s
//@} //@}
// clang-format off // clang-format off
DECLARE_DETELEMENT(BarrelTrackerWithFrame, create_detector)
DECLARE_DETELEMENT(athena_SiVertexTracker, create_detector)
DECLARE_DETELEMENT(athena_SiBarrelTracker, create_detector)
DECLARE_DETELEMENT(refdet_SiVertexBarrel, create_detector) DECLARE_DETELEMENT(refdet_SiVertexBarrel, create_detector)
...@@ -11,6 +11,10 @@ using namespace std; ...@@ -11,6 +11,10 @@ using namespace std;
using namespace dd4hep; using namespace dd4hep;
using namespace dd4hep::detail; using namespace dd4hep::detail;
/** A barrel tracker with a module that is curved (not flat).
*
*
*/
static Ref_t create_detector(Detector& description, xml_h e, SensitiveDetector sens) static Ref_t create_detector(Detector& description, xml_h e, SensitiveDetector sens)
{ {
typedef vector<PlacedVolume> Placements; typedef vector<PlacedVolume> Placements;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment