# bdm::compositepdf Class Reference

Chain rule of pdfs - abstract part common for mprod and merger. this abstract class is common to epdf and mpdf. More...

`#include <bdmbase.h>`

List of all members.

## Public Member Functions
| compositepdf (Array< mpdf * > A0, bool own=false)
void | set_elements (Array< mpdf * > A0, bool own=false)
RV | getrv (bool checkoverlap=false)
| find common rv, flag
void | setrvc (const RV &rv, RV &rvc)
| common rvc of all mpdfs is written to rvc
## Protected Attributes
Array< mpdf * > | mpdfs
| Elements of composition.
bool | owning_mpdfs

## Detailed Description

Chain rule of pdfs - abstract part common for mprod and merger. this abstract class is common to epdf and mpdf.

Todo:
  Think of better design - global functions rv=get_rv(Array<mpdf*> mpdfs); ??

## Member Function Documentation

RV bdm::compositepdf::getrv | ( | bool | checkoverlap = `false` | ) |

find common rv, flag

Parameters:

  | checkoverlap | modifies whether overlaps are acceptable

References bdm::RV::add(), and mpdfs.

Referenced by bdm::merger_base::set_sources().

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

- bdmbase.h
- bdmbase.cpp