ATLAS Offline Software
Public Member Functions | Protected Attributes | Private Attributes | List of all members
TrigTauCluster Class Reference

Class with calibrated variables for tau clustering. More...

#include <TrigTauCluster.h>

Inheritance diagram for TrigTauCluster:
Collaboration diagram for TrigTauCluster:

Public Member Functions

 TrigTauCluster (float energy=0.0, float eta=-10.0, float phi=-10.0, long roi_word=0)
 Constructors, please note the default values
More...
 
 TrigTauCluster (const TrigTauClusterDetailsContainer *details_cont, unsigned int details_index, float energy=0.0, float eta=-10.0, float phi=-10.0, long roi_word=0)
 
 ~TrigTauCluster ()
 Destructor
More...
 
 TrigTauCluster (const TrigTauCluster *trigemcluster)
 Copy Pointer Constructor
More...
 
void print (void) const
 Prints out cluster variables to std::cout
More...
 
void print (MsgStream &log) const
 Prints out cluster variables to MsgStream
More...
 
void setEMenergy (float energy)
 set EM Energy More...
 
void setHADenergy (float energy)
 set HAD Energy More...
 
void setEta (float eta)
 set Eta of the cluster More...
 
void setPhi (float phi)
 set Phi of the cluster More...
 
void setEMRadius2 (float emradius)
 set EM Radius More...
 
void setCaloRadius (float caloradius)
 set Total Calo Radius More...
 
void setIsoFrac (float isofrac)
 set Isolation Fraction More...
 
void setStripWidth (float stripwidth)
 set Width in the strip sampling More...
 
void setStripWidthOffline (float stripwidthOffline)
 set strip Width as in offline More...
 
void setNumStripCells (int numstripcells)
 set Number of fired strips More...
 
void setNumTotCells (int numtotcells)
 set Number of Cells in the cluster More...
 
void setEnergyCalib (float e)
 set Calibrated Energy More...
 
void setEMRadius3S (float emradius3s)
 set EM Radius 3S More...
 
void setCoreFrac (float coreFrac)
 set Core Fraction More...
 
void setEMFrac (float emFrac)
 set EM Fraction More...
 
void setHadRadius (float hadRadius)
 set Hadronic Radius More...
 
float energy () const
 get Raw Energy More...
 
float et () const
 get Raw Et More...
 
float EMCalibEnergy () const
 get EM calibrated Energy More...
 
float EMenergy () const
 get EM Energy More...
 
float HADenergy () const
 get HAD Energy More...
 
float energy (CaloSampling::CaloSample) const
 get Energy per sampling More...
 
float energyInSample (CaloSampling::CaloSample) const
 get Energy per sampling More...
 
float eta () const
 get Eta of the cluster More...
 
float phi () const
 get Phi of the cluster More...
 
float EMRadius2 () const
 get EM Radius More...
 
float CaloRadius () const
 get Total Calo Radius More...
 
float EMRadius (int samp) const
 get EM Radius per sampling More...
 
float IsoFrac () const
 get Isolation Fraction More...
 
float EMenergyWidth (int samp) const
 get Width in EM samplings More...
 
float HADenergyWidth (int samp) const
 get Width in HAD samplings More...
 
int numStripCells () const
 get Number of fired strips More...
 
int numTotCells () const
 get Number of total cells in the cluster More...
 
float stripWidth () const
 get Width in the strip sampling More...
 
float stripWidthOffline () const
 get Width as in offline More...
 
float eCalib () const
 get Calibrated Energy More...
 
float eEMCalib () const
 get EM calibrated Energy More...
 
float EMRadius3S () const
 get EM Radius 3S More...
 
float CoreFrac () const
 get Core Fraction More...
 
float EMFrac () const
 get EM Fraction More...
 
float HadRadius () const
 get Hadronic Radius More...
 
float EMenergyWide (int samp) const
 get EM Energy in the wide region (0.3x0.3) More...
 
float EMenergyMedium (int samp) const
 get EM Energy in the medium region (0.2x0.2) More...
 
float EMenergyNarrow (int samp) const
 get EM Energy in the narrow region (0.1x0.1) More...
 
float HADenergyWide (int samp) const
 get HAD Energy in the wide region (0.3x0.3) More...
 
float HADenergyMedium (int samp) const
 get HAD Energy in the medium region (0.2x0.2) More...
 
float HADenergyNarrow (int samp) const
 get HAD Energy in the narrow region (0.1x0.1) More...
 
const TrigTauClusterDetailsclusterDetails () const
 accessor to TrigTauClusterDetails* More...
 
const ElementLink< TrigTauClusterDetailsContainer > & clusterDetailsLink () const
 
void setClusterDetails (const ElementLink< TrigTauClusterDetailsContainer > &clusterDetailsLink)
 
void setRawEnergy (float energy)
 set Raw Energy (no calibration)
More...
 
void setRawEnergy (CaloSampling::CaloSample sample, float energy)
 set Raw Et (no calibration) per sampling layer
More...
 
template<class ITERATOR >
void setRawEnergies (ITERATOR beg, ITERATOR end)
 
void setRawEt (float et)
 set Raw Et (no calibration)
More...
 
