ATLAS Offline Software
Loading...
Searching...
No Matches
HECDetectorElement Class Reference

LAr HEC Detector Element. More...

#include <CaloDetectorElements.h>

Inheritance diagram for HECDetectorElement:
Collaboration diagram for HECDetectorElement:

Public Member Functions

 HECDetectorElement (const IdentifierHash subcaloHash, const IdentifierHash onl1, const IdentifierHash onl2, const CaloDetDescriptor *descriptor, HECCellConstLink &hecCell, const HECDetectorRegion *hecRegion, bool isTestBeam, const GeoAlignmentStore *geoAlignStore=nullptr, const CaloElementPositionShift *posShift=nullptr)
 Constructor, takes all necessary parameters for the base class constructor plus some specific parameters for this class.
HECCellConstLink getHECCell () const
 HEC Cell description from LArReadoutGeometry.
virtual int getLayer () const override
 get layer
float eta () const
 cell eta
float eta () const
 cell eta
float phi () const
 cell phi
float phi () const
 cell phi
float r () const
 cell r
float r () const
 cell r
float eta_raw () const
 cell eta_raw
float eta_raw () const
 cell eta_raw
float phi_raw () const
 cell phi_raw
float phi_raw () const
 cell phi_raw
float r_raw () const
 cell r_raw
float r_raw () const
 cell r_raw
float dphi () const
 cell dphi
float dphi () const
 cell dphi
float deta () const
 cell deta
float deta () const
 cell deta
float dr () const
 cell dr
float dr () const
 cell dr
float x () const
 cell x
float x () const
 cell x
float y () const
 cell y
float y () const
 cell y
float z () const
 cell z
float z () const
 cell z
float x_raw () const
 cell x_raw
float x_raw () const
 cell x_raw
float y_raw () const
 cell y_raw
float y_raw () const
 cell y_raw
float z_raw () const
 cell z_raw
float z_raw () const
 cell z_raw
float dx () const
 cell dx
float dx () const
 cell dx
float dy () const
 cell dy
float dy () const
 cell dy
float dz () const
 cell dz
float dz () const
 cell dz
float volume () const
 cell volume
float sinTh () const
 for algorithm working in transverse Energy
float cosTh () const
 for fast px py pz computation
float cotTh () const
 for fast px py pz computation
float sinPhi () const
 for fast px py pz computation
float cosPhi () const
 for fast px py pz computation
void set_volume (double volume)
 set cell volume
void set_online (const IdentifierHash onl1, const IdentifierHash onl2)
 set cell online identifiers (Tile)
Identifier identify () const override final
 cell identifier
Identifier identify () const
 cell identifier
IdentifierHash onl1 () const
 cell online identifier 1
IdentifierHash onl2 () const
 cell online identifier 2
IdentifierHash calo_hash () const
 cell calo hash
unsigned long long calo_hash () const
IdentifierHash subcalo_hash () const
 cell subcalo hash
IdentifierHash identifyHash () const override final
 cell subcalo hash same as subcalo_hash(), but kept for backward compatibility
const CaloDetDescriptordescriptor () const
 cell descriptor
virtual void print () const
 print element contents
CaloCell_ID::CaloSample getSampling () const
 cell sampling
int getSampling () const
CaloCell_ID::SUBCALO getSubCalo () const
 cell subcalo
bool is_lar_em () const
 cell belongs to EM calorimeter
bool is_lar_em_barrel () const
 cell belongs to EM barrel
bool is_lar_em_endcap () const
 cell belongs to EM end cap
bool is_lar_em_endcap_inner () const
 cell belongs to the inner wheel of EM end cap
bool is_lar_em_endcap_outer () const
 cell belongs to the outer wheel of EM end cap
bool is_lar_hec () const
 cell belongs to HEC
bool is_lar_fcal () const
 cell belongs to FCAL
bool is_tile () const
 cell belongs to Tile
virtual const IdHelpergetHelper () const

Public Attributes

long long m_identify
long long m_hash_id
int m_calosample

Protected Member Functions

void propagateRaw ()
 In test beam configurations force XXX=XXX_RAW.
virtual Identifier customID () const

Protected Attributes

float m_eta
 cylindric coordinates : eta
float m_phi
 cylindric coordinates : phi
float m_sinTh
 this one is cached for algorithm working in transverse Energy
