Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make units dd4hep-dependent in Run3 Tracker algo #32863

Merged
merged 3 commits into from
Feb 11, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Off-topic: rename printAllTrackerGeometricDets function, now placed a…
…fter DetId building.
  • Loading branch information
ghugo83 committed Feb 10, 2021
commit 75d9d525b13e83bdff7945e36debbc9d31e5ac6a
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ std::unique_ptr<GeometricDet> DDDCmsTrackerContruction::construct(const DDCompac
theCmsTrackerDetIdBuilder.buildId(*tracker);

if (DEBUG) {
printAllTrackerGeometricDetsBeforeDetIDBuilding(tracker.get());
printAllTrackerGeometricDets(tracker.get());
}

fv.parent();
Expand Down Expand Up @@ -88,7 +88,7 @@ std::unique_ptr<GeometricDet> DDDCmsTrackerContruction::construct(const cms::DDC
theCmsTrackerDetIdBuilder.buildId(*tracker);

if (DEBUG) {
printAllTrackerGeometricDetsBeforeDetIDBuilding(tracker.get());
printAllTrackerGeometricDets(tracker.get());
}

return tracker;
Expand All @@ -100,7 +100,7 @@ std::unique_ptr<GeometricDet> DDDCmsTrackerContruction::construct(const cms::DDC
* and all GeometricDets are sorted according to their geometric position.
* This allows a convenient debugging, as the DetIds will be later assigned according to this information.
*/
void DDDCmsTrackerContruction::printAllTrackerGeometricDetsBeforeDetIDBuilding(const GeometricDet* tracker) {
void DDDCmsTrackerContruction::printAllTrackerGeometricDets(const GeometricDet* tracker) {
std::ofstream outputFile("All_Tracker_GeometricDets_before_DetId_building.log", std::ios::out);

// Tree navigation: queue for BFS (we want to see same hierarchy level together).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace cms {
namespace DDDCmsTrackerContruction {
std::unique_ptr<GeometricDet> construct(DDCompactView const& cpv, std::vector<int> const& detidShifts);
std::unique_ptr<GeometricDet> construct(cms::DDCompactView const& cpv, std::vector<int> const& detidShifts);
void printAllTrackerGeometricDetsBeforeDetIDBuilding(const GeometricDet* tracker);
void printAllTrackerGeometricDets(const GeometricDet* tracker);
}; // namespace DDDCmsTrackerContruction

#endif