15#ifndef TRIGCALOEVENT_TRIGT2JET_H
16#define TRIGCALOEVENT_TRIGT2JET_H
41 double e()
const {
return m_e; }
51 double m()
const {
return 0.; }
60 const std::vector<Trig3Momentum>*
grid()
const {
return m_grid; }
150 std::map<std::string, double>& variableChange);
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
void diff(const TrigT2Jet &a, const TrigT2Jet &b, std::map< std::string, double > &variableChange)
Comparison with feedback.
MsgStream & operator<<(MsgStream &m, const TrigT2Jet &d)
formatted output
bool operator==(const TrigT2Jet &a, const TrigT2Jet &b)
Operator comparing two objects for equality.
bool operator!=(const TrigT2Jet &a, const TrigT2Jet &b)
Operator comparing two objects for inequality.
P4EEtaPhiMBase is a base class for classes with 4-momentum behavior, for which E, eta,...
double e() const
Return jet energy.
float emf() const
Return fraction of energy in EMC.
void setJetQuality(float jetQuality)
Set fraction of jet energy from bad cells.
float jetQuality() const
Return fraction of jet energy from bad cells.
double m_eem0
Electromagnetic Jet Energy before calibration.
void setPhi(double phi)
set Jet phi
std::vector< Trig3Momentum > * grid()
Trig3Momentum entities making part of Jet are stored in a grid.
void setE(double e)
set Jet energy
void set_RoIword(unsigned int word)
set RoI Word
void setEem0(double eem)
Set Electromagnetic energy.
double m() const
Return the jet mass - if we constrain, no need to store.
float hecf() const
Return fraction of energy in HEC.
int m_nLeadingCells
Jet nLeadingCells (e.g.
void setEhad0(double ehad)
Set Hadronic energy.
unsigned int RoIword() const
Return the cone Radius.
void setNLeadingCells(int nLeadingCells)
Set nLeadingCells (e.g.
double ehad0() const
Return the hadronic energy of the jet, calculated before calibration.
float m_jetTimeCells
Jet time.
double phi() const
Return jet phi.
void setHecf(float hecf)
Set fraction of energy in HEC.
int nLeadingCells() const
Return nLeadingCells (e.g.
double m_ehad0
Hadronic Jet Energy before calibration.
double eem0() const
Return the electromagnetic energy of the jet, calculated before the calibration.
std::vector< Trig3Momentum > * m_grid
Jet coneRadius.
unsigned int m_roiWord
RoI Word.
float m_emf
Fraction of energy in EMC.
const std::vector< Trig3Momentum > * grid() const
void setEmf(float emf)
Set fraction of energy in EMC.
double eta() const
Return jet eta.
float m_hecf
Fraction of energy in HEC.
float m_jetQuality
fraction of jet energy from bad cells
void setEta(double eta)
set Jet eta
void setJetTimeCells(float jetTimeCells)
Set jet time calculated from cells.
void setGrid(std::vector< Trig3Momentum > *grid)
set Jet cone Radius
float jetTimeCells() const
Return jet time calculated from cells.