Skip to content
Snippets Groups Projects

Added genfit surfaces to B0 tracker.

Merged Whitney Armstrong requested to merge genfit_surfaces into master
Files
2
+ 10
1
#include <map>
#include "DD4hep/DetFactoryHelper.h"
#include "DD4hep/Printout.h"
#include "DD4hep/Shapes.h"
#include "DDRec/Surface.h"
#include "DDRec/DetectorData.h"
#include "XML/Layering.h"
#include "XML/Utilities.h"
#include "Acts/Plugins/DD4hep/ActsExtension.hpp"
#include "Acts/Definitions/Units.hpp"
using namespace std;
using namespace dd4hep;
using namespace dd4hep::rec;
using namespace dd4hep::detail;
/*! B0 Tracker.
@@ -219,7 +228,7 @@ static Ref_t create_B0Tracker(Detector& description, xml_h e, SensitiveDetector
//std::cout << " adding ACTS extension" << "\n";
Acts::ActsExtension* moduleExtension = new Acts::ActsExtension("XZY");
comp_elt.addExtension<Acts::ActsExtension>(moduleExtension);
volSurfaceList(comp_de)->push_back(volplane_surfaces[m_nam][ic]);
volSurfaceList(comp_elt)->push_back(volplane_surfaces[m_nam][ic]);
}
//} else {
// pv = layer_vol.placeVolume(
Loading