59 ProducerTT::ProducerTT(
const ParameterSet& iConfig) : iConfig_(iConfig) {
61 const string& branchStubs = iConfig.
getParameter<
string>(
"BranchAcceptedStubs");
62 const string& branchTracks = iConfig.
getParameter<
string>(
"BranchAcceptedTracks");
99 return sum + (
frame.first.isNonnull() ? 1 : 0);
103 for (
int channel = 0; channel < (
int)streamsTracks.size(); channel++) {
106 for (
const FrameTrack& frameTrack : streamsTracks[channel]) {
107 if (frameTrack.first.isNull())
110 vector<StubKF>
stubs;
114 if (frameStub.first.isNonnull())
T getParameter(std::string const &) const
void produce(Event &, const EventSetup &) override
std::vector< StreamTrack > StreamsTrack
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
void beginRun(const Run &, const EventSetup &) override
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
EDPutTokenT< TTTracks > edPutToken_
Converts KF output into TTTracks.
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
EDGetTokenT< StreamsTrack > edGetTokenTracks_
std::vector< FrameTrack > StreamTrack
std::pair< TTTrackRef, Frame > FrameTrack
ESGetToken< Setup, SetupRcd > esGetTokenSetup_
ESGetToken< DataFormats, DataFormatsRcd > esGetTokenDataFormats_
bool configurationSupported() const
#define DEFINE_FWK_MODULE(type)
ProcessHistory const & processHistory() const
void checkHistory(const edm::ProcessHistory &processHistory) const
EDGetTokenT< StreamsStub > edGetTokenStubs_
std::vector< TTTrack< Ref_Phase2TrackerDigi_ > > TTTracks
const DataFormats * dataFormats_