Checks if event contains a jet in a specified (eta, phi) window. More...
#include <JetGeometricVeto.h>
Public Member Functions | |
JetGeometricVeto (Dataset &dataset, Options const &options, JetBuilder const *jetBuilder, TabulatedRngEngine &rngEngine) | |
bool | operator() () const |
Returns true if there are no jets in the specified window. | |
Private Attributes | |
int | minRun_ |
Range of runs for which the veto should be evaluated. | |
int | maxRun_ |
double | lumiFraction_ |
Probability with which to perform the check in simulation. | |
double | minEta_ |
Window in (eta, phi) to be vetoed. | |
double | maxEta_ |
double | minPhi_ |
double | maxPhi_ |
bool | enabled_ |
bool | isSim_ |
JetBuilder const * | jetBuilder_ |
TabulatedRandomGenerator | tabulatedRng_ |
TTreeReaderValue< UInt_t > | srcRun_ |
Checks if event contains a jet in a specified (eta, phi) window.
The configuration is read from optional section jet_geometric_veto
of the master configuration. If this section is missing, the filtering is disabled, and operator() will always return true.
In data the filtering is restricted to a specified run range. In simulation the decision to apply the filtering or not is taken randomly, with the probability given by the parameter lumi_fraction
.
bool JetGeometricVeto::operator() | ( | ) | const |
Returns true if there are no jets in the specified window.
The event is considered good if there are no jets in the window.
double JetGeometricVeto::lumiFraction_ [private] |
Probability with which to perform the check in simulation.
This should correspond to the fraction of the integrated luminosity contained within the run range in data given by minRun_ and maxRun_.
int JetGeometricVeto::minRun_ [private] |
Range of runs for which the veto should be evaluated.
Both boundaries are included in the range. Only used for real data.