16 castorTag_(conf.getUntrackedParameter(
"CASTOR",edm::InputTag())),
17 calibTag_(conf.getUntrackedParameter(
"CALIB",edm::InputTag())),
18 trigTag_(conf.getUntrackedParameter(
"TRIG",edm::InputTag())),
19 usingctdc_(conf.getUntrackedParameter<bool>(
"CastorCtdc",
false))
22 produces<FEDRawDataCollection>();
44 std::auto_ptr<FEDRawDataCollection> raw=std::auto_ptr<FEDRawDataCollection>(
new FEDRawDataCollection());
53 for (
int ifed=ifed_first; ifed<=ifed_last; ++ifed) {
58 orbitN, bcnN, colls, *readoutMap, fed);
61 orbitN, bcnN, colls, *readoutMap, fed); }
virtual char const * what() const
EventNumber_t event() const
virtual ~CastorDigiToRaw()
CastorCtdcPacker ctdcpacker_
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.
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
void pack(int fedid, int dccnumber, int nl1a, int orbitn, int bcn, const CastorCollections &inputs, const CastorElectronicsMap &emap, FEDRawData &output)
T const * product() const
CastorDigiToRaw(const edm::ParameterSet &ps)
virtual void produce(edm::Event &e, const edm::EventSetup &c)