Jpp  17.0.0-rc.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | List of all members
JAANET::JEvtWeight Struct Referenceabstract

Low-level interface for event weighing. More...

#include <JEvtWeight.hh>

Inheritance diagram for JAANET::JEvtWeight:
JLANG::JClonable< JClonable_t, JDerived_t >

Public Types

typedef JClonable< JClonable_t >
::clone_type 
clone_type
 

Public Member Functions

virtual ~JEvtWeight ()
 Virtual destructor. More...
 
virtual void configure (const JHead &header)=0
 Configuration. More...
 
virtual bool check (const JHead &header) const =0
 Check whether header is consistent with this event weighter. More...
 
virtual double getWeight (const Evt &evt) const =0
 Get weight of given event. More...
 
virtual clone_type clone () const override
 Get clone of this object. More...
 

Detailed Description

Low-level interface for event weighing.

Definition at line 24 of file JEvtWeight.hh.

Member Typedef Documentation

template<class JClonable_t, class JDerived_t = JNullType>
typedef JClonable<JClonable_t>::clone_type JLANG::JClonable< JClonable_t, JDerived_t >::clone_type
inherited

Definition at line 61 of file JClonable.hh.

Constructor & Destructor Documentation

virtual JAANET::JEvtWeight::~JEvtWeight ( )
inlinevirtual

Virtual destructor.

Definition at line 30 of file JEvtWeight.hh.

31  {}

Member Function Documentation

virtual void JAANET::JEvtWeight::configure ( const JHead header)
pure virtual

Configuration.

Parameters
headerheader
virtual bool JAANET::JEvtWeight::check ( const JHead header) const
pure virtual

Check whether header is consistent with this event weighter.

Parameters
headerheader
Returns
true if consistent; else false
virtual double JAANET::JEvtWeight::getWeight ( const Evt evt) const
pure virtual

Get weight of given event.

Parameters
evtevent
Returns
weight [Hz]
template<class JClonable_t, class JDerived_t = JNullType>
virtual clone_type JLANG::JClonable< JClonable_t, JDerived_t >::clone ( ) const
inlineoverridevirtualinherited

The documentation for this struct was generated from the following file: