Skip to content
Snippets Groups Projects
Commit 337f2919 authored by Andreas Salzburger's avatar Andreas Salzburger
Browse files

framework example run

parent 9cdbed4b
Branches upd13
No related tags found
1 merge request!122Resolve "Adapt acts-framework and acts-fatras to master"
Pipeline #738937 passed with warnings
......@@ -57,7 +57,7 @@ struct SurfaceSelector
/// @param sPassive is the directive to select passivle surfaces
SurfaceSelector(bool sSensitive = true,
bool sMaterial = false,
bool sPassive = true)
bool sPassive = false)
: selectSensitive(sSensitive)
, selectMaterial(sMaterial)
, selectPassive(sPassive)
......@@ -73,8 +73,12 @@ struct SurfaceSelector
if (selectSensitive && surface.associatedDetectorElement()) {
return true;
}
if (selectMaterial && surface.associatedMaterial()) return true;
if (selectPassive) return true;
if (selectMaterial && surface.associatedMaterial()) {
return true;
}
if (selectPassive) {
return true;
}
return false;
}
};
......
......@@ -62,7 +62,6 @@ FW::Csv::CsvSurfaceWriter::write(const Acts::Surface& surface)
// check
ACTS_DEBUG(">>Csv: Writer for Surface object called.");
auto scalor = m_cfg.outputScalor;
// let's get the bounds & the transform
const Acts::SurfaceBounds& surfaceBounds = surface.bounds();
auto sCenter = surface.center();
......
......@@ -49,8 +49,6 @@ FW::Csv::CsvTrackingGeometryWriter::write(const Acts::TrackingVolume& tVolume)
for (auto layer : tVolume.confinedLayers()->arrayObjects()) {
// we jump navigation layers
if (layer->layerType() == Acts::navigation) continue;
// get the volume name
const std::string& volumeName = tVolume.volumeName();
// find the right surfacewriter
auto surfaceWriter = m_cfg.surfaceWriter;
// bail out if you have no surface writer
......@@ -60,7 +58,6 @@ FW::Csv::CsvTrackingGeometryWriter::write(const Acts::TrackingVolume& tVolume)
// check for sensitive surfaces
if (layer->surfaceArray() && surfaceWriter) {
// the current module thickness
double cThickness = 0.;
std::vector<double> cValues;
// loop over the surface
for (auto surface : layer->surfaceArray()->surfaces()) {
......
......@@ -102,7 +102,6 @@ FW::Root::RootParticleWriter::writeT(
// loop over the process vertices
for (auto& vertex : vertices) {
auto& vtx = vertex.position;
for (auto& particle : vertex.outgoing()) {
/// collect the information
m_vx = particle.position().x();
......
Subproject commit f69ea433a571b74391c14cfa98c710cf836a88ed
Subproject commit 1ba696cbc2650629f2107e4f75eeaa990a9b37c8
Subproject commit 271c71838d2b50fa7ef57a00b0b4beb42bb6ba74
Subproject commit 1239793c974fa6a372759cd11b51c9098f3d577f
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment