Darwin  1.0
Event loop based prototype framework
GenJet

Description

A generator level jet.

#include <Objects.h>

+ Inheritance diagram for GenJet:
+ Collaboration diagram for GenJet:

Public Member Functions

float weight () const final
 
float CorrPt () const final
 
float CorrEta () const final
 
virtual GenJet operator+ (const GenJet &) const
 
void clear () override
 
 ~GenJet ()=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
 

Static Public Attributes

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

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ ~GenJet()

~GenJet ( )
default

Member Function Documentation

◆ clear()

void clear ( )
overridevirtual

resets all members to the same values as in the constructor

Reimplemented from Jet.

224 {
225  Jet::clear();
226 }

◆ CorrEta()

float CorrEta ( ) const
finalvirtual

uses iScl internally

Implements Jet.

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

◆ CorrPt()

float CorrPt ( ) const
finalvirtual

uses iScl internally

Implements Jet.

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

◆ operator+()

GenJet operator+ ( const GenJet j) const
virtual

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

229 {
230  GenJet jet = *this;
231  jet += j;
232  return jet;
233 }

◆ weight()

float weight ( ) const
finalvirtual

uses iWgt internally

Implements Jet.

219 { return weights.at(iWgt); }

Member Data Documentation

◆ iScl

size_t iScl = 0
static

global index for scale

◆ iWgt

size_t iWgt = 0
static

global index for weight


The documentation for this struct was generated from the following files:
Darwin::Physics::GenJet::iScl
static size_t iScl
global index for scale
Definition: Objects.h:175
Darwin::Physics::GenJet::iWgt
static size_t iWgt
global index for weight
Definition: Objects.h:174
Darwin::Physics::GenJet
A generator level jet.
Definition: Objects.h:172
Darwin::Physics::FourVector
An extended version of ROOT 4-vectors.
Definition: Objects.h:128
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::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::Jet::scales
std::vector< float > scales
Definition: Objects.h:154