Go to the documentation of this file.
52 std::vector<unsigned int>
fedIds;
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);
Collection of code for unpacking of TOTEM raw-data.
edm::EDGetTokenT< FEDRawDataCollection > fedDataToken
#define DEFINE_FWK_MODULE(type)
edm::ESGetToken< TotemDAQMapping, TotemReadoutRcd > totemMappingToken
void run(const VFATFrameCollection &coll, const TotemDAQMapping &mapping, const TotemAnalysisMask &mask, edm::DetSetVector< TotemRPDigi > &digi, edm::DetSetVector< TotemVFATStatus > &status)
Creates RP digi.
void run(edm::Event &, const edm::EventSetup &)
void produce(edm::Event &, const edm::EventSetup &) override
edm::ESGetToken< TotemAnalysisMask, TotemReadoutRcd > analysisMaskToken
void endStream() override
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
enum TotemVFATRawToDigi::@463 subSystem
ParameterSet const & getParameterSet(ParameterSetID const &id)
std::string subSystemName
std::vector< unsigned int > fedIds
T getParameter(std::string const &) const
int run(int fedId, const FEDRawData &data, std::vector< TotemFEDInfo > &fedInfoColl, SimpleVFATFrameCollection &coll) const
Unpack data from FED with fedId into ‘coll’ collection.
char data[epos_bytes_allocation]
~TotemVFATRawToDigi() override
Collection of code to convert TOTEM raw data into digi.
pps::RawDataUnpacker rawDataUnpacker
TotemVFATRawToDigi(const edm::ParameterSet &)
void printSummaries() const
Print error summaries.
RawToDigiConverter rawToDigiConverter