void setRawEta (float eta)
 set Raw Eta (no calibration)
More...
 
void setRawPhi (float phi)
 set Raw Phi (no calibration)
More...
 
void setRoIword (long roiword)
 set RoI Word
More...
 
void setNCells (int ncells)
 set number of cells used from RoI
More...
 
void setquality (unsigned int quality)
 set quality of cluster built (to be defined)
More...
 
float rawEnergy () const
 get Raw Energy (no calibration)
More...
 
float rawEnergy (CaloSampling::CaloSample sample) const
 get Raw Energy (no calibration) per sampling layer
More...
 
template<class ITERATOR >
void rawEnergies (ITERATOR beg, ITERATOR end) const
 
float rawEt () const
 get Raw Et (no calibration)
More...
 
float rawEta () const
 get Raw Eta (no calibration)
More...
 
float rawPhi () const
 get Raw Phi (no calibration)
More...
 
long RoIword () const
 get RoI Word
More...
 
int nCells () const
 get number of cells used from RoI
More...
 
unsigned int quality () const
 get quality of cluster built (to be defined)
More...
 

Protected Attributes

float m_rawEnergy
 Raw Energy (no calibration) More...
 
float m_rawEt
 Raw Et (no calibration) More...
 
float m_rawEnergyS [MAXSIZE]
 Raw Energy per sample (upto 25 samples - no calibration) More...
 
float m_rawEta
 Raw Eta (no calibration) More...
 
float m_rawPhi
 Raw Phi (no calibration) More...
 
long m_roiWord
 RoI Word. More...
 
int m_numberUsedCells
 Number of cells used from RoI. More...
 
unsigned int m_quality
 quality of cluster built (to be defined)
More...
 

Private Attributes

float m_EMenergy
 EM Energy. More...
 
float m_HADenergy
 HAD Energy. More...
 
float m_eCalib
 Calibrated Energy. More...
 
float m_EMRadius2
 EM Radius. More...
 
float m_CaloRadius
 Total Calo Radius. More...
 
float m_IsoFrac
 Isolation Fraction. More...
 
int m_numStripCells
 Number of fired strips. More...
 
int m_numTotCells
 Total number of cells in the cluster. More...
 
float m_stripWidth
 Width in the strip sampling. More...
 
float m_stripWidthOffline
 Width calculated as in Offline tauRec. More...
 
float m_EMRadius3S
 EM Radius 3S. More...
 
float m_CoreFrac
 Core Fraction. More...
 
float m_EMFrac
 EM Fraction. More...
 
float m_HadRadius
 Hadronic Radius. More...
 
bool m_valid
 
ElementLink< TrigTauClusterDetailsContainerm_clusterDetails
 ElementLink to TrigTauClusterDetailsContainer. More...
 

Detailed Description

Class with calibrated variables for tau clustering.

Inherits all Raw variables from TrigCaloCluster

Definition at line 32 of file TrigTauCluster.h.

Constructor & Destructor Documentation

◆ TrigTauCluster() [1/3]

TrigTauCluster::TrigTauCluster ( float  energy = 0.0,
float  eta = -10.0,
float  phi = -10.0,
long  roi_word = 0 
)

Constructors, please note the default values

Definition at line 25 of file TrigTauCluster.cxx.

25  :
27 {
28  setRoIword(roi_word);
29  m_EMenergy = 0;
30  m_HADenergy = 0;
31  m_eCalib = 0;
32  m_EMRadius2 = 0;
33  m_CaloRadius = 0;
34  m_IsoFrac = 0;
35  m_numStripCells = 0;
36  m_numTotCells = 0;
37  m_stripWidth = 0;
39  m_EMRadius3S = 0;
40  m_CoreFrac = 0;
41  m_EMFrac = 0;
42  m_HadRadius = 0;
44 }

◆ TrigTauCluster() [2/3]

TrigTauCluster::TrigTauCluster ( const TrigTauClusterDetailsContainer details_cont,
unsigned int  details_index,
float  energy = 0.0,
float  eta = -10.0,
float  phi = -10.0,
long  roi_word = 0 
)

Set ElementLink to the TrigTauClusterDetails

Definition at line 47 of file TrigTauCluster.cxx.

49  :
51 {
52  setRoIword(roi_word);
53  m_EMenergy = 0;
54  m_HADenergy = 0;
55  m_eCalib = 0;
56  m_EMRadius2 = 0;
57  m_CaloRadius = 0;
58  m_IsoFrac = 0;
59  m_numStripCells = 0;
60  m_numTotCells = 0;
61  m_stripWidth = 0;
63  m_EMRadius3S = 0;
64  m_CoreFrac = 0;
65  m_EMFrac = 0;
66  m_HadRadius = 0;
67 
69  if(details_cont != NULL && details_cont->size() > details_index)
70  {
71  m_clusterDetails.toIndexedElement(*details_cont, details_index);
73  {
75  m_valid=false;
76  }
77  }
78 }

◆ ~TrigTauCluster()

TrigTauCluster::~TrigTauCluster ( )

Destructor

Definition at line 81 of file TrigTauCluster.cxx.

82 {
83 }

◆ TrigTauCluster() [3/3]

TrigTauCluster::TrigTauCluster ( const TrigTauCluster trigemcluster)

Copy Pointer Constructor

Definition at line 86 of file TrigTauCluster.cxx.

87  m_EMenergy(ttc->EMenergy()),
88  m_HADenergy(ttc->HADenergy()),
89  m_eCalib(ttc->eCalib()),
90  m_EMRadius2(ttc->EMRadius2()),
91  m_CaloRadius(ttc->CaloRadius()),
92  m_IsoFrac(ttc->IsoFrac()),
93  m_numStripCells(ttc->numStripCells()),
94  m_numTotCells(ttc->numTotCells()),
95  m_stripWidth(ttc->stripWidth()),
96  m_stripWidthOffline(ttc->stripWidthOffline()),
97  m_EMRadius3S(ttc->EMRadius3S()),
98  m_CoreFrac(ttc->CoreFrac()),
99  m_EMFrac(ttc->EMFrac()),
100  m_HadRadius(ttc->HadRadius()),
101  m_valid(false)
102 {
103  //set ElementLink to cluster
105  {
106  m_clusterDetails.toIndexedElement(ttc->m_clusterDetails.getStorableObjectRef(), ttc->m_clusterDetails.index());
107  }
108  else
109  {
111  }
112 }

Member Function Documentation

◆ CaloRadius()

float TrigTauCluster::CaloRadius ( ) const
inline

get Total Calo Radius

Definition at line 123 of file TrigTauCluster.h.

123 { return m_stripWidth; };

◆ clusterDetails()

const TrigTauClusterDetails * TrigTauCluster::clusterDetails ( ) const

accessor to TrigTauClusterDetails*

Definition at line 156 of file TrigTauCluster.cxx.

157 {
159  {
160  return (*m_clusterDetails);
161  }
162  else
163  {
164  return NULL;
165  }
166 }

◆ clusterDetailsLink()

const ElementLink< TrigTauClusterDetailsContainer > & TrigTauCluster::clusterDetailsLink ( ) const

Definition at line 169 of file TrigTauCluster.cxx.

170 {
171  return m_clusterDetails;
172 }

◆ CoreFrac()

float TrigTauCluster::CoreFrac ( ) const
inline

get Core Fraction

Definition at line 147 of file TrigTauCluster.h.

147 { return m_clusterDetails.isValid() && clusterDetails() != 0 ? clusterDetails()->HADenergyWide(samp) : 0;};

◆ eCalib()

float TrigTauCluster::eCalib ( ) const
inline

get Calibrated Energy

Definition at line 141 of file TrigTauCluster.h.

142 { return m_clusterDetails.isValid() && clusterDetails() != 0 ? clusterDetails()->EMenergyMedium(samp) : 0; };

◆ eEMCalib()

float TrigTauCluster::eEMCalib ( ) const
inline

get EM calibrated Energy

Definition at line 143 of file TrigTauCluster.h.

144 { return m_clusterDetails.isValid() && clusterDetails() != 0 ? clusterDetails()->EMenergyNarrow(samp) : 0; };

◆ EMCalibEnergy()

float TrigTauCluster::EMCalibEnergy ( ) const
inline

get EM calibrated Energy

Definition at line 107 of file TrigTauCluster.h.

107 { return m_EMRadius2; };

◆ EMenergy()

float TrigTauCluster::EMenergy ( ) const
inline

get EM Energy

Definition at line 109 of file TrigTauCluster.h.

109 { return m_CaloRadius; };

◆ EMenergyMedium()

float TrigTauCluster::EMenergyMedium ( int  samp) const
inline

get EM Energy in the medium region (0.2x0.2)

Definition at line 156 of file TrigTauCluster.h.

160 :

◆ EMenergyNarrow()

float TrigTauCluster::EMenergyNarrow ( int  samp) const
inline

get EM Energy in the narrow region (0.1x0.1)

Definition at line 158 of file TrigTauCluster.h.

160 :

◆ EMenergyWide()

float TrigTauCluster::EMenergyWide ( int  samp) const
inline

get EM Energy in the wide region (0.3x0.3)

Definition at line 154 of file TrigTauCluster.h.

160 :

◆ EMenergyWidth()

float TrigTauCluster::EMenergyWidth ( int  samp) const
inline

get Width in EM samplings

Definition at line 129 of file TrigTauCluster.h.

129 { return 0; };

◆ EMFrac()

float TrigTauCluster::EMFrac ( ) const
inline

get EM Fraction

Definition at line 149 of file TrigTauCluster.h.

149 { return m_clusterDetails.isValid() && clusterDetails() != 0 ? clusterDetails()->HADenergyMedium(samp) : 0;};

◆ EMRadius()

float TrigTauCluster::EMRadius ( int  samp) const
inline

get EM Radius per sampling

Definition at line 125 of file TrigTauCluster.h.

125 { return m_stripWidthOffline; };

◆ EMRadius2()

float TrigTauCluster::EMRadius2 ( ) const
inline

get EM Radius

Definition at line 121 of file TrigTauCluster.h.

121 { return m_numTotCells; };

◆ EMRadius3S()

float TrigTauCluster::EMRadius3S ( ) const
inline

get EM Radius 3S

