The Gaudi Framework  v36r0 (4abb4d13)
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 354 of file MakeAndConsume.cpp.

Constructor & Destructor Documentation

◆ SDataProducer()

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

Definition at line 356 of file MakeAndConsume.cpp.

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

Member Function Documentation

◆ operator()()

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

Definition at line 359 of file MakeAndConsume.cpp.

359  {
360  S::Container out{};
361  for ( int i = 0; i < j; ++i ) out.insert( new S{} );
362  info() << "storing KeyedContainer of size " << out.size() << " into " << outputLocation() << endmsg;
363  return out;
364  }

Member Data Documentation

◆ j

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

Definition at line 365 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:365
TimingHistograms.name
name
Definition: TimingHistograms.py:23
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:202
Gaudi::Examples::S::Container
KeyedContainer< S, Containers::HashMap > Container
Definition: MakeAndConsume.cpp:351
PrepareBase.out
out
Definition: PrepareBase.py:20