62 template <
typename DigiType>
89 <<
"Unknown sub-system string " <<
subSystemName <<
"." << endl;
145 run<DetSetVector<TotemRPDigi>>(
event, es);
148 run<DetSetVector<CTPPSDiamondDigi>>(
event, es);
151 run<DetSetVector<TotemTimingDigi>>(
event, es);
154 run<edmNew::DetSetVector<TotemT2Digi>>(
event, es);
157 template <
typename DigiType>
170 vector<TotemFEDInfo> fedInfo;
186 event.put(make_unique<vector<TotemFEDInfo>>(fedInfo),
subSystemName);
T getParameter(std::string const &) const
edm::ESGetToken< TotemAnalysisMask, TotemReadoutRcd > analysisMaskToken
pps::RawDataUnpacker rawDataUnpacker
edm::ESGetToken< TotemDAQMapping, TotemReadoutRcd > totemMappingToken
enum TotemVFATRawToDigi::@504 subSystem
void run(edm::Event &, const edm::EventSetup &)
~TotemVFATRawToDigi() override
std::vector< unsigned int > fedIds
TotemVFATRawToDigi(const edm::ParameterSet &)
#define DEFINE_FWK_MODULE(type)
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
int run(int fedId, const FEDRawData &data, std::vector< TotemFEDInfo > &fedInfoColl, SimpleVFATFrameCollection &coll) const
Unpack data from FED with fedId into ‘coll’ collection.
Collection of code to convert TOTEM raw data into digi.
edm::EDGetTokenT< FEDRawDataCollection > fedDataToken
Collection of code for unpacking of TOTEM raw-data.
ParameterSet const & getParameterSet(ParameterSetID const &id)
char data[epos_bytes_allocation]
void printSummaries() const
Print error summaries.
RawToDigiConverter rawToDigiConverter
void produce(edm::Event &, const edm::EventSetup &) override
std::string subSystemName
void run(const VFATFrameCollection &coll, const TotemDAQMapping &mapping, const TotemAnalysisMask &mask, edm::DetSetVector< TotemRPDigi > &digi, edm::DetSetVector< TotemVFATStatus > &status)
Creates RP digi.
void endStream() override