16#ifndef ANALYSIS_JETCONSTITUENT_H
17#define ANALYSIS_JETCONSTITUENT_H
25#include "CaloGeoHelpers/CaloSampling.h"
75 const Jet* the_jet,
double weight=1);
81 const Jet* the_jet,
double weight=1)
82 {
set_jet(theContainer, the_jet, weight);}
86 {
set_jet(theContainer, theIndex, weight);}
Class IConstituent: This is the abstract base class for additional jet constituents to be put into th...
virtual void setName(NameType &name)
to set the name
void set_jet(const JetCollection *theContainer, const Jet *the_jet, double weight=1)
const Jet * jet() const
get jet directly without token
void set_constituent(const JetCollection *theContainer, const Jet *the_jet, double weight=1)
std::vector< double > m_energyInSample
void set_wtCryo(double)
Set wtCryoLocal defined as wtCryoLocal = wtCryo / sqrt(average_TileBar0_weight * average_EMB3_weight)
double getJetWeight(const Jet *the_jet) const
void set_energyInSample(CaloSampling::CaloSample, double)
set energy in sample WITH hadronic weights
void set_constituent(const JetCollection *theContainer, index_type &theIndex, double weight=1)
JetConstituent()
constructor
Navigable< JetCollection, double >::constituent_iter iter_type
virtual IConstituent * clone() const
a clone method for the proper workings of the copy constructor
~JetConstituent()=default
double energyInSample(CaloSampling::CaloSample) const
This is the energy in a sample with the navigation weight and hadronic calibration.
Navigable< JetCollection, double >::external_index_type index_type
double energyInCryostat() const
The estimate of the energy cryostat.
virtual NameType name() const
returns the infoType of the info objects.
constituent_coll::iterator constituent_iter
SG::GenerateIndexingPolicy< CONT >::type::index_type external_index_type
The namespace of all packages in PhysicsAnalysis/JetTagging.
std::string NameType
string to identify the constituent