CMS 3D CMS Logo

Public Member Functions | Private Attributes

edm::EventExtractor Class Reference

#include <Utilities.h>

List of all members.

Public Member Functions

 EventExtractor (EventBuffer &b)
EventPrincipalextract ()

Private Attributes

EventBufferbuf_

Detailed Description

Definition at line 78 of file Utilities.h.


Constructor & Destructor Documentation

edm::EventExtractor::EventExtractor ( EventBuffer b) [inline, explicit]

Definition at line 81 of file Utilities.h.

:buf_(&b) { }

Member Function Documentation

EventPrincipal* edm::EventExtractor::extract ( ) [inline]

Definition at line 82 of file Utilities.h.

References b, buf_, edm::EventBuffer::OperateBuffer< T >::buffer(), FDEBUG, L1TEmulatorMonitor_cff::p, and edm::EventBuffer::OperateBuffer< T >::size().

    {
      EventBuffer::ConsumerBuffer b(*buf_);
          FDEBUG(2) << "Extract: " << b.buffer() << " " << b.size() << std::endl;
      EventPrincipal* p(*(EventPrincipal**)b.buffer());
          FDEBUG(2) << "Extract: event ptr = " << (void*)p << std::endl;
      return p;
    }

Member Data Documentation

Definition at line 91 of file Utilities.h.

Referenced by extract().