Definition at line 145 of file TrigTauCluster.h.

147 { return m_clusterDetails.isValid() && clusterDetails() != 0 ? clusterDetails()->HADenergyWide(samp) : 0;};

◆ energy() [1/2]

float TrigTauCluster::energy ( ) const
inline

get Raw Energy

Definition at line 103 of file TrigTauCluster.h.

103 { return rawEta(); };

◆ energy() [2/2]

float TrigTauCluster::energy ( CaloSampling::CaloSample  ) const
inline

get Energy per sampling

Definition at line 113 of file TrigTauCluster.h.

113 { return m_IsoFrac; };

◆ energyInSample()

float TrigTauCluster::energyInSample ( CaloSampling::CaloSample  ) const
inline

get Energy per sampling

Definition at line 115 of file TrigTauCluster.h.

115 { return m_clusterDetails.isValid() && clusterDetails() != 0 ? clusterDetails()->EMenergyWidth(samp) : 0; };

◆ et()

float TrigTauCluster::et ( ) const
inline

get Raw Et

Definition at line 105 of file TrigTauCluster.h.

105 { return rawPhi(); };

◆ eta()

float TrigTauCluster::eta ( ) const
inline

get Eta of the cluster

Definition at line 117 of file TrigTauCluster.h.

117 { return m_clusterDetails.isValid() && clusterDetails() != 0 ? clusterDetails()->HADenergyWidth(samp) : 0; };

◆ HADenergy()

float TrigTauCluster::HADenergy ( ) const
inline

get HAD Energy

Definition at line 111 of file TrigTauCluster.h.

111 { return m_clusterDetails.isValid() && clusterDetails() != 0 ? clusterDetails()->EMRadius(samp) : 0; };

◆ HADenergyMedium()

float TrigTauCluster::HADenergyMedium ( int  samp) const
inline

get HAD Energy in the medium region (0.2x0.2)

Definition at line 163 of file TrigTauCluster.h.

◆ HADenergyNarrow()

float TrigTauCluster::HADenergyNarrow ( int  samp) const
inline

get HAD Energy in the narrow region (0.1x0.1)

Definition at line 165 of file TrigTauCluster.h.

◆ HADenergyWide()

float TrigTauCluster::HADenergyWide ( int  samp) const
inline

get HAD Energy in the wide region (0.3x0.3)

Definition at line 161 of file TrigTauCluster.h.

◆ HADenergyWidth()

float TrigTauCluster::HADenergyWidth ( int  samp) const
inline

get Width in HAD samplings

Definition at line 131 of file TrigTauCluster.h.

131 { return m_EMRadius3S; };

◆ HadRadius()

float TrigTauCluster::HadRadius ( ) const
inline

get Hadronic Radius

Definition at line 151 of file TrigTauCluster.h.

151 { return m_clusterDetails.isValid() && clusterDetails() != 0 ? clusterDetails()->HADenergyNarrow(samp) : 0;};

◆ IsoFrac()

float TrigTauCluster::IsoFrac ( ) const
inline

get Isolation Fraction

Definition at line 127 of file TrigTauCluster.h.

127 { return m_eCalib; };

◆ nCells()

int TrigCaloCluster::nCells ( ) const
inlineinherited

get number of cells used from RoI

Definition at line 118 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

119  { return m_numberUsedCells ;};

◆ numStripCells()

int TrigTauCluster::numStripCells ( ) const
inline

get Number of fired strips

Definition at line 133 of file TrigTauCluster.h.

133 { return m_CoreFrac; };

◆ numTotCells()

int TrigTauCluster::numTotCells ( ) const
inline

get Number of total cells in the cluster

Definition at line 135 of file TrigTauCluster.h.

135 { return m_EMFrac; };

◆ phi()

float TrigTauCluster::phi ( ) const
inline

get Phi of the cluster

Definition at line 119 of file TrigTauCluster.h.

119 { return m_numStripCells; };

◆ print() [1/2]

void TrigTauCluster::print ( MsgStream &  log) const

Prints out cluster variables to MsgStream

Definition at line 136 of file TrigTauCluster.cxx.

137 {
139  log << MSG::DEBUG << "mEMenergy : " << m_EMenergy << "; ";
140  log << MSG::DEBUG << "m_HADenergy : " << m_HADenergy << "; ";
141  log << MSG::DEBUG << "m_eCalib : " << m_eCalib << "; ";
142  log << MSG::DEBUG << "Eta : " << eta() << "; ";
143  log << MSG::DEBUG << "Phi : " << phi() << "; ";
144  log << MSG::DEBUG << "m_numStripCells : " << m_numStripCells << "; ";
145  log << MSG::DEBUG << "m_numTotCells : " << m_numTotCells << "; ";
146 /* log <<MSG::DEBUG<< "m_EMenergyNarrow : ";
147  for ( int i = 0 ; i < NUMEMSAMP ; i++ )
148  log <<MSG::DEBUG<< trigtauDetails->EMenergyNarrow(i) << "; ";
149  log << endmsg;
150  log <<MSG::DEBUG<< "m_HADenergyNarrow : ";
151  for ( int i = 0 ; i < NUMHADSAMP ; i++ )
152  log <<MSG::DEBUG<< trigtauDetails->HADenergyNarrow(i) << "; ";
153  log << endmsg; */
154 }

◆ print() [2/2]

void TrigTauCluster::print ( void  ) const

Prints out cluster variables to std::cout

Definition at line 115 of file TrigTauCluster.cxx.

116 {
118  std::cout << "m_EMenergy : " << m_EMenergy << "; ";
119  std::cout << "m_HADenergy : " << m_HADenergy << "; ";
120  std::cout << "m_eCalib : " << m_eCalib << "; ";
121  std::cout << "Eta : " << eta() << "; ";
122  std::cout << "Phi : " << phi() << "; ";
123  std::cout << "m_numStripCells : " << m_numStripCells << "; ";
124  std::cout << "m_numTotCells : " << m_numTotCells << "; ";
125 /* std::cout << "m_EMenergyNarrow: ";
126  for ( int i = 0 ; i < NUMEMSAMP ; i++ )
127  std::cout << trigtauDetails->EMenergyNarrow(i) << "; ";
128  std::cout << std::endl;
129  std::cout << "m_HADenergyNarrow: ";
130  for ( int i = 0 ; i < NUMHADSAMP ; i++ )
131  std::cout << trigtauDetails->HADenergyNarrow(i) << "; ";
132  std::cout << std::endl; */
133 }

◆ quality()

unsigned int TrigCaloCluster::quality ( ) const
inlineinherited

get quality of cluster built (to be defined)

Definition at line 121 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

122  { return m_quality ;};

◆ rawEnergies()

template<class ITERATOR >
void TrigCaloCluster::rawEnergies ( ITERATOR  beg,
ITERATOR  end 
) const
inlineinherited

◆ rawEnergy() [1/2]

float TrigCaloCluster::rawEnergy ( ) const
inlineinherited

get Raw Energy (no calibration)

Definition at line 92 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

93  { return m_rawEnergy ;};

◆ rawEnergy() [2/2]

float TrigCaloCluster::rawEnergy ( CaloSampling::CaloSample  sample) const
inlineinherited

get Raw Energy (no calibration) per sampling layer

Definition at line 106 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

107  { return m_rawEnergyS[sample]; };

◆ rawEt()

float TrigCaloCluster::rawEt ( ) const
inlineinherited

get Raw Et (no calibration)

Definition at line 103 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

104  { return m_rawEt ;};

◆ rawEta()

float TrigCaloCluster::rawEta ( ) const
inlineinherited

get Raw Eta (no calibration)

Definition at line 109 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

110  { return m_rawEta ;};

◆ rawPhi()

float TrigCaloCluster::rawPhi ( ) const
inlineinherited

get Raw Phi (no calibration)

Definition at line 112 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

113  { return m_rawPhi ;};

◆ RoIword()

long TrigCaloCluster::RoIword ( ) const
inlineinherited

get RoI Word

Definition at line 115 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

116  { return m_roiWord ;};

◆ setCaloRadius()

void TrigTauCluster::setCaloRadius ( float  caloradius)
inline

set Total Calo Radius

Definition at line 79 of file TrigTauCluster.h.

79 { m_EMRadius3S = emradius3s; };

◆ setClusterDetails()

void TrigTauCluster::setClusterDetails ( const ElementLink< TrigTauClusterDetailsContainer > &  clusterDetailsLink)

Definition at line 174 of file TrigTauCluster.cxx.

175 {
177 }

◆ setCoreFrac()

void TrigTauCluster::setCoreFrac ( float  coreFrac)
inline

set Core Fraction

Definition at line 95 of file TrigTauCluster.h.

95 { return m_EMenergy; };

◆ setEMenergy()

void TrigTauCluster::setEMenergy ( float  energy)
inline

set EM Energy

Definition at line 69 of file TrigTauCluster.h.

69 { m_stripWidth = stripwidth; };

◆ setEMFrac()

void TrigTauCluster::setEMFrac ( float  emFrac)
inline

set EM Fraction

Definition at line 97 of file TrigTauCluster.h.

97 { return m_HADenergy;};

◆ setEMRadius2()

void TrigTauCluster::setEMRadius2 ( float  emradius)
inline

set EM Radius

Definition at line 77 of file TrigTauCluster.h.

77 { m_eCalib = e; };

◆ setEMRadius3S()

void TrigTauCluster::setEMRadius3S ( float  emradius3s)
inline

set EM Radius 3S

Definition at line 93 of file TrigTauCluster.h.

93 { return 0; };

◆ setEnergyCalib()

void TrigTauCluster::setEnergyCalib ( float  e)
inline

set Calibrated Energy

Definition at line 91 of file TrigTauCluster.h.

91 { return rawEnergy() / cosh(eta()); };

◆ setEta()

void TrigTauCluster::setEta ( float  eta)
inline

set Eta of the cluster

Definition at line 73 of file TrigTauCluster.h.

73 { m_numStripCells = numstripcells; };

◆ setHADenergy()

void TrigTauCluster::setHADenergy ( float  energy)
inline

set HAD Energy

Definition at line 71 of file TrigTauCluster.h.

71 { m_stripWidthOffline = stripwidthOffline; };

◆ setHadRadius()

