CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
JetMatchingTools::JetConstituent Struct Reference

#include <JetMatchingTools.h>

Public Member Functions

 JetConstituent ()
 
 JetConstituent (const JetConstituent &j)
 
 JetConstituent (const EcalRecHit &ehit)
 
 JetConstituent (const CaloRecHit &ehit)
 
 ~JetConstituent ()
 

Public Attributes

double energy
 
DetId id
 

Detailed Description

Definition at line 30 of file JetMatchingTools.h.

Constructor & Destructor Documentation

◆ JetConstituent() [1/4]

JetMatchingTools::JetConstituent::JetConstituent ( )
inline

Definition at line 34 of file JetMatchingTools.h.

34 {}

◆ ~JetConstituent()

JetMatchingTools::JetConstituent::~JetConstituent ( )
inline

Definition at line 35 of file JetMatchingTools.h.

35 {}

◆ JetConstituent() [2/4]

JetMatchingTools::JetConstituent::JetConstituent ( const JetConstituent j)
inline

◆ JetConstituent() [3/4]

JetMatchingTools::JetConstituent::JetConstituent ( const EcalRecHit ehit)
inline

Definition at line 37 of file JetMatchingTools.h.

37 : id(ehit.detid()), energy(ehit.energy()) {}
const DetId & detid() const
Definition: EcalRecHit.h:72
float energy() const
Definition: EcalRecHit.h:68

◆ JetConstituent() [4/4]

JetMatchingTools::JetConstituent::JetConstituent ( const CaloRecHit ehit)
inline

Definition at line 38 of file JetMatchingTools.h.

38 : id(ehit.detid()), energy(ehit.energy()) {}
constexpr const DetId & detid() const
Definition: CaloRecHit.h:33
constexpr float energy() const
Definition: CaloRecHit.h:29

Member Data Documentation

◆ energy

double JetMatchingTools::JetConstituent::energy

Definition at line 32 of file JetMatchingTools.h.

Referenced by Jet.Jet::rawEnergy().

◆ id

DetId JetMatchingTools::JetConstituent::id

Definition at line 31 of file JetMatchingTools.h.