CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
edm::EventExtractor Class Reference

#include <Utilities.h>

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)
inlineexplicit

Definition at line 81 of file Utilities.h.

81 :buf_(&b) { }
EventBuffer * buf_
Definition: Utilities.h:91
double b
Definition: hdecay.h:120

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().

83  {
85  FDEBUG(2) << "Extract: " << b.buffer() << " " << b.size() << std::endl;
86  EventPrincipal* p(*(EventPrincipal**)b.buffer());
87  FDEBUG(2) << "Extract: event ptr = " << (void*)p << std::endl;
88  return p;
89  }
OperateBuffer< ConsumerType > ConsumerBuffer
Definition: EventBuffer.h:96
EventBuffer * buf_
Definition: Utilities.h:91
#define FDEBUG(lev)
Definition: DebugMacros.h:18
double b
Definition: hdecay.h:120

Member Data Documentation

EventBuffer* edm::EventExtractor::buf_
private

Definition at line 91 of file Utilities.h.

Referenced by extract().