-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45117 from SegmentLinking/CMSSW_14_1_0_pre3_LST_X…
…_LSTCore_realfiles CMSSW Integration of LST
- Loading branch information
Showing
146 changed files
with
42,757 additions
and
5 deletions.
There are no files selected for viewing
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,4 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
# This modifier sets the iterative tracking to use a minimal set of iterations, first two | ||
trackingIters01 = cms.Modifier() |
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,5 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
# This modifier sets the LST (Phase-2 line segment tracking) used for track building | ||
trackingLST = cms.Modifier() | ||
|
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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<use name="DataFormats/Common"/> | ||
<use name="alpaka"/> | ||
<use name="DataFormats/TrackerRecHit2D"/> | ||
<use name="HeterogeneousCore/AlpakaInterface"/> | ||
<use name="RecoTracker/LSTCore"/> | ||
<flags ALPAKA_BACKENDS="1"/> | ||
<export> | ||
<lib name="1"/> | ||
</export> |
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,40 @@ | ||
#ifndef RecoTracker_LST_interface_LSTOutput_h | ||
#define RecoTracker_LST_interface_LSTOutput_h | ||
|
||
#include <memory> | ||
#include <vector> | ||
|
||
#include "RecoTracker/LSTCore/interface/Common.h" | ||
|
||
class LSTOutput { | ||
public: | ||
LSTOutput() = default; | ||
LSTOutput(std::vector<std::vector<unsigned int>> const hitIdx, | ||
std::vector<unsigned int> const len, | ||
std::vector<int> const seedIdx, | ||
std::vector<short> const trackCandidateType) | ||
: hitIdx_(std::move(hitIdx)), | ||
len_(std::move(len)), | ||
seedIdx_(std::move(seedIdx)), | ||
trackCandidateType_(std::move(trackCandidateType)) {} | ||
|
||
using LSTTCType = lst::LSTObjType; | ||
|
||
// Hit indices of each of the LST track candidates. | ||
std::vector<std::vector<unsigned int>> const& hitIdx() const { return hitIdx_; } | ||
// Number of hits of each of the LST track candidates. | ||
std::vector<unsigned int> const& len() const { return len_; } | ||
// Index of the pixel track associated to each of the LST track candidates. | ||
// If not associated to a pixel track, which is the case for T5s, it defaults to -1. | ||
std::vector<int> const& seedIdx() const { return seedIdx_; } | ||
// LSTTCType from RecoTracker/LSTCore/interface/Common.h | ||
std::vector<short> const& trackCandidateType() const { return trackCandidateType_; } | ||
|
||
private: | ||
std::vector<std::vector<unsigned int>> hitIdx_; | ||
std::vector<unsigned int> len_; | ||
std::vector<int> seedIdx_; | ||
std::vector<short> trackCandidateType_; | ||
}; | ||
|
||
#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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#ifndef RecoTracker_LST_interface_LSTPhase2OTHitsInput_h | ||
#define RecoTracker_LST_interface_LSTPhase2OTHitsInput_h | ||
|
||
#include <memory> | ||
#include <vector> | ||
|
||
#include "DataFormats/TrackerRecHit2D/interface/Phase2TrackerRecHit1D.h" | ||
|
||
class LSTPhase2OTHitsInput { | ||
public: | ||
LSTPhase2OTHitsInput() = default; | ||
LSTPhase2OTHitsInput(std::vector<unsigned int> const detId, | ||
std::vector<float> const x, | ||
std::vector<float> const y, | ||
std::vector<float> const z, | ||
std::vector<TrackingRecHit const*> const hits) | ||
: detId_(std::move(detId)), x_(std::move(x)), y_(std::move(y)), z_(std::move(z)), hits_(std::move(hits)) {} | ||
|
||
std::vector<unsigned int> const& detId() const { return detId_; } | ||
std::vector<float> const& x() const { return x_; } | ||
std::vector<float> const& y() const { return y_; } | ||
std::vector<float> const& z() const { return z_; } | ||
std::vector<TrackingRecHit const*> const& hits() const { return hits_; } | ||
|
||
private: | ||
std::vector<unsigned int> detId_; | ||
std::vector<float> x_; | ||
std::vector<float> y_; | ||
std::vector<float> z_; | ||
std::vector<TrackingRecHit const*> hits_; | ||
}; | ||
|
||
#endif |
Oops, something went wrong.