Skip to content
Snippets Groups Projects
Commit 23c44c0e authored by FU Chengdong's avatar FU Chengdong
Browse files

add combineHits option

parent 9293c980
No related branches found
No related tags found
No related merge requests found
......@@ -231,6 +231,10 @@ static dd4hep::Ref_t create_detector(Detector& description, xml_h e, SensitiveDe
if(x_layer.isSensitive()) chamber_id++;
}
if ( x_det.hasAttr(_U(combineHits)) ) {
tracker.setCombineHits(x_det.attr<bool>(_U(combineHits)),sens);
}
FixedPadSizeTPCData* dcData = new FixedPadSizeTPCData;
dcData->zHalf = halflength_chamber+thickness_side;
dcData->rMin = rmin_chamber-thickness_inner;
......
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