Skip to content

Commit

Permalink
Improve debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
rovere authored and ianna committed Nov 1, 2016
1 parent f8a586f commit a95c6d3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion SimTracker/TrackerMaterialAnalysis/plugins/ListGroups.cc
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,10 @@ ListGroups::analyze(const edm::Event& evt, const edm::EventSetup& setup) {

// DD3Vector and DDTranslation are the same type as math::XYZVector
math::XYZVector position = fv.translation() / 10.; // mm -> cm
std::cout << "\t" << position << std::endl;
std::cout << "\t(" << position.x()
<< ", " << position.y()
<< ", " << position.z() << ") "
<< "[rho] " << position.Rho() << std::endl;
};
std::cout << std::endl;

Expand Down

0 comments on commit a95c6d3

Please sign in to comment.