CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
DynamicRfilt Class Reference

#include <FastjetJetProducer.h>

Inheritance diagram for DynamicRfilt:

Public Member Functions

 DynamicRfilt (double Rmax, double deltaR_factor)
 
double result (const fastjet::PseudoJet &j) const override
 

Private Attributes

double _deltaR_factor
 
double _Rmax
 

Detailed Description

Definition at line 19 of file FastjetJetProducer.h.

Constructor & Destructor Documentation

◆ DynamicRfilt()

DynamicRfilt::DynamicRfilt ( double  Rmax,
double  deltaR_factor 
)
inline

Definition at line 22 of file FastjetJetProducer.h.

22 : _Rmax(Rmax), _deltaR_factor(deltaR_factor) {}

Member Function Documentation

◆ result()

double DynamicRfilt::result ( const fastjet::PseudoJet &  j) const
inlineoverride

Definition at line 25 of file FastjetJetProducer.h.

25  {
26  if (!j.has_pieces())
27  return _Rmax;
28 
29  std::vector<fastjet::PseudoJet> pieces = j.pieces();
30  if (pieces.size() != 2)
31  return _Rmax;
32 
33  double deltaR = pieces[0].delta_R(pieces[1]);
35  }

References _deltaR_factor, _Rmax, PbPb_ZMuSkimMuonDPG_cff::deltaR, dqmiolumiharvest::j, min(), and csv2json::pieces.

Member Data Documentation

◆ _deltaR_factor

double DynamicRfilt::_deltaR_factor
private

Definition at line 38 of file FastjetJetProducer.h.

Referenced by result().

◆ _Rmax

double DynamicRfilt::_Rmax
private

Definition at line 38 of file FastjetJetProducer.h.

Referenced by result().

min
T min(T a, T b)
Definition: MathUtil.h:58
Gflash::Rmax
const double Rmax[kNumberCalorimeter]
Definition: GflashNameSpace.h:31
DynamicRfilt::_deltaR_factor
double _deltaR_factor
Definition: FastjetJetProducer.h:38
csv2json.pieces
pieces
Definition: csv2json.py:32
PbPb_ZMuSkimMuonDPG_cff.deltaR
deltaR
Definition: PbPb_ZMuSkimMuonDPG_cff.py:63
DynamicRfilt::_Rmax
double _Rmax
Definition: FastjetJetProducer.h:38
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66