5#ifndef TRIGTAUCLUSTER_H
6#define TRIGTAUCLUSTER_H
25#include "AthLinks/ElementLink.h"
36 float phi = -10.0,
long roi_word = 0);
38 unsigned int details_index,
40 float phi = -10.0,
long roi_word = 0);
48 void print(
void)
const;
50 void print(MsgStream& log)
const;
206 return !(left == right);
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
MsgStream & operator<<(MsgStream &m, const TrigTauCluster &tau)
Helper operator for printing the object.
bool operator!=(const TrigTauCluster &left, const TrigTauCluster &right)
Operator comparing two TrigTauCluster objects for inequality.
bool operator==(const TrigTauCluster &left, const TrigTauCluster &right)
Operator comparing two TrigTauCluster objects for equality.
void diff(const TrigTauCluster &left, const TrigTauCluster &right, std::map< std::string, double > &varChange)
Comparison with feedback.
ElementLink implementation for ROOT usage.
void setRawEta(float eta)
set Raw Eta (no calibration)
float rawEta() const
get Raw Eta (no calibration)
TrigCaloCluster(float energy=0.0, float eta=-10.0, float phi=-10.0, long roi_word=0)
Constructor, please note the default values.
void setRawPhi(float phi)
set Raw Phi (no calibration)
float rawPhi() const
get Raw Phi (no calibration)
float rawEnergy() const
get Raw Energy (no calibration)
Container from TrigTauClusterDetails type objects.
float EMenergyNarrow(int samp) const
get EM Energy in the narrow region (0.1x0.1)
float HADenergyNarrow(int samp) const
get HAD Energy in the narrow region (0.1x0.1)
float HADenergyWidth(int samp) const
get Width in HAD samplings
float EMenergyWidth(int samp) const
get Width in EM samplings
float EMenergyMedium(int samp) const
get EM Energy in the wide region (0.2x0.2)
float EMenergyWide(int samp) const
get EM Energy in the mormalization region (0.3x0.3)
float HADenergyWide(int samp) const
get HAD Energy in the normalization region (0.3x0.3)
float HADenergyMedium(int samp) const
get HAD Energy in the wide region (0.2x0.2)
float EMRadius(int samp) const
get EM Radius per sampling
Class with calibrated variables for tau clustering.
void setStripWidth(float stripwidth)
set Width in the strip sampling
float HadRadius() const
get Hadronic Radius
int numStripCells() const
get Number of fired strips
float EMRadius3S() const
get EM Radius 3S
float CoreFrac() const
get Core Fraction
const TrigTauClusterDetails * clusterDetails() const
accessor to TrigTauClusterDetails*
float energy(CaloSampling::CaloSample) const
get Energy per sampling
TrigTauCluster(float energy=0.0, float eta=-10.0, float phi=-10.0, long roi_word=0)
Constructors, please note the default values.
~TrigTauCluster()
Destructor.
float EMenergyWidth(int samp) const
get Width in EM samplings
float EMenergyNarrow(int samp) const
get EM Energy in the narrow region (0.1x0.1)
float eta() const
get Eta of the cluster
float EMRadius2() const
get EM Radius
float et() const
get Raw Et
float energyInSample(CaloSampling::CaloSample) const
get Energy per sampling
float eCalib() const
get Calibrated Energy
void setEMFrac(float emFrac)
set EM Fraction
float stripWidthOffline() const
get Width as in offline
float m_stripWidth
Width in the strip sampling.
float m_CaloRadius
Total Calo Radius.
void setNumStripCells(int numstripcells)
set Number of fired strips
float m_IsoFrac
Isolation Fraction.
float EMRadius(int samp) const
get EM Radius per sampling
float m_EMenergy
EM Energy.
void setEMRadius2(float emradius)
set EM Radius
void setStripWidthOffline(float stripwidthOffline)
set strip Width as in offline
float m_EMRadius2
EM Radius.
ElementLink< TrigTauClusterDetailsContainer > m_clusterDetails
ElementLink to TrigTauClusterDetailsContainer.
float phi() const
get Phi of the cluster
float EMenergyMedium(int samp) const
get EM Energy in the medium region (0.2x0.2)
float m_HADenergy
HAD Energy.
float m_EMFrac
EM Fraction.
void setEta(float eta)
set Eta of the cluster
void setHadRadius(float hadRadius)
set Hadronic Radius
void setCaloRadius(float caloradius)
set Total Calo Radius
float stripWidth() const
get Width in the strip sampling
int numTotCells() const
get Number of total cells in the cluster
const ElementLink< TrigTauClusterDetailsContainer > & clusterDetailsLink() const
void setCoreFrac(float coreFrac)
set Core Fraction
void setHADenergy(float energy)
set HAD Energy
float EMenergy() const
get EM Energy
void setEnergyCalib(float e)
set Calibrated Energy
float CaloRadius() const
get Total Calo Radius
float m_stripWidthOffline
Width calculated as in Offline tauRec.
void setEMenergy(float energy)
set EM Energy
void setEMRadius3S(float emradius3s)
set EM Radius 3S
float eEMCalib() const
get EM calibrated Energy
void setClusterDetails(const ElementLink< TrigTauClusterDetailsContainer > &clusterDetailsLink)
float HADenergy() const
get HAD Energy
void setPhi(float phi)
set Phi of the cluster
void setIsoFrac(float isofrac)
set Isolation Fraction
float energy() const
get Raw Energy
void setNumTotCells(int numtotcells)
set Number of Cells in the cluster
float m_eCalib
Calibrated Energy.
float m_EMRadius3S
EM Radius 3S.
float EMenergyWide(int samp) const
get EM Energy in the wide region (0.3x0.3)
int m_numTotCells
Total number of cells in the cluster.
float m_HadRadius
Hadronic Radius.
float IsoFrac() const
get Isolation Fraction
int m_numStripCells
Number of fired strips.
float HADenergyNarrow(int samp) const
get HAD Energy in the narrow region (0.1x0.1)
float HADenergyWide(int samp) const
get HAD Energy in the wide region (0.3x0.3)
float HADenergyMedium(int samp) const
get HAD Energy in the medium region (0.2x0.2)
float EMFrac() const
get EM Fraction
float m_CoreFrac
Core Fraction.
float EMCalibEnergy() const
get EM calibrated Energy
void print(void) const
Prints out cluster variables to std::cout.
float HADenergyWidth(int samp) const
get Width in HAD samplings