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

disable truncation for displaced tracking #142

Merged
merged 1 commit into from
Apr 4, 2022
Merged
Changes from all commits
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
4 changes: 3 additions & 1 deletion L1Trigger/TrackFindingTracklet/interface/Settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ namespace trklet {
throw cms::Exception("BadConfig")
<< __FILE__ << " " << __LINE__ << " maxStep module = " << module << " not known";
}
return maxstep_.at(module) + maxstepoffset_;
return extended_ ? (maxstep_.at(module) + maxstepoffset_extended_) : (maxstep_.at(module) + maxstepoffset_);
}

double zlength() const { return zlength_; }
Expand Down Expand Up @@ -776,6 +776,8 @@ namespace trklet {
// Set to 0 (default) means standard truncation
// Set to large value, e.g. 10000, to disable truncation
unsigned int maxstepoffset_{0};
// turn off truncation for displaced tracking (not implemented properly for displaced seeding)
unsigned int maxstepoffset_extended_{10000};

//Number of processing steps for one event (108=18TM*240MHz/40MHz)

Expand Down