void TrigTauCluster::setHadRadius ( float  hadRadius)
inline

set Hadronic Radius

Definition at line 99 of file TrigTauCluster.h.

99 { return 0.; };

◆ setIsoFrac()

void TrigTauCluster::setIsoFrac ( float  isofrac)
inline

set Isolation Fraction

Definition at line 81 of file TrigTauCluster.h.

81 { m_CoreFrac = coreFrac; };

◆ setNCells()

void TrigCaloCluster::setNCells ( int  ncells)
inlineinherited

set number of cells used from RoI

Definition at line 84 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

85  { m_numberUsedCells = ncells;};

◆ setNumStripCells()

void TrigTauCluster::setNumStripCells ( int  numstripcells)
inline

set Number of fired strips

Definition at line 87 of file TrigTauCluster.h.

89 { return rawEnergy(); };

◆ setNumTotCells()

void TrigTauCluster::setNumTotCells ( int  numtotcells)
inline

set Number of Cells in the cluster

Definition at line 89 of file TrigTauCluster.h.

89 { return rawEnergy(); };

◆ setPhi()

void TrigTauCluster::setPhi ( float  phi)
inline

set Phi of the cluster

Definition at line 75 of file TrigTauCluster.h.

75 { m_numTotCells = numtotcells; };

◆ setquality()

void TrigCaloCluster::setquality ( unsigned int  quality)
inlineinherited

set quality of cluster built (to be defined)

Definition at line 87 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

88  { m_quality = quality; };

◆ setRawEnergies()

template<class ITERATOR >
void TrigCaloCluster::setRawEnergies ( ITERATOR  beg,
ITERATOR  end 
)
inlineinherited

◆ setRawEnergy() [1/2]

void TrigCaloCluster::setRawEnergy ( CaloSampling::CaloSample  sample,
float  energy 
)
inlineinherited

set Raw Et (no calibration) per sampling layer

Definition at line 71 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

73  { m_rawEnergyS[sample] = energy; };

◆ setRawEnergy() [2/2]

void TrigCaloCluster::setRawEnergy ( float  energy)
inlineinherited

set Raw Energy (no calibration)

Definition at line 57 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

58  { m_rawEnergy = energy; };

◆ setRawEt()

void TrigCaloCluster::setRawEt ( float  et)
inlineinherited

set Raw Et (no calibration)

Definition at line 68 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

69  { m_rawEt = et; };

◆ setRawEta()

void TrigCaloCluster::setRawEta ( float  eta)
inlineinherited

set Raw Eta (no calibration)

Definition at line 75 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

76  { m_rawEta = eta; };

◆ setRawPhi()

void TrigCaloCluster::setRawPhi ( float  phi)
inlineinherited

set Raw Phi (no calibration)

Definition at line 78 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

79  { m_rawPhi = phi; };

◆ setRoIword()

void TrigCaloCluster::setRoIword ( long  roiword)
inlineinherited

set RoI Word

Definition at line 81 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

82  { m_roiWord = roiword; };

◆ setStripWidth()

void TrigTauCluster::setStripWidth ( float  stripwidth)
inline

set Width in the strip sampling

Definition at line 83 of file TrigTauCluster.h.

83 { m_EMFrac = emFrac; };

◆ setStripWidthOffline()

void TrigTauCluster::setStripWidthOffline ( float  stripwidthOffline)
inline

set strip Width as in offline

Definition at line 85 of file TrigTauCluster.h.

85 { m_HadRadius = hadRadius; };

◆ stripWidth()

float TrigTauCluster::stripWidth ( ) const
inline

get Width in the strip sampling

Definition at line 137 of file TrigTauCluster.h.

137 { return m_HadRadius; };

◆ stripWidthOffline()

float TrigTauCluster::stripWidthOffline ( ) const
inline

get Width as in offline

Definition at line 139 of file TrigTauCluster.h.

140 { return m_clusterDetails.isValid() && clusterDetails() != 0 ? clusterDetails()->EMenergyWide(samp) : 0; };

Member Data Documentation

◆ m_CaloRadius

float TrigTauCluster::m_CaloRadius
private

Total Calo Radius.

Definition at line 184 of file TrigTauCluster.h.

◆ m_clusterDetails

ElementLink<TrigTauClusterDetailsContainer> TrigTauCluster::m_clusterDetails
private

◆ m_CoreFrac

float TrigTauCluster::m_CoreFrac
private

Core Fraction.

Definition at line 198 of file TrigTauCluster.h.

◆ m_eCalib

float TrigTauCluster::m_eCalib
private

Calibrated Energy.

Definition at line 180 of file TrigTauCluster.h.

◆ m_EMenergy

float TrigTauCluster::m_EMenergy
private

EM Energy.

Definition at line 176 of file TrigTauCluster.h.

◆ m_EMFrac

float TrigTauCluster::m_EMFrac
private

EM Fraction.

Definition at line 200 of file TrigTauCluster.h.

◆ m_EMRadius2

float TrigTauCluster::m_EMRadius2
private

EM Radius.

Definition at line 182 of file TrigTauCluster.h.

◆ m_EMRadius3S

float TrigTauCluster::m_EMRadius3S
private

EM Radius 3S.

