16 castorTag_(conf.getParameter<
edm::InputTag>(
"CASTOR")),
17 usingctdc_(conf.getParameter<
bool>(
"CastorCtdc")),
48 for (
int ifed=ifed_first; ifed<=ifed_last; ++ifed) {
53 orbitN, bcnN, colls, *readoutMap, fed);
56 orbitN, bcnN, colls, *readoutMap, fed);
EventNumber_t event() const
const edm::EDGetTokenT< CastorDigiCollection > tok_input_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
char const * what() 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 FEDRawData & FEDData(int fedid) const
retrieve data for fed
const CastorElectronicsMap * getCastorMapping() const
const edm::EDPutTokenT< FEDRawDataCollection > tok_put_
T const * product() const
OrphanHandle< PROD > emplace(EDPutTokenT< PROD > token, Args &&...args)
puts a new product
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)
void produce(edm::StreamID, edm::Event &e, const edm::EventSetup &c) const override