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

Uses also TEfficiency object, but the variables are one invariant mass and the corresponding helicity angle. More...

#include <RootEfficiency.hpp>

Public Member Functions

 RootAngleEfficiency (TEfficiency *eff)
 
 RootAngleEfficiency (TH1 *passed, TH1 *total)
 
 ~RootAngleEfficiency ()=default
 
virtual std::vector< double > evaluate (const DataSet &dataset) const
 
- Public Member Functions inherited from ComPWA::Data::Root::RootEfficiency
 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
 
- Public Member Functions inherited from ComPWA::Efficiency
 Efficiency ()
 
virtual ~Efficiency ()
 
virtual double evaluate (const DataPoint &point) const =0
 

Additional Inherited Members

- Protected Attributes inherited from ComPWA::Data::Root::RootEfficiency
std::shared_ptr< TEfficiency > effHist
 

Detailed Description

Uses also TEfficiency object, but the variables are one invariant mass and the corresponding helicity angle.

This avoids binning effects near the phsp boundaries. ATTENTION: We assume that the invariant mass of particle 2 and 3 and the helicity angle between 1 and 2 are used!

Definition at line 51 of file RootEfficiency.hpp.

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

Constructor & Destructor Documentation

◆ RootAngleEfficiency() [1/2]

ComPWA::Data::Root::RootAngleEfficiency::RootAngleEfficiency ( TEfficiency *  eff)
inline

Definition at line 53 of file RootEfficiency.hpp.

◆ RootAngleEfficiency() [2/2]

ComPWA::Data::Root::RootAngleEfficiency::RootAngleEfficiency ( TH1 *  passed,
TH1 *  total 
)
inline

Definition at line 55 of file RootEfficiency.hpp.

◆ ~RootAngleEfficiency()

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

Member Function Documentation

◆ evaluate()

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

Reimplemented from ComPWA::Data::Root::RootEfficiency.

Definition at line 36 of file RootEfficiency.cpp.


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