float m_cosTh
 this one is cached for algorithm working in transverse Energy
float m_deta
 cylindric coordinates : delta eta
float m_dphi
 cylindric coordinates : delta phi
float m_volume
 cell volume
float m_sinPhi
 cache to allow fast px py pz computation
float m_cosPhi
 cache to allow fast px py pz computation
float m_r
 cylindric coordinates : r
float m_eta_raw
 cylindric coordinates : eta_raw
float m_phi_raw
 cylindric coordinates : phi_raw
float m_r_raw
 cylindric coordinates : r_raw
float m_dr
 cylindric coordinates : delta r
float m_x
 cartesian coordinates : X
float m_y
 cartesian coordinates : Y
float m_z
 cartesian coordinates : Z
float m_x_raw
 cartesian coordinates : X raw
float m_y_raw
 cartesian coordinates : Y raw
float m_z_raw
 cartesian coordinates : Z raw
float m_dx
 cartesian coordinates : delta X
float m_dy
 cartesian coordinates : delta Y
float m_dz
 cartesian coordinates : delta Z
CaloCell_ID::CaloSample m_sample =CaloCell_ID::Unknown
 @bried the sampling for this element
IdentifierHash m_onl1
 Tiles need 2 online hashed id.
IdentifierHash m_onl2
 Tiles need 2 online hashed id.

Private Member Functions

 HECDetectorElement ()=delete
 default constructor hidden
HECDetectorElementoperator= (const HECDetectorElement &right)=delete
 copy constructor hidden
void init_description (bool isTestBeam, const GeoAlignmentStore *geoAlignStore, const CaloElementPositionShift *posShift)
 initialize base description
void init_interpretation ()
 Fill all missing fields of CaloDetDescrElement which have not been filled by init_description()

Private Attributes

HECCellConstLink m_cell
 HEC Cell description from LArReadoutGeometry.
const HECDetectorRegionm_region
 HEC Region description from LArReadoutGeometry.
const CaloDetDescriptorm_descriptor
IdentifierHash m_caloHash

Detailed Description

LAr HEC Detector Element.

Definition at line 188 of file CaloDetectorElements.h.

Constructor & Destructor Documentation

◆ HECDetectorElement() [1/2]

HECDetectorElement::HECDetectorElement ( const IdentifierHash subcaloHash,
const IdentifierHash onl1,
const IdentifierHash onl2,
const CaloDetDescriptor * descriptor,
HECCellConstLink & hecCell,
const HECDetectorRegion * hecRegion,
bool isTestBeam,
const GeoAlignmentStore * geoAlignStore = nullptr,
const CaloElementPositionShift * posShift = nullptr )

Constructor, takes all necessary parameters for the base class constructor plus some specific parameters for this class.

Parameters
subcaloHash[IN] for the base class
onl1[IN] for the base class
onl2[IN] for the base class
descriptor[IN] for the base class
hecCell[IN] HEC Cell description from LArReadoutGeometry
hecRegion[IN] HEC Region description from LArReadoutGeometry

Definition at line 277 of file CaloDetectorElements.cxx.

287 , m_cell(hecCell)
288 , m_region(hecRegion)
289{
290 init_description(isTestBeam,geoAlignStore,posShift);
292
293 if(isTestBeam)
294 propagateRaw();
295}
void propagateRaw()
In test beam configurations force XXX=XXX_RAW.
IdentifierHash onl2() const
cell online identifier 2
CaloDetDescrElement()=delete
Constructor, hidden.
const CaloDetDescriptor * descriptor() const
cell descriptor
IdentifierHash onl1() const
cell online identifier 1
HECCellConstLink m_cell
HEC Cell description from LArReadoutGeometry.
void init_description(bool isTestBeam, const GeoAlignmentStore *geoAlignStore, const CaloElementPositionShift *posShift)
initialize base description
void init_interpretation()
Fill all missing fields of CaloDetDescrElement which have not been filled by init_description()
const HECDetectorRegion * m_region
HEC Region description from LArReadoutGeometry.

◆ HECDetectorElement() [2/2]

HECDetectorElement::HECDetectorElement ( )
privatedelete

default constructor hidden

Member Function Documentation

◆ calo_hash() [1/2]

unsigned long long CaloDetDescrElement::calo_hash ( ) const
inlineinherited

◆ calo_hash() [2/2]

unsigned long long CaloDetDescrElement::calo_hash ( ) const
inherited

◆ cosPhi()

float CaloDetDescrElement::cosPhi ( ) const
inlineinherited

for fast px py pz computation

Definition at line 391 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

392{ return m_cosPhi;}
float m_cosPhi
cache to allow fast px py pz computation

◆ cosTh()

float CaloDetDescrElement::cosTh ( ) const
inlineinherited

for fast px py pz computation

Definition at line 385 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

386{ return m_cosTh;}
float m_cosTh
this one is cached for algorithm working in transverse Energy

◆ cotTh()

float CaloDetDescrElement::cotTh ( ) const
inlineinherited

for fast px py pz computation

Definition at line 387 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

388{ return m_cosTh/m_sinTh;}
float m_sinTh
this one is cached for algorithm working in transverse Energy

◆ customID()

Identifier CaloDetDescrElement::customID ( ) const
protectedvirtualinherited

Reimplemented in MbtsDetectorElement.

Definition at line 164 of file CaloDetDescrElement.cxx.

165{
166 return {};
167}

◆ descriptor()

const CaloDetDescriptor * CaloDetDescrElement::descriptor ( ) const
inlineinherited

◆ deta() [1/2]

float CaloDetDescrElement::deta ( ) const
inlineinherited

cell deta

Definition at line 356 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

357{ return m_deta;}

◆ deta() [2/2]

float CaloDetDescrElement::deta ( ) const
inherited

cell deta

◆ dphi() [1/2]

float CaloDetDescrElement::dphi ( ) const
inlineinherited

cell dphi

Definition at line 358 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

359{ return m_dphi;}

◆ dphi() [2/2]

float CaloDetDescrElement::dphi ( ) const
inherited

cell dphi

◆ dr() [1/2]

float CaloDetDescrElement::dr ( ) const
inlineinherited

cell dr

Definition at line 360 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

361{ return m_dr;}

◆ dr() [2/2]

float CaloDetDescrElement::dr ( ) const
inherited

cell dr

◆ dx() [1/2]

float CaloDetDescrElement::dx ( ) const
inlineinherited

cell dx

Definition at line 375 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

376{ return m_dx;}

◆ dx() [2/2]

float CaloDetDescrElement::dx ( ) const
inherited

cell dx

◆ dy() [1/2]

float CaloDetDescrElement::dy ( ) const
inlineinherited

cell dy

Definition at line 377 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

378{ return m_dy;}

◆ dy() [2/2]

float CaloDetDescrElement::dy ( ) const
inherited

cell dy

◆ dz() [1/2]

float CaloDetDescrElement::dz ( ) const
inlineinherited

cell dz

Definition at line 379 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

380{ return m_dz;}

◆ dz() [2/2]

float CaloDetDescrElement::dz ( ) const
inherited

cell dz

◆ eta() [1/2]

float CaloDetDescrElement::eta ( ) const
inlineinherited

cell eta

Definition at line 344 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

345{ return m_eta;}

◆ eta() [2/2]

float CaloDetDescrElement::eta ( ) const
inherited

cell eta

◆ eta_raw() [1/2]

float CaloDetDescrElement::eta_raw ( ) const
inlineinherited

cell eta_raw

Definition at line 350 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

351{ return m_eta_raw;}

◆ eta_raw() [2/2]

float CaloDetDescrElement::eta_raw ( ) const
inherited

cell eta_raw

◆ getHECCell()

HECCellConstLink HECDetectorElement::getHECCell ( ) const
inline

HEC Cell description from LArReadoutGeometry.

Definition at line 214 of file CaloDetectorElements.h.

214{return m_cell;}

◆ getHelper()

const IdHelper * Identifiable::getHelper ( ) const
virtualinherited

Definition at line 18 of file Identifiable.cxx.

18 {
19 return (nullptr);
20}

◆ getLayer()

int HECDetectorElement::getLayer ( ) const
overridevirtual

get layer

Reimplemented from CaloDetDescrElement.

Definition at line 404 of file CaloDetectorElements.cxx.

405{
406 return m_region->getSamplingIndex();
407}

◆ getSampling() [1/2]

int CaloDetDescrElement::getSampling ( ) const
inlineinherited

