Darwin  1.0
Event loop based prototype framework
RecJet

Description

A detector level jet.

#include <Objects.h>

+ Inheritance diagram for RecJet:
+ Collaboration diagram for RecJet:

Public Member Functions

float weight () const final
 
float CorrPt () const final
 
float CorrEta () const final
 
virtual RecJet operator+ (const RecJet &) const
 
void clear () override
 
 RecJet ()
 
 ~RecJet ()=default
 
- Public Member Functions inherited from Jet
virtual Jetoperator+= (const Jet &)
 
 Jet ()
 
virtual ~Jet ()=default
 
- Public Member Functions inherited from FourVector
virtual float Rapidity () const
 
virtual float AbsRap () const
 
virtual FourVectoroperator+= (const ROOT::Math::PtEtaPhiM4D< float > &)
 
virtual FourVector operator+ (const ROOT::Math::PtEtaPhiM4D< float > &) const
 
 FourVector ()=default
 
 FourVector (const ROOT::Math::PtEtaPhiM4D< float > &)
 
virtual ~FourVector ()=default
 

Public Attributes

float area
 
std::vector< std::vector< float > > tags
 
- Public Attributes inherited from Jet
char pdgID
 
char nBHadrons
 
char nCHadrons
 
std::vector< float > scales
 
std::vector< float > weights
 

Static Public Attributes

static size_t iWgt = 0
 
static size_t iScl = 0
 
- Static Public Attributes inherited from Jet
static float R = 0.4
 

Constructor & Destructor Documentation

◆ RecJet()

RecJet ( )
244 : area(2*M_PI*Jet::R) { }

◆ ~RecJet()

~RecJet ( )
default

Member Function Documentation

◆ clear()

void clear ( )
overridevirtual

resets all members to the same values as in the constructor

Reimplemented from Jet.

247 {
248  Jet::clear();
249  tags.clear();
250  area = 2*M_PI*Jet::R;
251 }

◆ CorrEta()

float CorrEta ( ) const
finalvirtual

uses iScl internally

Implements Jet.

242 { FourVector p(*this); p.Scale(scales.at(iScl)); return p.Eta(); }

◆ CorrPt()

float CorrPt ( ) const
finalvirtual

uses iScl internally

Implements Jet.

241 { return scales.at(iScl)*Pt(); }

◆ operator+()

RecJet operator+ ( const RecJet j) const
virtual

merges two jets (the removal of the original jets is left to the user, if applicable)

254 {
255  RecJet jet = *this;
256  jet += j;
257  return jet;
258 }

◆ weight()

float weight ( ) const
finalvirtual

uses iWgt internally

Implements Jet.

240 { return weights.at(iWgt); }

Member Data Documentation

◆ area

float area

jet area, roughly = pi*R^2

◆ iScl

size_t iScl = 0
static

global index for scale

◆ iWgt

size_t iWgt = 0
static

global index for weight

◆ tags

std::vector<std::vector<float> > tags

discriminants (should be known by the user)


The documentation for this struct was generated from the following files:
Darwin::Physics::FourVector
An extended version of ROOT 4-vectors.
Definition: Objects.h:128
Darwin::Physics::RecJet::iScl
static size_t iScl
global index for scale
Definition: Objects.h:192
Darwin::Physics::Jet::clear
void clear() override
resets all members to the same values as in the constructor
Definition: Objects.cc:176
Darwin::Physics::Jet::R
static float R
parameter of clustering algorithm
Definition: Objects.h:147
Darwin::Physics::Jet::weights
std::vector< float > weights
jet weight (typically expected to be trivial for all-flavour inclusive jet cross section)
Definition: Objects.h:155
Darwin::Physics::RecJet::iWgt
static size_t iWgt
global index for weight
Definition: Objects.h:191
Darwin::Physics::RecJet::area
float area
jet area, roughly = pi*R^2
Definition: Objects.h:200
Darwin::Physics::Jet::scales
std::vector< float > scales
Definition: Objects.h:154
Darwin::Physics::RecJet
A detector level jet.
Definition: Objects.h:189
Darwin::Physics::RecJet::tags
std::vector< std::vector< float > > tags
discriminants (should be known by the user)
Definition: Objects.h:201