59 ProducerTT::ProducerTT(
const ParameterSet& iConfig) : iConfig_(iConfig) {
61 const string& branchStubs = iConfig.
getParameter<
string>(
"BranchAcceptedStubs");
62 const string& branchTracks = iConfig.
getParameter<
string>(
"BranchAcceptedTracks");
98 return sum +=
frame.first.isNonnull() ? 1 : 0;
104 for (
const FrameTrack& frameTrack : streamsTracks[channel]) {
105 vector<StubKF> stubs;
109 if (frameStub.first.isNonnull())
113 ttTracks.emplace_back(
track.ttTrack(stubs));
EDPutTokenT< TTTracks > edPutToken_
T getParameter(std::string const &) const
std::vector< StreamTrack > StreamsTrack
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
std::pair< TTStubRef, Frame > FrameStub
Class to process and provide run-time constants used by Track Trigger emulators.
std::vector< StreamStub > StreamsStub
T const * product() const
EDGetTokenT< StreamsTrack > edGetTokenTracks_
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
std::vector< FrameTrack > StreamTrack
std::pair< TTTrackRef, Frame > FrameTrack
ESGetToken< Setup, SetupRcd > esGetTokenSetup_
void produce(Event &, const EventSetup &) override
bool configurationSupported() const
#define DEFINE_FWK_MODULE(type)
ProcessHistory const & processHistory() const
void checkHistory(const edm::ProcessHistory &processHistory) const
Converts KF output into TTTracks.
EDGetTokenT< StreamsStub > edGetTokenStubs_
std::vector< TTTrack< Ref_Phase2TrackerDigi_ > > TTTracks
void beginRun(const Run &, const EventSetup &) override
const DataFormats * dataFormats_
ESGetToken< DataFormats, DataFormatsRcd > esGetTokenDataFormats_