Skip to content

Commit

Permalink
adding comments for ian.
Browse files Browse the repository at this point in the history
  • Loading branch information
tschuh committed Sep 2, 2024
1 parent b53b12b commit 7792318
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion L1Trigger/TrackFindingTracklet/plugins/ProducerDR.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ using namespace tt;
namespace trklet {

/*! \class trklet::ProducerDR
* \brief Emulates removal of duplicated TTTracks f/w
* \brief Emulates removal of duplicated TTTracks f/w.
* Track order determined by TrackMultiplexer affects performance
* \author Thomas Schuh
* \date 2023, Feb
*/
Expand Down
1 change: 1 addition & 0 deletions L1Trigger/TrackFindingTracklet/plugins/ProducerTM.cc
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ namespace trklet {

/*! \class trklet::ProducerTM
* \brief Transforms format of TBout into that expected by DR input and muxes all channels to 1.
Since DR keeps first tracks the mux ordering is important.
* \author Thomas Schuh
* \date 2023, Jan
*/
Expand Down
1 change: 1 addition & 0 deletions L1Trigger/TrackFindingTracklet/src/TrackMultiplexer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@ namespace trklet {
deque<Track*> accepted;
vector<deque<Track*>> stacks(channelAssignment_->numChannelsTrack());
vector<deque<Track*>> streams(channelAssignment_->numChannelsTrack());
// mux order affects DR
for (int channel = 0; channel < channelAssignment_->numChannelsTrack(); channel++)
for (Track* track : input_[channel])
streams[channel].push_back((track && track->valid_) ? track : nullptr);
Expand Down

0 comments on commit 7792318

Please sign in to comment.