cell sampling

Definition at line 395 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

396{
397 return m_sample;
398}
CaloCell_ID::CaloSample m_sample
@bried the sampling for this element

◆ getSampling() [2/2]

int CaloDetDescrElement::getSampling ( ) const
inherited

◆ getSubCalo()

CaloCell_ID::SUBCALO CaloDetDescrElement::getSubCalo ( ) const
inlineinherited

cell subcalo

Definition at line 433 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

434{
435 if(m_descriptor)
436 return m_descriptor->getSubCalo();
437 else
439}

◆ identify() [1/2]

Identifier CaloDetDescrElement::identify ( ) const
virtualinherited

cell identifier

Implements Identifiable.

◆ identify() [2/2]

Identifier CaloDetDescrElement::identify ( ) const
inlinefinaloverridevirtualinherited

cell identifier

Implements Identifiable.

Definition at line 63 of file CaloDetDescrElement.cxx.

64{
65 if(m_descriptor){
66 return (m_descriptor->get_calo_helper())->cell_id(calo_hash());
67 }
68 else{ // MBTS
69 return (customID());
70 }
71}
virtual Identifier customID() const

◆ identifyHash()

IdentifierHash CaloDetDescrElement::identifyHash ( ) const
inlinefinaloverridevirtualinherited

cell subcalo hash same as subcalo_hash(), but kept for backward compatibility

Reimplemented from Identifiable.

Definition at line 424 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

425{ return subcalo_hash(); }

◆ init_description()

void HECDetectorElement::init_description ( bool isTestBeam,
const GeoAlignmentStore * geoAlignStore,
const CaloElementPositionShift * posShift )
private

initialize base description

Definition at line 297 of file CaloDetectorElements.cxx.

