14 : castorTag_(conf.getParameter<
edm::
InputTag>(
"CASTOR")),
15 usingctdc_(conf.getParameter<
bool>(
"CastorCtdc")),
39 int orbitN =
e.id().event();
43 for (
int ifed = ifed_first; ifed <= ifed_last; ++ifed) {
49 CastorPacker::pack(ifed, ifed - ifed_first,
e.id().event(), orbitN, bcnN, colls, *readoutMap, fed);
const edm::EDGetTokenT< CastorDigiCollection > tok_input_
void produce(edm::StreamID, edm::Event &e, const edm::EventSetup &c) const override
const CastorDigiCollection * castorCont
static void pack(int fedid, int dccnumber, int nl1a, int orbitn, int bcn, const CastorCollections &inputs, const CastorElectronicsMap &emap, FEDRawData &output)
const edm::ESGetToken< CastorDbService, CastorDbRecord > tok_pSetup_
const CastorElectronicsMap * getCastorMapping() const
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
const edm::EDPutTokenT< FEDRawDataCollection > tok_put_
static void pack(int fedid, int dccnumber, int nl1a, int orbitn, int bcn, const CastorCollections &inputs, const CastorElectronicsMap &emap, FEDRawData &output)
const edm::InputTag castorTag_
CastorDigiToRaw(const edm::ParameterSet &ps)
Log< level::Warning, false > LogWarning