61 bunchPutToken_{produces<L1AcceptBunchCrossingCollection>()},
62 l1ScalerPutToken_{produces<L1TriggerScalersCollection>()},
63 lvl1ScalerPutToken_{produces<Level1TriggerScalersCollection>()},
64 lumiScalerPutToken_{produces<LumiScalersCollection>()},
65 beamSpotPutToken_{produces<BeamSpotOnlineCollection>()},
66 dcsPutToken_{produces<DcsStatusCollection>()} {}
71 descriptions.
add(
"scalersRawToDigi", desc);
94 unsigned short int length = fedData.
size();
96 int nWords = length / 8;
101 pOldTrigger.emplace_back(fedData.data());
103 }
else if (raw->
version >= 3) {
104 pTrigger.emplace_back(fedData.data());
112 pLumi.emplace_back(fedData.data());
114 if ((nBytesExtra >= 8) && ((nBytesExtra % 8) == 0)) {
115 unsigned long long const*
data = (
unsigned long long const*)fedData.data();
117 int nWordsExtra = nBytesExtra / 8;
118 for (
int i = 0;
i < nWordsExtra;
i++) {
119 int index = nWords - (nWordsExtra + 1) +
i;
120 pBunch.emplace_back(
i, data[index]);
125 pBeamSpotOnline.emplace_back(fedData.data());
127 pDcsStatus.emplace_back(fedData.data());
std::vector< BeamSpotOnline > BeamSpotOnlineCollection
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
const edm::EDPutTokenT< DcsStatusCollection > dcsPutToken_
#define DEFINE_FWK_MODULE(type)
size_t size() const
Lenght of the data buffer in bytes.
ScalersRawToDigi(const edm::ParameterSet &)
bool get(ProductID const &oid, Handle< PROD > &result) const
std::vector< L1AcceptBunchCrossing > L1AcceptBunchCrossingCollection
ParameterDescriptionBase * add(U const &iLabel, T const &value)
std::vector< DcsStatus > DcsStatusCollection
const edm::EDPutTokenT< BeamSpotOnlineCollection > beamSpotPutToken_
const edm::EDPutTokenT< L1TriggerScalersCollection > l1ScalerPutToken_
OrphanHandle< PROD > emplace(EDPutTokenT< PROD > token, Args &&...args)
puts a new product
T getParameter(std::string const &) const
void add(std::string const &label, ParameterSetDescription const &psetDescription)
std::vector< Level1TriggerScalers > Level1TriggerScalersCollection
const edm::EDPutTokenT< LumiScalersCollection > lumiScalerPutToken_
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
char data[epos_bytes_allocation]
const edm::EDPutTokenT< L1AcceptBunchCrossingCollection > bunchPutToken_
const edm::EDGetTokenT< FEDRawDataCollection > fedToken_
std::vector< LumiScalers > LumiScalersCollection
std::vector< L1TriggerScalers > L1TriggerScalersCollection
const edm::EDPutTokenT< Level1TriggerScalersCollection > lvl1ScalerPutToken_