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