DAS  3.0
Das Analysis System
GenJet

Description

class GenJet

#include <Jet.h>

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

Public Member Functions

int hadronFlavour () const
 
- Public Member Functions inherited from PhysicsObject
FourVector CorrP4 (size_t i=0) const
 
float CorrPt (size_t i=0) const
 
float Rapidity (const Uncertainties::Variation &=Uncertainties::nominal) const
 
float AbsRap (const Uncertainties::Variation &=Uncertainties::nominal) const
 
FourVector CorrP4 (const Uncertainties::Variation &v) const final
 
float CorrPt (const Uncertainties::Variation &v) const final
 
double Weight (const Uncertainties::Variation &v) const final
 
- Public Member Functions inherited from AbstractPhysicsObject
 AbstractPhysicsObject ()=default
 
virtual ~AbstractPhysicsObject ()=default
 

Public Attributes

int nBHadrons = -1
 
int nCHadrons = -1
 
int partonFlavour = 0
 
- Public Attributes inherited from PhysicsObject
FourVector p4
 
std::vector< float > scales = {1.}
 
Weights weights = {{1.,0}}
 

Static Public Attributes

static const char *const ScaleVar = "GenJetScales"
 
static const char *const *const WeightVar = "GenJetWgts"
 

Private Member Functions

std::string_view scale_group () const override
 
std::string_view weight_group () const override
 

Additional Inherited Members

- Protected Member Functions inherited from PhysicsObject
 PhysicsObject ()=default
 
virtual ~PhysicsObject ()=default
 

Member Function Documentation

◆ hadronFlavour()

int hadronFlavour ( ) const
inline
18  {
19  if (nBHadrons > 0) return 5;
20  else if (nCHadrons > 0) return 4;
21  else return 0;
22  }

◆ scale_group()

std::string_view scale_group ( ) const
inlineoverrideprivatevirtual

Implements PhysicsObject.

Reimplemented in RecJet.

25 { return ScaleVar; }

◆ weight_group()

std::string_view weight_group ( ) const
inlineoverrideprivatevirtual

Implements PhysicsObject.

Reimplemented in RecJet.

26 { return WeightVar; }

Member Data Documentation

◆ nBHadrons

int nBHadrons = -1

Number of B hadrons (0, 1 or 2+)

◆ nCHadrons

int nCHadrons = -1

Number of D hadrons (0, 1+ in 2017; 0, 1, 2+ in 2016)

◆ partonFlavour

int partonFlavour = 0

Parton flavour (PDG ID)

◆ ScaleVar

const char* const ScaleVar = "GenJetScales"
inlinestatic

Name of jet gen scales in variations.

◆ WeightVar

const char* const * const WeightVar = "GenJetWgts"
static

Name of jet gen weights in variations.


The documentation for this struct was generated from the following file:
DAS::GenJet::nBHadrons
int nBHadrons
Number of B hadrons (0, 1 or 2+)
Definition: Jet.h:13
DAS::GenJet::ScaleVar
static const char *const ScaleVar
Name of jet gen scales in variations.
Definition: Jet.h:10
DAS::GenJet::nCHadrons
int nCHadrons
Number of D hadrons (0, 1+ in 2017; 0, 1, 2+ in 2016)
Definition: Jet.h:14
DAS::GenJet::WeightVar
static const char *const *const WeightVar
Name of jet gen weights in variations.
Definition: Jet.h:11