The Gaudi Framework  v36r16 (ea80daf8)
Gaudi::Examples::SDataProducer Struct Referencefinal
Inheritance diagram for Gaudi::Examples::SDataProducer:
Collaboration diagram for Gaudi::Examples::SDataProducer:

Public Member Functions

 SDataProducer (const std::string &name, ISvcLocator *svcLoc)
 
S::Container operator() () const override
 

Public Attributes

Gaudi::Property< int > j { this, "j", 5 }
 

Detailed Description

Definition at line 399 of file MakeAndConsume.cpp.

Constructor & Destructor Documentation

◆ SDataProducer()

Gaudi::Examples::SDataProducer::SDataProducer ( const std::string name,
ISvcLocator svcLoc 
)
inline

Definition at line 401 of file MakeAndConsume.cpp.

402  : Producer( name, svcLoc, KeyValue( "OutputLocation", "/Event/MyS" ) ) {}

Member Function Documentation

◆ operator()()

S::Container Gaudi::Examples::SDataProducer::operator() ( ) const
inlineoverride

Definition at line 404 of file MakeAndConsume.cpp.

404  {
405  S::Container out{};
406  for ( int i = 0; i < j; ++i ) out.insert( new S{} );
407  info() << "storing KeyedContainer of size " << out.size() << " into " << outputLocation() << endmsg;
408  return out;
409  }

Member Data Documentation

◆ j

Gaudi::Property<int> Gaudi::Examples::SDataProducer::j { this, "j", 5 }

Definition at line 410 of file MakeAndConsume.cpp.


The documentation for this struct was generated from the following file:
Gaudi::Examples::SDataProducer::j
Gaudi::Property< int > j
Definition: MakeAndConsume.cpp:410
TimingHistograms.name
name
Definition: TimingHistograms.py:25
Gaudi::Functional::Producer
details::Producer< Signature, Traits_, details::isLegacy< Traits_ > > Producer
Definition: Producer.h:37
endmsg
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:203
Gaudi::Examples::S::Container
KeyedContainer< S, Containers::HashMap > Container
Definition: MakeAndConsume.cpp:396
PrepareBase.out
out
Definition: PrepareBase.py:20