ana::EventInfoIsData Class Reference

this tool checks whether the isData flag in the input event matches the isData flag from configuration More...

#include <EventInfoIsData.h>

Inheritance diagram for ana::EventInfoIsData:
ana::AnaTool ana::IAnaTool asg::AsgTool CP::ISystematicsTool asg::IAsgTool asg::IAsgTool

List of all members.

Public Member Functions

void testInvariant () const
 test the invariant of this object
 EventInfoIsData (const std::string &name, bool isData=false)
 standard constructor
virtual StatusCode execute (IEventObjects &objects) override
virtual StatusCode setObjectType (ObjectType type, const std::string &workingPoint) override
virtual AnalysisStep step () const override
virtual unsigned inputTypes () const override
virtual unsigned outputTypes () const override

Detailed Description

this tool checks whether the isData flag in the input event matches the isData flag from configuration


Constructor & Destructor Documentation

ana::EventInfoIsData::EventInfoIsData ( const std::string &  name,
bool  isData = false 
)

standard constructor

Guarantee
strong
Failures
out of memory II

Member Function Documentation

StatusCode ana::EventInfoIsData::execute ( IEventObjects objects  )  [override, virtual]

effects: apply this analysis tool to the objects guarantee: basic failures: tool dependent

Implements ana::IAnaTool.

unsigned ana::EventInfoIsData::inputTypes (  )  const [override, virtual]

a bit-map indicating which object types we use

Guarantee
no-fail

See also:
IAnaTool::inputTypes

Implements ana::IAnaTool.

unsigned ana::EventInfoIsData::outputTypes (  )  const [override, virtual]

a bit-map indicating which output types we will create

Guarantee
no-fail

See also:
IAnaTool::outputTypes

Implements ana::IAnaTool.

StatusCode ana::EventInfoIsData::setObjectType ( ObjectType  type,
const std::string &  workingPoint 
) [override, virtual]

set the object type to work on this is called straight after the tool is created and before it is initialized. the primary reason for this function is to allow jet definitions to be used for either jets or fat jets.

Parameters:
type the object type we work on
workingPoint the name of the working point we are working on or the empty string if this is a sole working point or working points do not apply
Guarantee
strong
Failures
unsupported object type this interface may change when I introduce multiple simultaneous working points

See also:
IAnaTool::setObjectType

Implements ana::IAnaTool.

AnalysisStep ana::EventInfoIsData::step (  )  const [override, virtual]

the processing step we are working on

Guarantee
no-fail

See also:
IAnaTool::step

Implements ana::IAnaTool.

void ana::EventInfoIsData::testInvariant (  )  const

test the invariant of this object

Guarantee
no-fail

Reimplemented from ana::AnaTool.


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