Go to the documentation of this file.
51 std::vector<unsigned int>
fedIds;
58 template <
typename DigiType>
68 fedIds(conf.getParameter<vector<unsigned
int>>(
"fedIds")),
83 <<
"Unknown sub-system string " <<
subSystemName <<
"." << endl;
128 run<DetSetVector<TotemRPDigi>>(
event, es);
131 run<DetSetVector<CTPPSDiamondDigi>>(
event, es);
134 run<DetSetVector<TotemTimingDigi>>(
event, es);
137 template <
typename DigiType>
152 vector<TotemFEDInfo> fedInfo;
168 event.put(make_unique<vector<TotemFEDInfo>>(fedInfo),
subSystemName);
Collection of code for unpacking of TOTEM raw-data.
EventSetup record for TOTEM readout-related information.
edm::EDGetTokenT< FEDRawDataCollection > fedDataToken
#define DEFINE_FWK_MODULE(type)
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
void endStream() override
T getParameter(std::string const &) const
ParameterSet const & getParameterSet(ParameterSetID const &id)
std::string subSystemName
enum TotemVFATRawToDigi::@430 subSystem
std::vector< unsigned int > fedIds
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.
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of "!*" before the partial wildcard feature was incorporated). The per-event "cost" of each negative criterion with multiple relevant triggers is about the same as ! *was in the past
pps::RawDataUnpacker rawDataUnpacker
TotemVFATRawToDigi(const edm::ParameterSet &)
void printSummaries() const
Print error summaries.
RawToDigiConverter rawToDigiConverter