300{
301 // take PHI_RAW from LAr Readout geometry and use it xor calculations of x_loc and y_loc
302 m_phi_raw = static_cast<float> ((m_cell->getPhiLocalLower() + m_cell->getPhiLocalUpper())/2.);
303
304 m_eta_raw = static_cast<float> ((m_cell->getEtaMaxNominal() + m_cell->getEtaMinNominal())/2.);
305 if(m_cell->getEndcapIndex()==0)
306 m_eta_raw *= -1;
307
308 double x_loc, y_loc, z_loc, r_loc;
309 r_loc = (m_cell->getRMaxLocalNominal(HECCell::CENTER) + m_cell->getRMinLocalNominal(HECCell::CENTER))/2.;
310 z_loc = m_cell->getZLocal(HECCell::CENTER);
311
312
313 const Amg::Transform3D &xfDef = m_region->getDefAbsoluteTransform(geoAlignStore);
314
315 // we need to apply the famous ZShift.
316 Amg::Transform3D xfNominal;
317 if(m_cell->getEndcapIndex()==0)
318 xfNominal = Amg::Translation3D(Amg::Vector3D(0.,0.,m_region->getProjectivityDisplacement()*Gaudi::Units::cm))*xfDef; // Negative HEC
319 else
320 xfNominal = Amg::Translation3D(Amg::Vector3D(0.,0.,-m_region->getProjectivityDisplacement()*Gaudi::Units::cm))*xfDef; // Positive HEC
321
322 if(isTestBeam){
323 xfNominal = Amg::Translation3D(Amg::Vector3D(0.,0., 4277.*Gaudi::Units::mm));
324 }
325
326 const Amg::Transform3D &xfAbs = m_region->getAbsoluteTransform(geoAlignStore);
327
328 x_loc = r_loc*std::cos(m_phi_raw);
329 y_loc = r_loc*std::sin(m_phi_raw);
330
331 Amg::Vector3D globalNomCoords = xfNominal*Amg::Vector3D(x_loc,y_loc,z_loc);
332 Amg::Vector3D globalAbsCoords = (posShift!=nullptr ?
333 xfAbs*Amg::Vector3D(x_loc+posShift->dx,y_loc+posShift->dy,z_loc+posShift->dz) :
334 xfAbs*Amg::Vector3D(x_loc,y_loc,z_loc));
335
336 m_x_raw = static_cast<float> (globalNomCoords.x());
337 m_y_raw = static_cast<float> (globalNomCoords.y());
338 m_z_raw = static_cast<float> (globalNomCoords.z());
339
340 m_x = static_cast<float> (globalAbsCoords.x());
341 m_y = static_cast<float> (globalAbsCoords.y());
342 m_z = static_cast<float> (globalAbsCoords.z());
343
344
345 const double r_raw= std::sqrt(globalNomCoords.x()*globalNomCoords.x()+globalNomCoords.y()*globalNomCoords.y());
346 m_r_raw = static_cast<float> (r_raw);
347
348 const double r = std::sqrt(globalAbsCoords.x()*globalAbsCoords.x()+globalAbsCoords.y()*globalAbsCoords.y());
349 m_r=static_cast<float>(r);
350
351
352 if (r>0) {
353 const double big_r = std::sqrt(globalAbsCoords.x()*globalAbsCoords.x()+globalAbsCoords.y()*globalAbsCoords.y()+globalAbsCoords.z()*globalAbsCoords.z());
354 const double inv_r = 1. / r;
355 const double inv_big_r = 1. / big_r;
356 m_eta = static_cast<float> (-std::log((big_r-globalAbsCoords.z()) * inv_r));
357 m_sinTh = static_cast<float> (r * inv_big_r);
358 m_cosTh = static_cast<float> (globalAbsCoords.z() * inv_big_r);
359 m_cosPhi=globalAbsCoords.x() * inv_r;
360 m_sinPhi=globalAbsCoords.y() * inv_r;
361 }
362 else {
363 m_eta = 0.;
364 m_sinTh = 0.;
365 }
366
367 m_phi = static_cast<float> (std::atan2(globalAbsCoords.y(),globalAbsCoords.x()));
368
369 m_deta = static_cast<float> (m_cell->getEtaMaxNominal() - m_cell->getEtaMinNominal());
370 m_dphi = static_cast<float> (std::abs(m_cell->getPhiLocalUpper() - m_cell->getPhiLocalLower()));
371 m_dz = static_cast<float> (std::abs(m_cell->getZLocal(HECCell::FRONT)-m_cell->getZLocal(HECCell::BACK))/2.);
372
373 // -- from CaloDDE --
374 m_dx = 0.;
375 m_dy = 0.;
376 m_dr = 0.;
377 // -- from CaloDDE --
378}
Eigen::Matrix< double, 3, 1 > Vector3D
float m_sinPhi
cache to allow fast px py pz computation
@ BACK
Definition HECCell.h:34
@ FRONT
Definition HECCell.h:34
@ CENTER
Definition HECCell.h:34
Eigen::Affine3d Transform3D
Eigen::Matrix< double, 3, 1 > Vector3D
Eigen::Translation< double, 3 > Translation3D

◆ init_interpretation()

void HECDetectorElement::init_interpretation ( )
private

Fill all missing fields of CaloDetDescrElement which have not been filled by init_description()

Definition at line 380 of file CaloDetectorElements.cxx.

381{
382 // Interpretation of PHI coming from LAr Readout Geometry
383 if(m_cell->getEndcapIndex()==1)
384 { // Positive HEC
385 if(m_cell->getPhiLocalUpper()<M_PI)
386 m_phi_raw = static_cast<float> ((m_cell->getPhiLocalLower() + m_cell->getPhiLocalUpper())/2.);
387 else
388 m_phi_raw = static_cast<float> ((m_cell->getPhiLocalLower() + m_cell->getPhiLocalUpper())/2. - 2.0*M_PI);
389 }
390 else
391 { // Negative HEC
392 if(m_cell->getPhiLocalLower()<0)
393 m_phi_raw = static_cast<float> (-M_PI - (m_cell->getPhiLocalLower() + m_cell->getPhiLocalUpper())/2.);
394 else
395 m_phi_raw = static_cast<float> (M_PI - (m_cell->getPhiLocalLower() + m_cell->getPhiLocalUpper())/2.);
396 }
397
398 if(m_phi_raw>M_PI)
399 m_phi_raw = static_cast<float> (m_phi_raw - (2.0*M_PI));
400 else if(m_phi_raw<-M_PI)
401 m_phi_raw = static_cast<float> (m_phi_raw + (2.0*M_PI));
402}
#define M_PI

◆ is_lar_em()

bool CaloDetDescrElement::is_lar_em ( ) const
inherited

cell belongs to EM calorimeter

