MeKinFilter Class Reference

Applies kinematic selection based on matrix element final state. More...

#include <MeKinFilter.h>

List of all members.

Public Member Functions

 MeKinFilter (Dataset &dataset)
bool operator() () const
 Evaluates selection for the current event.

Private Member Functions

double ComputeHt () const
 Computes parton-level Ht variable.

Private Attributes

bool enabled_
 Flag indicating whether the filtering is enabled for current dataset.
double minValue_
 Allowed range for the filtering variable.
double maxValue_
std::unique_ptr
< TTreeReaderValue< UInt_t > > 
srcNumPart_
std::unique_ptr
< TTreeReaderArray< Int_t > > 
srcPdgId_
std::unique_ptr
< TTreeReaderArray< Int_t > > 
srcMotherIndex_
std::unique_ptr
< TTreeReaderArray< Float_t > > 
srcPartPt_

Detailed Description

Applies kinematic selection based on matrix element final state.

This filter is controlled by per-dataset configuration as follows:

 {.yaml}
 me_kin_filter:
   variable: <variable>
   range: [<min>, <max>]

The event is accepted if the value of the specified variable lies in the given range. If the per-dataset configuration does not contain section me_kin_filter, all events are accepted. The filtering is always disabled in real data.


Member Function Documentation

double MeKinFilter::ComputeHt (  )  const [private]

Computes parton-level Ht variable.

Defined as the sum of pt of quarks and gluons in the final state of the matrix element. This is the definition used by MadGraph for cuts htjmin and htjmax.

bool MeKinFilter::operator() (  )  const

Evaluates selection for the current event.

If the filter is disabled for the current dataset, always returns true.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Enumerations Enumerator

Generated on 30 Oct 2020 for H→ZZ→2ℓ2ν analysis by  doxygen 1.6.1