Go to the documentation of this file.
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::InputTag castorTag_
CastorDigiToRaw(const edm::ParameterSet &ps)
static void pack(int fedid, int dccnumber, int nl1a, int orbitn, int bcn, const CastorCollections &inputs, const CastorElectronicsMap &emap, FEDRawData &output)
void produce(edm::StreamID, edm::Event &e, const edm::EventSetup &c) const override
const edm::EDPutTokenT< FEDRawDataCollection > tok_put_
Log< level::Warning, false > LogWarning
const CastorDigiCollection * castorCont
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
static void pack(int fedid, int dccnumber, int nl1a, int orbitn, int bcn, const CastorCollections &inputs, const CastorElectronicsMap &emap, FEDRawData &output)
const CastorElectronicsMap * getCastorMapping() const
const edm::ESGetToken< CastorDbService, CastorDbRecord > tok_pSetup_
const edm::EDGetTokenT< CastorDigiCollection > tok_input_