Implementation of event weighing for DAQ data.  
 More...
#include <JEvtWeightDAQ.hh>
Implementation of event weighing for DAQ data. 
Definition at line 32 of file JEvtWeightDAQ.hh.
◆ clone_type
template<class JClonable_t , class JDerived_t > 
 
 
◆ JEvtWeightDAQ() [1/2]
  
  | 
        
          | JAANET::JEvtWeightDAQ::JEvtWeightDAQ | ( |  | ) |  |  | inline | 
 
 
◆ JEvtWeightDAQ() [2/2]
  
  | 
        
          | JAANET::JEvtWeightDAQ::JEvtWeightDAQ | ( | const JHead & | header | ) |  |  | inline | 
 
Constructor. 
- Parameters
- 
  
  
Definition at line 47 of file JEvtWeightDAQ.hh.
void configure(const JHead &header) override final
Configuration.
 
 
 
◆ getName()
  
  | 
        
          | const char* const JAANET::JEvtWeightDAQ::getName | ( |  | ) | const |  | inlinefinaloverride | 
 
 
◆ configure()
  
  | 
        
          | void JAANET::JEvtWeightDAQ::configure | ( | const JHead & | header | ) |  |  | inlinefinaloverride | 
 
Configuration. 
- Parameters
- 
  
  
Definition at line 69 of file JEvtWeightDAQ.hh.
   79         THROW(
JValueOutOfRange, 
"JEvtWeightDAQ::configure(): Provided header is inconsistent with a DAQ-header.");
 
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
Exception for accessing a value in a collection that is outside of its range.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
double livetime_s
Live time [s].
bool check(const JHead &header) const override final
Check whether header is consistent with this event weighter.
 
 
 
◆ check()
  
  | 
        
          | bool JAANET::JEvtWeightDAQ::check | ( | const JHead & | header | ) | const |  | inlinefinaloverride | 
 
Check whether header is consistent with this event weighter. 
- Parameters
- 
  
  
- Returns
- true if consistent; else false 
Definition at line 90 of file JEvtWeightDAQ.hh.
bool is_daq(const JHead &header)
Check for real data.
 
 
 
◆ getWeight()
  
  | 
        
          | double JAANET::JEvtWeightDAQ::getWeight | ( | const Evt & | evt | ) | const |  | inlinefinaloverride | 
 
Get weight of given event. 
- Parameters
- 
  
  
- Returns
- weight [1/s] 
Definition at line 102 of file JEvtWeightDAQ.hh.
  107         return getNormalisation(evt);
 
std::vector< double > w
MC: Weights w[0]=w1, w[1]=w2, w[2]=w3 (see e.g. Tag list or km3net-dataformat/definitions)
static const int WEIGHTLIST_RESCALED_EVENT_RATE
Rescaled event rate [s-1].
 
 
 
◆ clone()
template<class JClonable_t , class JDerived_t > 
  
  |  | inlineoverridevirtualinherited | 
 
Get clone of this object. 
- Returns
- pointer to newly created object 
Reimplemented in JTOOLS::JMultiMapTransformer< N, JArgument_t >::JMultiMapDefaultTransformer, JPHYSICS::JPDFTransformer< 5, JArgument_t >, JPHYSICS::JPDFTransformer< 4, JArgument_t >, JPHYSICS::JPDFTransformer< 3, JArgument_t >, JPHYSICS::JPDFTransformer< 2, JArgument_t >, JPHYSICS::JPDGTransformer_t< JArgument_t >, JPHYSICS::JPD0Transformer_t< JArgument_t >, and JPHYSICS::JPDFTransformer_t< JArgument_t >.
Definition at line 69 of file JClonable.hh.
   71       return new JDerived_t(
static_cast<const JDerived_t&
>(*
this));
 
 
 
 
The documentation for this struct was generated from the following file: