16 castorTag_(conf.getParameter<
edm::InputTag>(
"CASTOR")),
17 usingctdc_(conf.getParameter<
bool>(
"CastorCtdc"))
21 produces<FEDRawDataCollection>();
43 auto raw = std::make_unique<FEDRawDataCollection>();
52 for (
int ifed=ifed_first; ifed<=ifed_last; ++ifed) {
57 orbitN, bcnN, colls, *readoutMap, fed);
60 orbitN, bcnN, colls, *readoutMap, fed); }
EventNumber_t event() const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
CastorCtdcPacker ctdcpacker_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
char const * what() const override
const CastorDigiCollection * castorCont
void pack(int fedid, int dccnumber, int nl1a, int orbitn, int bcn, const CastorCollections &inputs, const CastorElectronicsMap &emap, FEDRawData &output)
~CastorDigiToRaw() override
const CastorElectronicsMap * getCastorMapping() const
void produce(edm::Event &e, const edm::EventSetup &c) override
T const * product() const
void pack(int fedid, int dccnumber, int nl1a, int orbitn, int bcn, const CastorCollections &inputs, const CastorElectronicsMap &emap, FEDRawData &output)
edm::EDGetTokenT< CastorDigiCollection > tok_input_
CastorDigiToRaw(const edm::ParameterSet &ps)