ana::EventObjects Class Reference

Inheritance diagram for ana::EventObjects:
ana::IEventObjects

List of all members.

Public Member Functions

 EventObjects ()
 standard constructor
void clear (StoreType *store, const std::string &postfix)
 clear the content for the next event
virtual void * getVoid (ObjectType type) const override
virtual StatusCode addCopy (ObjectType type, const std::string &name) override
virtual StatusCode addNew (ObjectType type) override
virtual float eventWeight () const override

Constructor & Destructor Documentation

ana::EventObjects::EventObjects (  ) 

standard constructor

Guarantee
no-fail

Member Function Documentation

StatusCode ana::EventObjects::addCopy ( ObjectType  type,
const std::string &  name 
) [override, virtual]

add a shallow copy of the input container with the given name

Guarantee
basic
Failures
object already initialized
input object not found
shallow copy failures

Implements ana::IEventObjects.

StatusCode ana::EventObjects::addNew ( ObjectType  type  )  [override, virtual]

add a new container of the given type

Guarantee
basic
Failures
object already initialized
object creation failures

Implements ana::IEventObjects.

void ana::EventObjects::clear ( StoreType store,
const std::string &  postfix 
)

clear the content for the next event

Parameters:
store the store to use
Guarantee
no-fail
Precondition:
store != nullptr
float ana::EventObjects::eventWeight (  )  const [override, virtual]

the event weight this is a dummy for now and the mechanism might change at some point

Implements ana::IEventObjects.

void * ana::EventObjects::getVoid ( ObjectType  type  )  const [override, virtual]

get the object or object container for the given object type or NULL if it hasn't been filled (yet).

Guarantee
no-fail this has to be cast exactly to the type defined by ObjecTypeInfo::asXAOD. it is much easier to go with the get function instead.

Implements ana::IEventObjects.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1