Definition at line 89 of file CaloDetDescrElement.cxx.

90{
91 if(m_descriptor){
92 return m_descriptor->is_lar_em();
93 }
94 return false;
95}

◆ is_lar_em_barrel()

bool CaloDetDescrElement::is_lar_em_barrel ( ) const
inherited

cell belongs to EM barrel

Definition at line 97 of file CaloDetDescrElement.cxx.

98{
99 if(m_descriptor){
100 return m_descriptor->is_lar_em_barrel();
101 }
102 return false;
103}

◆ is_lar_em_endcap()

bool CaloDetDescrElement::is_lar_em_endcap ( ) const
inherited

cell belongs to EM end cap

Definition at line 105 of file CaloDetDescrElement.cxx.

106{
107 if(m_descriptor){
108 return m_descriptor->is_lar_em_endcap();
109 }
110 return false;
111}

◆ is_lar_em_endcap_inner()

bool CaloDetDescrElement::is_lar_em_endcap_inner ( ) const
inherited

cell belongs to the inner wheel of EM end cap

Definition at line 113 of file CaloDetDescrElement.cxx.

114{
115 if(m_descriptor){
116 return m_descriptor->is_lar_em_endcap_inner();
117 }
118 return false;
119}

◆ is_lar_em_endcap_outer()

bool CaloDetDescrElement::is_lar_em_endcap_outer ( ) const
inherited

cell belongs to the outer wheel of EM end cap

Definition at line 121 of file CaloDetDescrElement.cxx.

122{
123 if(m_descriptor){
124 return m_descriptor->is_lar_em_endcap_outer();
125 }
126 return false;
127}

◆ is_lar_fcal()

bool CaloDetDescrElement::is_lar_fcal ( ) const
inherited

cell belongs to FCAL

Definition at line 137 of file CaloDetDescrElement.cxx.

138{
139 if(m_descriptor){
140 return m_descriptor->is_lar_fcal();
141 }
142 return false;
143}

◆ is_lar_hec()

bool CaloDetDescrElement::is_lar_hec ( ) const
inherited

cell belongs to HEC

Definition at line 129 of file CaloDetDescrElement.cxx.

130{
131 if(m_descriptor){
132 return m_descriptor->is_lar_hec();
133 }
134 return false;
135}

◆ is_tile()

bool CaloDetDescrElement::is_tile ( ) const
inlineinherited

cell belongs to Tile

Definition at line 442 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

443{
444 if(m_descriptor)
445 return m_descriptor->is_tile();
446 else
447 return false;
448}

◆ onl1()

IdentifierHash CaloDetDescrElement::onl1 ( ) const
inlineinherited

cell online identifier 1

Definition at line 404 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

405{ return m_onl1; }
IdentifierHash m_onl1
Tiles need 2 online hashed id.

◆ onl2()

IdentifierHash CaloDetDescrElement::onl2 ( ) const
inlineinherited

cell online identifier 2

Definition at line 408 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

409{ return m_onl2; }
IdentifierHash m_onl2
Tiles need 2 online hashed id.

◆ operator=()

HECDetectorElement & HECDetectorElement::operator= ( const HECDetectorElement & right)
privatedelete

copy constructor hidden

◆ phi() [1/2]

float CaloDetDescrElement::phi ( ) const
inlineinherited

cell phi

Definition at line 346 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

347{ return m_phi;}

◆ phi() [2/2]

float CaloDetDescrElement::phi ( ) const
inherited

cell phi

◆ phi_raw() [1/2]

float CaloDetDescrElement::phi_raw ( ) const
inlineinherited

cell phi_raw

Definition at line 352 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

353{ return m_phi_raw;}

◆ phi_raw() [2/2]

float CaloDetDescrElement::phi_raw ( ) const
inherited

cell phi_raw

◆ print()

void CaloDetDescrElement::print ( ) const
virtualinherited

print element contents

Definition at line 74 of file CaloDetDescrElement.cxx.

75{
76 std::cout << std::endl << " CaloDetDescrElement print: "
77 << std::endl << std::endl;
78
79 std::cout << "Eta = " << m_eta << std::endl;
80 std::cout << "Phi = " << m_phi << std::endl;
81 std::cout << "r = " << m_r << std::endl;
82}

◆ propagateRaw()

void CaloDetDescrElement::propagateRaw ( )
protectedinherited

In test beam configurations force XXX=XXX_RAW.

Definition at line 153 of file CaloDetDescrElement.cxx.

154{
155 m_x = m_x_raw;
156 m_y = m_y_raw;
157 m_z = m_z_raw;
158
161 m_r = m_r_raw;
162}

◆ r() [1/2]

float CaloDetDescrElement::r ( ) const
inlineinherited

cell r

Definition at line 348 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

349{ return m_r;}

◆ r() [2/2]

float CaloDetDescrElement::r ( ) const
inherited

cell r

◆ r_raw() [1/2]

float CaloDetDescrElement::r_raw ( ) const
inlineinherited

cell r_raw

Definition at line 354 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

355{ return m_r_raw;}

◆ r_raw() [2/2]

float CaloDetDescrElement::r_raw ( ) const
inherited

cell r_raw

◆ set_online()

void CaloDetDescrElement::set_online ( const IdentifierHash onl1,
const IdentifierHash onl2 )
inherited

set cell online identifiers (Tile)

Definition at line 146 of file CaloDetDescrElement.cxx.

148{
149 m_onl1 = onl1;
150 m_onl2 = onl2;
151}

◆ set_volume()

void CaloDetDescrElement::set_volume ( double volume)
inlineinherited

◆ sinPhi()

float CaloDetDescrElement::sinPhi ( ) const
inlineinherited

for fast px py pz computation

Definition at line 389 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

390{ return m_sinPhi;}

◆ sinTh()

float CaloDetDescrElement::sinTh ( ) const
inlineinherited

for algorithm working in transverse Energy

Definition at line 383 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

384{ return m_sinTh;}

◆ subcalo_hash()

IdentifierHash CaloDetDescrElement::subcalo_hash ( ) const
inlineinherited

cell subcalo hash

Definition at line 418 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

419{ return m_descriptor ?
420 IdentifierHash(m_caloHash - m_descriptor->caloCellMin()) :
421 m_caloHash;}

◆ volume()

float CaloDetDescrElement::volume ( ) const
inlineinherited

cell volume

Definition at line 381 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

382{ return m_volume;}

◆ x() [1/2]

float CaloDetDescrElement::x ( ) const
inlineinherited

cell x

Definition at line 363 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

364{ return m_x;}

◆ x() [2/2]

float CaloDetDescrElement::x ( ) const
inherited

cell x

◆ x_raw() [1/2]

float CaloDetDescrElement::x_raw ( ) const
inlineinherited

cell x_raw

Definition at line 369 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

370{ return m_x_raw;}

◆ x_raw() [2/2]

float CaloDetDescrElement::x_raw ( ) const
inherited

cell x_raw

◆ y() [1/2]

float CaloDetDescrElement::y ( ) const
inlineinherited

cell y

Definition at line 365 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

366{ return m_y;}

◆ y() [2/2]

float CaloDetDescrElement::y ( ) const
inherited

cell y

◆ y_raw() [1/2]

float CaloDetDescrElement::y_raw ( ) const
inlineinherited

cell y_raw

Definition at line 371 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

372{ return m_y_raw;}

◆ y_raw() [2/2]

float CaloDetDescrElement::y_raw ( ) const
inherited

cell y_raw

◆ z() [1/2]

float CaloDetDescrElement::z ( ) const
inlineinherited

cell z

Definition at line 367 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

368{ return m_z;}

◆ z() [2/2]

float CaloDetDescrElement::z ( ) const
inherited

cell z

◆ z_raw() [1/2]

float CaloDetDescrElement::z_raw ( ) const
inlineinherited

cell z_raw

Definition at line 373 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

374{ return m_z_raw;}

◆ z_raw() [2/2]

float CaloDetDescrElement::z_raw ( ) const
inherited

cell z_raw

Member Data Documentation

◆ m_caloHash

IdentifierHash CaloDetDescrElement::m_caloHash
privateinherited

◆ m_calosample

int CaloDetDescrElement::m_calosample
inherited

◆ m_cell

HECCellConstLink HECDetectorElement::m_cell
private

HEC Cell description from LArReadoutGeometry.

Definition at line 225 of file CaloDetectorElements.h.

◆ m_cosPhi

float CaloDetDescrElement::m_cosPhi
protectedinherited

cache to allow fast px py pz computation

Definition at line 279 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

◆ m_cosTh

float CaloDetDescrElement::m_cosTh
protectedinherited

this one is cached for algorithm working in transverse Energy

Definition at line 260 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

◆ m_descriptor

const CaloDetDescriptor* CaloDetDescrElement::m_descriptor
privateinherited

◆ m_deta

float CaloDetDescrElement::m_deta
protectedinherited

cylindric coordinates : delta eta

Definition at line 264 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

◆ m_dphi

float CaloDetDescrElement::m_dphi
protectedinherited

cylindric coordinates : delta phi

Definition at line 267 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

◆ m_dr

float CaloDetDescrElement::m_dr
protectedinherited

cylindric coordinates : delta r

Definition at line 295 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

◆ m_dx

float CaloDetDescrElement::m_dx
protectedinherited

cartesian coordinates : delta X

Definition at line 317 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

◆ m_dy

float CaloDetDescrElement::m_dy
protectedinherited

cartesian coordinates : delta Y

Definition at line 320 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

◆ m_dz

float CaloDetDescrElement::m_dz
protectedinherited

cartesian coordinates : delta Z

Definition at line 323 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

◆ m_eta

float CaloDetDescrElement::m_eta
protectedinherited

cylindric coordinates : eta

Definition at line 249 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

◆ m_eta_raw

float CaloDetDescrElement::m_eta_raw
protectedinherited

cylindric coordinates : eta_raw

Definition at line 286 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

◆ m_hash_id

long long CaloDetDescrElement::m_hash_id
inherited

◆ m_identify

long long CaloDetDescrElement::m_identify
inherited

◆ m_onl1

IdentifierHash CaloDetDescrElement::m_onl1
protectedinherited

Tiles need 2 online hashed id.

Definition at line 331 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

◆ m_onl2

IdentifierHash CaloDetDescrElement::m_onl2
protectedinherited

Tiles need 2 online hashed id.

Definition at line 334 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

◆ m_phi

float CaloDetDescrElement::m_phi
protectedinherited

cylindric coordinates : phi

Definition at line 252 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

◆ m_phi_raw

float CaloDetDescrElement::m_phi_raw
protectedinherited

cylindric coordinates : phi_raw

Definition at line 289 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

◆ m_r

float CaloDetDescrElement::m_r
protectedinherited

cylindric coordinates : r

Definition at line 283 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

◆ m_r_raw

float CaloDetDescrElement::m_r_raw
protectedinherited

cylindric coordinates : r_raw

Definition at line 292 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

◆ m_region

const HECDetectorRegion* HECDetectorElement::m_region
private

HEC Region description from LArReadoutGeometry.

Definition at line 229 of file CaloDetectorElements.h.

◆ m_sample

CaloCell_ID::CaloSample CaloDetDescrElement::m_sample =CaloCell_ID::Unknown
protectedinherited

@bried the sampling for this element

Definition at line 327 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

◆ m_sinPhi

float CaloDetDescrElement::m_sinPhi
protectedinherited

cache to allow fast px py pz computation

Definition at line 275 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

◆ m_sinTh

float CaloDetDescrElement::m_sinTh
protectedinherited

this one is cached for algorithm working in transverse Energy

Definition at line 256 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

◆ m_volume

float CaloDetDescrElement::m_volume
protectedinherited

cell volume

cylindric coordinates : r

Definition at line 271 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

◆ m_x

float CaloDetDescrElement::m_x
protectedinherited

cartesian coordinates : X

Definition at line 299 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

◆ m_x_raw

float CaloDetDescrElement::m_x_raw
protectedinherited

cartesian coordinates : X raw

Definition at line 308 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

◆ m_y

float CaloDetDescrElement::m_y
protectedinherited

cartesian coordinates : Y

Definition at line 302 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

◆ m_y_raw

float CaloDetDescrElement::m_y_raw
protectedinherited

cartesian coordinates : Y raw

Definition at line 311 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

◆ m_z

float CaloDetDescrElement::m_z
protectedinherited

cartesian coordinates : Z

Definition at line 305 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.

◆ m_z_raw

float CaloDetDescrElement::m_z_raw
protectedinherited

cartesian coordinates : Z raw

Definition at line 314 of file Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h.


The documentation for this class was generated from the following files: