61 template <
typename DigiType>
86 <<
"Unknown sub-system string " <<
subSystemName <<
"." << endl;
134 run<DetSetVector<TotemRPDigi>>(
event, es);
137 run<DetSetVector<CTPPSDiamondDigi>>(
event, es);
140 run<DetSetVector<TotemTimingDigi>>(
event, es);
143 template <
typename DigiType>
156 vector<TotemFEDInfo> fedInfo;
172 event.put(make_unique<vector<TotemFEDInfo>>(fedInfo),
subSystemName);
T getParameter(std::string const &) const
edm::ESGetToken< TotemAnalysisMask, TotemReadoutRcd > analysisMaskToken
pps::RawDataUnpacker rawDataUnpacker
#define DEFINE_FWK_MODULE(type)
edm::ESGetToken< TotemDAQMapping, TotemReadoutRcd > totemMappingToken
void run(edm::Event &, const edm::EventSetup &)
~TotemVFATRawToDigi() override
std::vector< unsigned int > fedIds
TotemVFATRawToDigi(const edm::ParameterSet &)
enum TotemVFATRawToDigi::@505 subSystem
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