|
typedef OutputModule | ModuleType |
|
typedef OutputWorker | WorkerType |
|
static const std::string & | baseType () |
|
static void | fillDescription (ParameterSetDescription &desc) |
|
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
|
static void | prevalidate (ConfigurationDescriptions &) |
|
CurrentProcessingContext const * | currentContext () const |
|
ModuleDescription const & | description () const |
|
void | doBeginJob () |
|
bool | doBeginLuminosityBlock (LuminosityBlockPrincipal const &lbp, EventSetup const &c, CurrentProcessingContext const *cpc) |
|
bool | doBeginRun (RunPrincipal const &rp, EventSetup const &c, CurrentProcessingContext const *cpc) |
|
void | doEndJob () |
|
bool | doEndLuminosityBlock (LuminosityBlockPrincipal const &lbp, EventSetup const &c, CurrentProcessingContext const *cpc) |
|
bool | doEndRun (RunPrincipal const &rp, EventSetup const &c, CurrentProcessingContext const *cpc) |
|
bool | doEvent (EventPrincipal const &ep, EventSetup const &c, CurrentProcessingContext const *cpc) |
|
Trig | getTriggerResults (Event const &ep) const |
|
Trig | getTriggerResults (EventPrincipal const &ep) const |
|
ParameterSetID | selectorConfig () const |
|
void | setEventSelectionInfo (std::map< std::string, std::vector< std::pair< std::string, int > > > const &outputModulePathPositions, bool anyProductProduced) |
|
template<class Consumer>
class FRDEventOutputModule< Consumer >
Definition at line 13 of file FRDEventOutputModule.h.
template<class Consumer >
Implements edm::OutputModule.
Definition at line 52 of file FRDEventOutputModule.h.
References FEDRawData::data(), idDealer::description, edm::EventID::event(), event(), edm::EventBase::id(), edm::EventBase::luminosityBlock(), lumiQueryAPI::msg, edm::EventID::run(), and FEDRawData::size().
61 int expectedSize = (4 + 1024) *
sizeof(
uint32);
62 for (
int idx = 0; idx < 1024; ++idx) {
63 FEDRawData singleFED = fedBuffers->FEDData(idx);
64 expectedSize += singleFED.
size();
71 boost::shared_array<unsigned char> workBuffer(
new unsigned char[expectedSize + 256]);
77 for (
int idx = 0; idx < 1024; ++idx) {
78 FEDRawData singleFED = fedBuffers->FEDData(idx);
79 *bufPtr++ = singleFED.
size();
81 for (
int idx = 0; idx < 1024; ++idx) {
82 FEDRawData singleFED = fedBuffers->FEDData(idx);
83 if (singleFED.
size() > 0) {
84 memcpy(bufPtr, singleFED.
data(), singleFED.
size());
85 *bufPtr += singleFED.
size();
std::auto_ptr< Consumer > templateConsumer_
size_t size() const
Lenght of the data buffer in bytes.
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
ModuleDescription const & description() const