Definition at line 196 of file TrigTauCluster.h.

◆ m_HADenergy

float TrigTauCluster::m_HADenergy
private

HAD Energy.

Definition at line 178 of file TrigTauCluster.h.

◆ m_HadRadius

float TrigTauCluster::m_HadRadius
private

Hadronic Radius.

Definition at line 202 of file TrigTauCluster.h.

◆ m_IsoFrac

float TrigTauCluster::m_IsoFrac
private

Isolation Fraction.

Definition at line 186 of file TrigTauCluster.h.

◆ m_numberUsedCells

int TrigCaloCluster::m_numberUsedCells
protectedinherited

Number of cells used from RoI.

Definition at line 140 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

◆ m_numStripCells

int TrigTauCluster::m_numStripCells
private

Number of fired strips.

Definition at line 188 of file TrigTauCluster.h.

◆ m_numTotCells

int TrigTauCluster::m_numTotCells
private

Total number of cells in the cluster.

Definition at line 190 of file TrigTauCluster.h.

◆ m_quality

unsigned int TrigCaloCluster::m_quality
protectedinherited

quality of cluster built (to be defined)

Definition at line 142 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

◆ m_rawEnergy

float TrigCaloCluster::m_rawEnergy
protectedinherited

Raw Energy (no calibration)

Definition at line 128 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

◆ m_rawEnergyS

float TrigCaloCluster::m_rawEnergyS[MAXSIZE]
protectedinherited

Raw Energy per sample (upto 25 samples - no calibration)

Definition at line 132 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

◆ m_rawEt

float TrigCaloCluster::m_rawEt
protectedinherited

Raw Et (no calibration)

Definition at line 130 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

◆ m_rawEta

float TrigCaloCluster::m_rawEta
protectedinherited

Raw Eta (no calibration)

Definition at line 134 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

◆ m_rawPhi

float TrigCaloCluster::m_rawPhi
protectedinherited

Raw Phi (no calibration)

Definition at line 136 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

◆ m_roiWord

long TrigCaloCluster::m_roiWord
protectedinherited

◆ m_stripWidth

float TrigTauCluster::m_stripWidth
private

Width in the strip sampling.

Definition at line 192 of file TrigTauCluster.h.

◆ m_stripWidthOffline

float TrigTauCluster::m_stripWidthOffline
private

Width calculated as in Offline tauRec.

Definition at line 194 of file TrigTauCluster.h.

◆ m_valid

bool TrigTauCluster::m_valid
private

Definition at line 204 of file TrigTauCluster.h.


The documentation for this class was generated from the following files:
TrigTauClusterDetails::EMRadius
float EMRadius(int samp) const
get EM Radius per sampling
Definition: TrigTauClusterDetails.h:80
AllowedVariables::e
e
Definition: AsgElectronSelectorTool.cxx:37
TrigCaloCluster::m_numberUsedCells
int m_numberUsedCells
Number of cells used from RoI.
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h:140
TrigCaloCluster::m_rawEt
float m_rawEt
Raw Et (no calibration)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h:130
TrigCaloCluster::m_rawEnergyS
float m_rawEnergyS[MAXSIZE]
Raw Energy per sample (upto 25 samples - no calibration)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h:132
TrigTauCluster::m_EMRadius3S
float m_EMRadius3S
EM Radius 3S.
Definition: TrigTauCluster.h:196
TrigCaloCluster::m_quality
unsigned int m_quality
quality of cluster built (to be defined)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h:142
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:67
TrigTauClusterDetails::HADenergyWide
float HADenergyWide(int samp) const
get HAD Energy in the normalization region (0.3x0.3)
Definition: TrigTauClusterDetails.h:98
TrigTauCluster::phi
float phi() const
get Phi of the cluster
Definition: TrigTauCluster.h:119
TrigTauCluster::clusterDetails
const TrigTauClusterDetails * clusterDetails() const
accessor to TrigTauClusterDetails*
Definition: TrigTauCluster.cxx:156
xAOD::et
et
Definition: TrigEMCluster_v1.cxx:25
TrigTauCluster::m_EMFrac
float m_EMFrac
EM Fraction.
Definition: TrigTauCluster.h:200
TrigCaloCluster::m_rawPhi
float m_rawPhi
Raw Phi (no calibration)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h:136
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:83
TrigTauCluster::m_stripWidth
float m_stripWidth
Width in the strip sampling.
Definition: TrigTauCluster.h:192
TrigTauClusterDetails::EMenergyWide
float EMenergyWide(int samp) const
get EM Energy in the mormalization region (0.3x0.3)
Definition: TrigTauClusterDetails.h:91
TrigTauClusterDetails::EMenergyNarrow
float EMenergyNarrow(int samp) const
get EM Energy in the narrow region (0.1x0.1)
Definition: TrigTauClusterDetails.h:95
PlotCalibFromCool.begin
begin
Definition: PlotCalibFromCool.py:94
TrigCaloCluster::rawPhi
float rawPhi() const
get Raw Phi (no calibration)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h:112
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
TrigTauCluster::m_CaloRadius
float m_CaloRadius
Total Calo Radius.
Definition: TrigTauCluster.h:184
TrigTauCluster::m_valid
bool m_valid
Definition: TrigTauCluster.h:204
xAOD::TauJetParameters::hadRadius
@ hadRadius
Get hadron calorimeter radius.
Definition: TauDefs.h:192
TrigCaloCluster::setRoIword
void setRoIword(long roiword)
set RoI Word
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h:81
TrigTauCluster::m_IsoFrac
float m_IsoFrac
Isolation Fraction.
Definition: TrigTauCluster.h:186
TrigTauClusterDetails::HADenergyMedium
float HADenergyMedium(int samp) const
get HAD Energy in the wide region (0.2x0.2)
Definition: TrigTauClusterDetails.h:100
mergePhysValFiles.end
end
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:93
TrigTauCluster::m_EMRadius2
float m_EMRadius2
EM Radius.
Definition: TrigTauCluster.h:182
TrigTauCluster::m_eCalib
float m_eCalib
Calibrated Energy.
Definition: TrigTauCluster.h:180
ParticleGun_FastCalo_ChargeFlip_Config.energy
energy
Definition: ParticleGun_FastCalo_ChargeFlip_Config.py:78
FullCPAlgorithmsTest_eljob.sample
sample
Definition: FullCPAlgorithmsTest_eljob.py:116
TrigCaloCluster::TrigCaloCluster
TrigCaloCluster(float energy=0.0, float eta=-10.0, float phi=-10.0, long roi_word=0)
Constructor, please note the default values
Definition: TrigCaloCluster.cxx:27
TrigCaloCluster::quality
unsigned int quality() const
get quality of cluster built (to be defined)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h:121
TrigTauCluster::m_CoreFrac
float m_CoreFrac
Core Fraction.
Definition: TrigTauCluster.h:198
TrigCaloCluster
Base Cluster Class.
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h:39
TrigTauCluster::m_HADenergy
float m_HADenergy
HAD Energy.
Definition: TrigTauCluster.h:178
TrigTauCluster::m_numStripCells
int m_numStripCells
Number of fired strips.
Definition: TrigTauCluster.h:188
TrigTauCluster::m_stripWidthOffline
float m_stripWidthOffline
Width calculated as in Offline tauRec.
Definition: TrigTauCluster.h:194
TrigCaloCluster::rawEta
float rawEta() const
get Raw Eta (no calibration)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h:109
TrigCaloCluster::print
void print(void) const
Prints out cluster variables to std::cout
Definition: TrigCaloCluster.cxx:57
TrigTauCluster::m_HadRadius
float m_HadRadius
Hadronic Radius.
Definition: TrigTauCluster.h:202
TrigCaloCluster::m_rawEnergy
float m_rawEnergy
Raw Energy (no calibration)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h:122
TrigTauCluster::eta
float eta() const
get Eta of the cluster
Definition: TrigTauCluster.h:117
TrigCaloCluster::m_roiWord
long m_roiWord
RoI Word.
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h:138
TrigTauClusterDetails::HADenergyWidth
float HADenergyWidth(int samp) const
get Width in HAD samplings
Definition: TrigTauClusterDetails.h:87
fill
void fill(H5::Group &out_file, size_t iterations)
Definition: test-hdf5-writer.cxx:95
WriteBchToCool.beg
beg
Definition: WriteBchToCool.py:69
TrigTauClusterDetails::EMenergyWidth
float EMenergyWidth(int samp) const
get Width in EM samplings
Definition: TrigTauClusterDetails.h:84
DEBUG
#define DEBUG
Definition: page_access.h:11
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
CxxUtils::copy_bounded
auto copy_bounded(const InputRange &input, OutputRange &output) -> decltype(std::begin(output))
Copy a range with bounds restriction.
Definition: copy_bounded.h:102
TrigTauCluster::m_clusterDetails
ElementLink< TrigTauClusterDetailsContainer > m_clusterDetails
ElementLink to TrigTauClusterDetailsContainer.
Definition: TrigTauCluster.h:206
TrigTauClusterDetails::HADenergyNarrow
float HADenergyNarrow(int samp) const
get HAD Energy in the narrow region (0.1x0.1)
Definition: TrigTauClusterDetails.h:102
TrigCaloCluster::m_rawEta
float m_rawEta
Raw Eta (no calibration)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h:134
TrigTauCluster::clusterDetailsLink
const ElementLink< TrigTauClusterDetailsContainer > & clusterDetailsLink() const
Definition: TrigTauCluster.cxx:169
TrigTauClusterDetails::EMenergyMedium
float EMenergyMedium(int samp) const
get EM Energy in the wide region (0.2x0.2)
Definition: TrigTauClusterDetails.h:93
DataVector::size
size_type size() const noexcept
Returns the number of elements in the collection.
TrigTauCluster::m_numTotCells
int m_numTotCells
Total number of cells in the cluster.
Definition: TrigTauCluster.h:190
TrigTauCluster::energy
float energy() const
get Raw Energy
Definition: TrigTauCluster.h:103
TrigCaloCluster::rawEnergy
float rawEnergy() const
get Raw Energy (no calibration)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h:92
TrigTauCluster::m_EMenergy
float m_EMenergy
EM Energy.
Definition: TrigTauCluster.h:176