|
ATLAS Offline Software
|
Go to the documentation of this file.
16 #include "CLHEP/Units/SystemOfUnits.h"
28 return StatusCode::SUCCESS;
43 Context myctx = context (Gaudi::Hive::currentContext());
46 const double log2 = 0.69314718056;
47 const double inv_log2 = 1. / log2;
53 double ecell = thisCell->
e();
54 double etaa = fabs( thisCell->
eta() );
59 if( fabs(ecell) > 0 && vol > 0 ) {
60 iET=
static_cast<int>(
log(fabs(ecell)/fabs(vol)*(
mm3/
GeV))*inv_log2+26);
62 if(iET >=
dim) iET =
dim-1;
94 if(iET >= 0 && etaa < 0.8) wt =
m_wtEMB1(myctx)[iET];
95 if(iET >= 0 && etaa >= 0.8) wt =
m_wtEMB2(myctx)[iET];
101 if(iET >= 0 && etaa < 2.5) wt =
m_wtEME1(myctx)[iET];
102 if(iET >= 0 && etaa >= 2.5) wt =
m_wtEME2(myctx)[iET];
123 if(iET>=0 && etaa<2.5) wt =
m_wtHec1(myctx)[iET];
124 if(iET>=0 && etaa>=2.5) wt =
m_wtHec2(myctx)[iET];
148 case CaloSampling::MINIFCAL0:
149 case CaloSampling::MINIFCAL1:
150 case CaloSampling::MINIFCAL2:
151 case CaloSampling::MINIFCAL3:
165 if( etAccb3*etTile1 > 0 ) {
166 return wtCryo() * sqrt( etAccb3*etTile1 );
175 Context myctx = context (Gaudi::Hive::currentContext());
183 Context myctx = context (Gaudi::Hive::currentContext());
190 int ieta =
static_cast<int>(fabs(
eta)*(1./0.10));
194 if(ptlog < 2.3) ptlog = 2.3;
195 if(ptlog > etaFit[ieta][4]) ptlog = etaFit[ieta][4];
196 double func = etaFit[ieta][0] + etaFit[ieta][1]/ptlog
197 + etaFit[ieta][2]/(ptlog*ptlog)
198 + etaFit[ieta][3]/(ptlog*ptlog*ptlog);
constexpr unsigned nEtaBins
Scalar eta() const
pseudorapidity method
unsigned int size(unsigned int dim=0) const
Return the size of the array along one dimension.
virtual double e() const override final
get energy (data member) (synonym to method energy()
::StatusCode StatusCode
StatusCode definition for legacy code.
const CaloDetDescrElement * caloDDE() const
get pointer to CaloDetDescrElement (data member)
virtual double et() const override final
get et
float volume() const
cell volume
Data object for each calorimeter readout cell.
CaloCell_ID::CaloSample getSampling() const
cell sampling
virtual double eta() const override final
get eta (through CaloDetDescrElement)