![]() |
![]() |
#include <FlavorHistorySelectorUtil.h>
Public Types | |
typedef reco::FlavorHistory::FLAVOR_T | flavor_type |
typedef std::vector< int > | flavor_vector |
Public Member Functions | |
FlavorHistorySelectorUtil (unsigned int flavor, unsigned int noutput, flavor_vector const &flavorSource, double minDR, double maxDR, bool verbose) | |
bool | select (unsigned int nb, unsigned int nc, unsigned int highestFlavor, FlavorHistory::FLAVOR_T flavorSource, double dr) const |
~FlavorHistorySelectorUtil () | |
Private Attributes | |
int | flavor_ |
flavor_vector | flavorSource_ |
double | maxDR_ |
double | minDR_ |
int | noutput_ |
bool | verbose_ |
Definition at line 54 of file FlavorHistorySelectorUtil.h.
Definition at line 56 of file FlavorHistorySelectorUtil.h.
typedef std::vector<int> reco::FlavorHistorySelectorUtil::flavor_vector |
Definition at line 57 of file FlavorHistorySelectorUtil.h.
FlavorHistorySelectorUtil::FlavorHistorySelectorUtil | ( | unsigned int | flavor, |
unsigned int | noutput, | ||
flavor_vector const & | flavorSource, | ||
double | minDR, | ||
double | maxDR, | ||
bool | verbose | ||
) |
Definition at line 8 of file FlavorHistorySelectorUtil.cc.
References maxDR_, and minDR_.
|
inline |
Definition at line 65 of file FlavorHistorySelectorUtil.h.
References runTauDisplay::dr, and select().
bool FlavorHistorySelectorUtil::select | ( | unsigned int | nb, |
unsigned int | nc, | ||
unsigned int | highestFlavor, | ||
FlavorHistory::FLAVOR_T | flavorSource, | ||
double | dr | ||
) | const |
Definition at line 26 of file FlavorHistorySelectorUtil.cc.
References reco::FlavorHistory::bQuarkId, gather_cfg::cout, reco::FlavorHistory::cQuarkId, spr::find(), flavor_, flavorSource_, maxDR_, minDR_, noutput_, and verbose_.
Referenced by FlavorHistoryFilter::filter(), and ~FlavorHistorySelectorUtil().
|
private |
Definition at line 75 of file FlavorHistorySelectorUtil.h.
Referenced by select().
|
private |
Definition at line 77 of file FlavorHistorySelectorUtil.h.
Referenced by select().
|
private |
Definition at line 79 of file FlavorHistorySelectorUtil.h.
Referenced by FlavorHistorySelectorUtil(), and select().
|
private |
Definition at line 78 of file FlavorHistorySelectorUtil.h.
Referenced by FlavorHistorySelectorUtil(), and select().
|
private |
Definition at line 76 of file FlavorHistorySelectorUtil.h.
Referenced by select().
|
private |
Definition at line 80 of file FlavorHistorySelectorUtil.h.
Referenced by select().