ComPWA
Common Partial-Wave-Analysis Framework
ComPWA::Data::Root::RootEfficiency Class Reference

Efficiency provided by a histogram. More...

#include <RootEfficiency.hpp>

Public Member Functions

 RootEfficiency (TEfficiency *eff)
 Construct RootEfficiency from TEfficiency object. More...
 
 RootEfficiency (TH1 *passed, TH1 *total)
 Construct RootEfficiency from two TH2 objects for passed and total events. More...
 
 ~RootEfficiency ()=default
 
virtual std::vector< double > evaluate (const DataSet &dataset) const
 
- Public Member Functions inherited from ComPWA::Efficiency
 Efficiency ()
 
virtual ~Efficiency ()
 
virtual double evaluate (const DataPoint &point) const =0
 

Protected Attributes

std::shared_ptr< TEfficiency > effHist
 

Detailed Description

Efficiency provided by a histogram.

Definition at line 27 of file RootEfficiency.hpp.

+ Inheritance diagram for ComPWA::Data::Root::RootEfficiency:
+ Collaboration diagram for ComPWA::Data::Root::RootEfficiency:

Constructor & Destructor Documentation

◆ RootEfficiency() [1/2]

ComPWA::Data::Root::RootEfficiency::RootEfficiency ( TEfficiency *  eff)

Construct RootEfficiency from TEfficiency object.

Definition at line 16 of file RootEfficiency.cpp.

◆ RootEfficiency() [2/2]

ComPWA::Data::Root::RootEfficiency::RootEfficiency ( TH1 *  passed,
TH1 *  total 
)

Construct RootEfficiency from two TH2 objects for passed and total events.

Definition at line 22 of file RootEfficiency.cpp.

◆ ~RootEfficiency()

ComPWA::Data::Root::RootEfficiency::~RootEfficiency ( )
default

Member Function Documentation

◆ evaluate()

std::vector< double > ComPWA::Data::Root::RootEfficiency::evaluate ( const DataSet dataset) const
virtual

Reimplemented in ComPWA::Data::Root::RootAngleEfficiency.

Definition at line 27 of file RootEfficiency.cpp.

Member Data Documentation

◆ effHist

std::shared_ptr<TEfficiency> ComPWA::Data::Root::RootEfficiency::effHist
protected

Definition at line 29 of file RootEfficiency.hpp.


The documentation for this class was generated from the following files: