28 namespace trackerDTC {
61 : iConfig_(iConfig), checkHistory_(iConfig.getParameter<bool>(
"CheckHistory")) {
64 const auto& branchAccepted = iConfig.
getParameter<
string>(
"BranchAccepted");
65 const auto& branchLost = iConfig.
getParameter<
string>(
"BranchLost");
70 esGetToken_ = esConsumes<Setup, SetupRcd, Transition::BeginRun>();
99 vector<TTStubRef>& stubsModule = stubsDTCs[sm->
dtcId()][sm->
modId()];
100 stubsModule.reserve(
module->size());
102 stubsModule.emplace_back(
makeRefTo(handle, ttStub));
109 dtc.
produce(productAccepted, productLost);
int numModulesPerDTC() const
EDGetTokenT< TTStubDetSetVec > edGetToken_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void produce(TTDTC &accepted, TTDTC &lost)
#define DEFINE_FWK_MODULE(type)
ESGetToken< Setup, SetupRcd > esGetToken_
data_type const * const_iterator
bool getData(T &iHolder) const
Ref< typename HandleT::element_type, typename HandleT::element_type::value_type::value_type > makeRefTo(const HandleT &iHandle, det_id_type iDetID, typename HandleT::element_type::value_type::const_iterator itIter)
bool configurationSupported() const
void produce(Event &, const EventSetup &) override
ProcessHistory const & processHistory() const
Class to produce hardware like structured TTStub Collection used by Track Trigger emulators...
EDPutTokenT< TTDTC > edPutTokenLost_
Class to process and provide run-time constants used by Track Trigger emulators.
OrphanHandle< PROD > emplace(EDPutTokenT< PROD > token, Args &&...args)
puts a new product
SensorModule * sensorModule(const DetId &detId) const
T getParameter(std::string const &) const
int offsetDetIdDSV() const
Class to store hardware like structured TTStub Collection used by Track Trigger emulators.
void beginRun(const Run &, const EventSetup &) override
EDPutTokenT< TTDTC > edPutTokenAccepted_
void checkHistory(const edm::ProcessHistory &processHistory) const