PileUpIdFilter Class Reference

Applies pileup ID selection to jets. More...

#include <PileUpIdFilter.h>

Collaboration diagram for PileUpIdFilter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PileUpIdFilter (Options const &options)
std::vector< double > const & GetAbsEtaEdges () const
 Return edges between bins in |eta| read from the configuration.
std::pair< double, double > GetPtRange () const
 Returns range of pt where pileup ID is applicable.
std::vector< Jet::PileUpId >
const & 
GetWorkingPoints () const
 Return working points read from the configuration.
bool IsTaggable (Jet const &jet) const
 Indicates whether pileup ID is applicable for given jet.
bool operator() (Jet const &jet) const
 Checks whether the given jet passes the pileup ID selection specified in the configuration.

Private Attributes

bool enabled_
 Indicates whether the filter is enabled or works as a trivial pass-through.
double minPt_
 Range in pt where pileup ID is applicable.
double maxPt_
std::vector< double > absEtaEdges_
 Edges between diffent bins in |eta|.
std::vector< Jet::PileUpIdworkingPoints_
 Working points for all bins in |eta|.

Detailed Description

Applies pileup ID selection to jets.

The selection is specified in the section pileup_id of the master configuration. If this section is missing, the filter is disabled and accepts all jets. The following fields are read from this section:


Member Function Documentation

bool PileUpIdFilter::operator() ( Jet const &  jet  )  const

Checks whether the given jet passes the pileup ID selection specified in the configuration.

If this filter is disabled or if the jet's pt falls outside of the range of validity for pileup ID, the jet is automatically accepted.


Member Data Documentation

std::vector<double> PileUpIdFilter::absEtaEdges_ [private]

Edges between diffent bins in |eta|.

Values are sorted in a strictly increasing order. The vector is empty if a single working point is used for all pseudorapidities.

Working points for all bins in |eta|.

The size of this vector is exactly one unit larger than the size of absEtaEdges_. The elements represent the loosest values of Jet::pileUpId for the jet to be accepted.


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