FEDRA emulsion software from the OPERA Collaboration
|
objects combinations generator More...
#include <EdbCombGen.h>
Public Member Functions | |
EdbCombGen () | |
EdbCombGen (TObjArray &elements, int nitems=-1) | |
bool | NextCombination (TObjArray &selected, TObjArray ®ected) |
~EdbCombGen () | |
Private Attributes | |
vector< bool > | eBits |
bits array More... | |
TObjArray | eElements |
objects to be combinated More... | |
Int_t | eItems |
number of items to be selected More... | |
Bool_t | eNext |
Int_t | eSize |
total number of items More... | |
objects combinations generator
|
inline |
EdbCombGen::EdbCombGen | ( | TObjArray & | elements, |
int | nitems = -1 |
||
) |
|
inline |
bool EdbCombGen::NextCombination | ( | TObjArray & | selected, |
TObjArray & | regected | ||
) |
|
private |
bits array
|
private |
objects to be combinated
|
private |
number of items to be selected
|
private |
|
private |
total number of items