Jpp
Public Types | Public Member Functions | List of all members
JAANET::JWeightEvent Struct Referenceabstract

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

#include <JWeightEvent.hh>

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

Public Types

typedef JClonable< JClonable_t >::clone_type clone_type
 

Public Member Functions

virtual ~JWeightEvent ()
 Virtual destructor. More...
 
virtual bool configure (const JHead &header)=0
 Configuration. More...
 
virtual double getWeight (const Evt &evt) const =0
 Get weight of given event. More...
 
virtual clone_type clone () const
 Get clone of this object. More...
 

Detailed Description

Low-level interface for event weighing.

Definition at line 17 of file JWeightEvent.hh.

Member Typedef Documentation

◆ clone_type

template<class JClonable_t, class JDerived_t>
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

◆ ~JWeightEvent()

virtual JAANET::JWeightEvent::~JWeightEvent ( )
inlinevirtual

Virtual destructor.

Definition at line 23 of file JWeightEvent.hh.

24  {}

Member Function Documentation

◆ configure()

virtual bool JAANET::JWeightEvent::configure ( const JHead header)
pure virtual

Configuration.

Parameters
headerheader
Returns
true if okay; else false

◆ getWeight()

virtual double JAANET::JWeightEvent::getWeight ( const Evt &  evt) const
pure virtual

Get weight of given event.

Parameters
evtevent
Returns
weight [1/s]

◆ clone()

template<class JClonable_t, class JDerived_t>
virtual clone_type JLANG::JClonable< JClonable_t, JDerived_t >::clone ( ) const
inlinevirtualinherited

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