|
| CastorDigiToRaw (const edm::ParameterSet &ps) |
|
virtual void | produce (edm::Event &e, const edm::EventSetup &c) |
|
virtual | ~CastorDigiToRaw () |
|
| EDProducer () |
|
ModuleDescription const & | moduleDescription () const |
|
virtual | ~EDProducer () |
|
| ProducerBase () |
|
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
|
std::function< void(BranchDescription
const &)> | registrationCallback () const |
| used by the fwk to register list of products More...
|
|
virtual | ~ProducerBase () |
|
| EDConsumerBase () |
|
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
std::vector
< ProductHolderIndexAndSkipBit >
const & | itemsToGetFromEvent () const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
|
virtual | ~EDConsumerBase () |
|
CastorDigiToRaw is the EDProducer subclass which runs the Castor Unpack algorithm.
- Author
- Alan Campbell
- Version
- 1st Version April 18, 2008
Definition at line 26 of file CastorDigiToRaw.h.
Implements edm::EDProducer.
Definition at line 29 of file CastorDigiToRaw.cc.
References CastorCollections::castorCont, castorTag_, ctdcpacker_, edm::EventID::event(), edm::EventSetup::get(), edm::Event::getByLabel(), edm::EventBase::id(), edm::InputTag::label(), FEDNumbering::MAXCASTORFEDID, FEDNumbering::MINCASTORFEDID, CastorPacker::pack(), CastorCtdcPacker::pack(), packer_, edm::Handle< T >::product(), edm::Event::put(), usingctdc_, and cms::Exception::what().
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
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
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)
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