forked from cms-sw/cmssw
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DTC_merge2 branch updated to 1130 (#74)
* Anders DTC merge with a gazillion manual fixes * propagate buildfile fixes * code formats * fix cherrypick mess up * Remove LayerProjection class * Further cleanup of tracklet projections interface * Correct number of processing steps by changing < to <= * Add missing include of algorithm * Remove extra const * Remove some commented out code * Remove duplicate code * Fix message logger and DTC Stub for consistency with hybrid configuration * Fix problem with writing of input link memories * Create Residual class that will replace LayerResidual and DiskResidual * Remove the use of the class DiskResiduals * Remove unused nMatch and nMatchDisk method of Tracklet * (Re-)Implement the correction to writing the DTC data link file after moving functionality to Sector. * Combine addMatch method for disk and layers into on method * combine the disk and layer match into one method * Remove some redundant poiters to l1tstubs * Pass iSeed to Tracklet * Introduce an InputRouter module. Does not change functionality, but simplifies/unifies the code and makes it similar to the HLS * Cleanup of writing the DTC link files * Change processing order such that all steps in one sector are done and then move to the next sector. This saves memory * Interface updates for CMSSW following change to module processing order * Change in VMRouter to processing PS links before 2S in disks * Cleanup of unused iSector variable in processs and memory modules * Fixes to make the HybridTracks_cfg.py run * Cleanup of hardcoded numbers etc. * Updates to MP to put all regions into one memory slot in the ProjectionTemp * Fix to calculation of irinv for projections - no matches what is done in HLS * Remove now unused file paths for the old cable mapping code * Correct missplaced curly bracket * Fixes for the displaced tracking * Fix to avoid duplicate VMSTE name in D1 for standard configuration * Address comments from Louise S. * Ran scram b code-format * Address comments from Louise S. * Addressing more comments from Louise S. * More fixes to comments * Make running hybrid default (not displaced) * restore buildfile * Add DTC link config to Settings.h * Changes to suppress warning in MatchCalculator when running displaced tracking * Fix typo introduced in code cleanup for MatchProcessor Co-authored-by: Anders Ryd <[email protected]> Co-authored-by: Anders <[email protected]>
- Loading branch information
1 parent
40a4c4c
commit cd9f79f
Showing
127 changed files
with
5,229 additions
and
4,545 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
L1Trigger/TrackFindingTracklet/interface/AllInnerStubsMemory.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#ifndef L1Trigger_TrackFindingTracklet_interface_AllInnerStubsMemory_h | ||
#define L1Trigger_TrackFindingTracklet_interface_AllInnerStubsMemory_h | ||
|
||
#include "L1Trigger/TrackFindingTracklet/interface/MemoryBase.h" | ||
|
||
#include <utility> | ||
#include <string> | ||
#include <vector> | ||
|
||
namespace trklet { | ||
|
||
class Settings; | ||
class Stub; | ||
class L1TStub; | ||
|
||
class AllInnerStubsMemory : public MemoryBase { | ||
public: | ||
AllInnerStubsMemory(std::string name, Settings const& settings); | ||
|
||
~AllInnerStubsMemory() override = default; | ||
|
||
void addStub(const Stub* stub) { stubs_.push_back(stub); } | ||
|
||
unsigned int nStubs() const { return stubs_.size(); } | ||
|
||
const Stub* getStub(unsigned int i) const { return stubs_[i]; } | ||
|
||
void clean() override { stubs_.clear(); } | ||
|
||
void writeStubs(bool first, unsigned int iSector); | ||
|
||
private: | ||
std::vector<const Stub*> stubs_; | ||
}; | ||
|
||
}; // namespace trklet | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
// This class holds a list of stubs for an DTC link. | ||
// This modules 'owns' the pointers to the stubs. All subsequent modules that handles stubs uses a pointer to the original stored here. | ||
#ifndef L1Trigger_TrackFindingTracklet_interface_DTCLinkMemory_h | ||
#define L1Trigger_TrackFindingTracklet_interface_DTCLinkMemory_h | ||
|
||
#include "L1Trigger/TrackFindingTracklet/interface/MemoryBase.h" | ||
|
||
#include <vector> | ||
|
||
namespace trklet { | ||
|
||
class Settings; | ||
class Globals; | ||
class Stub; | ||
class L1TStub; | ||
|
||
class DTCLinkMemory : public MemoryBase { | ||
public: | ||
DTCLinkMemory(std::string name, Settings const& settings, double, double); | ||
|
||
~DTCLinkMemory() override = default; | ||
|
||
void addStub(const L1TStub& al1stub, const Stub& stub); | ||
|
||
unsigned int nStubs() const { return stubs_.size(); } | ||
|
||
Stub* getStub(unsigned int i) { return stubs_[i]; } | ||
|
||
void writeStubs(bool first, unsigned int iSector); | ||
|
||
void clean() override; | ||
|
||
private: | ||
std::vector<Stub*> stubs_; | ||
}; | ||
|
||
}; // namespace trklet | ||
#endif |
Oops, something went wrong.