CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
edm::StreamerInputSource::EventPrincipalHolder Class Reference
Inheritance diagram for edm::StreamerInputSource::EventPrincipalHolder:
edm::EDProductGetter

Public Member Functions

 EventPrincipalHolder ()
 
WrapperBase const * getIt (ProductID const &id) const override
 
WrapperBase const * getThinnedProduct (ProductID const &, unsigned int &) const override
 
void getThinnedProducts (ProductID const &pid, std::vector< WrapperBase const * > &wrappers, std::vector< unsigned int > &keys) const override
 
void setEventPrincipal (EventPrincipal *ep)
 
unsigned int transitionIndex_ () const override
 
 ~EventPrincipalHolder () override
 
- Public Member Functions inherited from edm::EDProductGetter
 EDProductGetter ()
 
 EDProductGetter (EDProductGetter const &)=delete
 
EDProductGetter const & operator= (EDProductGetter const &)=delete
 
unsigned int transitionIndex () const
 
virtual ~EDProductGetter ()
 

Private Attributes

EventPrincipal const * eventPrincipal_
 

Additional Inherited Members

- Static Public Member Functions inherited from edm::EDProductGetter
static void assignEDProductGetter (EDProductGetter const *&)
 
static EDProductGetter const * switchProductGetter (EDProductGetter const *)
 These can only be used internally by the framework. More...
 

Detailed Description

Definition at line 90 of file StreamerInputSource.h.

Constructor & Destructor Documentation

◆ EventPrincipalHolder()

edm::StreamerInputSource::EventPrincipalHolder::EventPrincipalHolder ( )

Definition at line 475 of file StreamerInputSource.cc.

475 : eventPrincipal_(nullptr) {}

◆ ~EventPrincipalHolder()

edm::StreamerInputSource::EventPrincipalHolder::~EventPrincipalHolder ( )
override

Definition at line 477 of file StreamerInputSource.cc.

477 {}

Member Function Documentation

◆ getIt()

WrapperBase const * edm::StreamerInputSource::EventPrincipalHolder::getIt ( ProductID const &  id) const
overridevirtual

Implements edm::EDProductGetter.

Definition at line 479 of file StreamerInputSource.cc.

479  {
480  return eventPrincipal_ ? eventPrincipal_->getIt(id) : nullptr;
481  }

◆ getThinnedProduct()

WrapperBase const * edm::StreamerInputSource::EventPrincipalHolder::getThinnedProduct ( edm::ProductID const &  id,
unsigned int &  index 
) const
overridevirtual

Implements edm::EDProductGetter.

Definition at line 483 of file StreamerInputSource.cc.

484  {
485  return eventPrincipal_ ? eventPrincipal_->getThinnedProduct(id, index) : nullptr;
486  }

◆ getThinnedProducts()

void edm::StreamerInputSource::EventPrincipalHolder::getThinnedProducts ( ProductID const &  pid,
std::vector< WrapperBase const * > &  wrappers,
std::vector< unsigned int > &  keys 
) const
overridevirtual

Implements edm::EDProductGetter.

Definition at line 488 of file StreamerInputSource.cc.

490  {
491  if (eventPrincipal_)
492  eventPrincipal_->getThinnedProducts(pid, wrappers, keys);
493  }

References relativeConstraints::keys.

◆ setEventPrincipal()

void edm::StreamerInputSource::EventPrincipalHolder::setEventPrincipal ( EventPrincipal ep)

◆ transitionIndex_()

unsigned int edm::StreamerInputSource::EventPrincipalHolder::transitionIndex_ ( ) const
overridevirtual

Implements edm::EDProductGetter.

Definition at line 495 of file StreamerInputSource.cc.

495  {
496  assert(eventPrincipal_ != nullptr);
498  }

References cms::cuda::assert().

Member Data Documentation

◆ eventPrincipal_

EventPrincipal const* edm::StreamerInputSource::EventPrincipalHolder::eventPrincipal_
private

Definition at line 107 of file StreamerInputSource.h.

edm::EventPrincipal::getIt
WrapperBase const * getIt(ProductID const &pid) const override
Definition: EventPrincipal.cc:301
edm::EventPrincipal::getThinnedProduct
WrapperBase const * getThinnedProduct(ProductID const &pid, unsigned int &key) const override
Definition: EventPrincipal.cc:303
cms::cuda::assert
assert(be >=bs)
relativeConstraints.keys
keys
Definition: relativeConstraints.py:89
edm::StreamerInputSource::EventPrincipalHolder::eventPrincipal_
EventPrincipal const * eventPrincipal_
Definition: StreamerInputSource.h:107
edm::EventPrincipal::getThinnedProducts
void getThinnedProducts(ProductID const &pid, std::vector< WrapperBase const * > &foundContainers, std::vector< unsigned int > &keys) const override
Definition: EventPrincipal.cc:345
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
edm::EDProductGetter::transitionIndex
unsigned int transitionIndex() const
Definition: EDProductGetter.h:68
SiStripBadComponentsDQMServiceTemplate_cfg.ep
ep
Definition: SiStripBadComponentsDQMServiceTemplate_cfg.py:86