13#ifndef CALODETECTORELEMENT_H
14#define CALODETECTORELEMENT_H
18#include "Identifier/Identifier.h"
CaloCell_ID::CaloSample CaloSample
Definition of CaloDetDescriptor.
Helper class for offline cell identifiers.
CaloCell_Base_ID::SUBCALO SUBCALO
CaloSampling::CaloSample CaloSample
virtual int getLayer() const
cell layer
float cosPhi() const
for fast px py pz computation
void propagateRaw()
In test beam configurations force XXX=XXX_RAW.
void set_online(const IdentifierHash onl1, const IdentifierHash onl2)
set cell online identifiers (Tile)
float m_dy
cartesian coordinates : delta Y
float sinTh() const
for algorithm working in transverse Energy
float m_x
cartesian coordinates : X
IdentifierHash calo_hash() const
cell calo hash
IdentifierHash m_caloHash
CaloCell_ID::SUBCALO getSubCalo() const
cell subcalo
float m_volume
cell volume
float y_raw() const
cell y_raw
IdentifierHash identifyHash() const override final
cell subcalo hash same as subcalo_hash(), but kept for backward compatibility
bool is_tile() const
cell belongs to Tile
virtual void print() const
print element contents
float m_y
cartesian coordinates : Y
float r_raw() const
cell r_raw
bool is_lar_em() const
cell belongs to EM calorimeter
float eta_raw() const
cell eta_raw
float dphi() const
cell dphi
CaloCell_ID::CaloSample getSampling() const
cell sampling
void set_volume(double volume)
set cell volume
float x_raw() const
cell x_raw
Identifier identify() const override final
cell identifier
CaloDetDescrElement(const IdentifierHash subcaloHash, const IdentifierHash onl1, const IdentifierHash onl2, const CaloDetDescriptor *descriptor)
Constructor.
float eta() const
cell eta
float m_y_raw
cartesian coordinates : Y raw
float m_dx
cartesian coordinates : delta X
float sinPhi() const
for fast px py pz computation
float m_phi
cylindric coordinates : phi
bool is_lar_em_endcap_outer() const
cell belongs to the outer wheel of EM end cap
float phi() const
cell phi
IdentifierHash onl2() const
cell online identifier 2
float m_eta
cylindric coordinates : eta
float m_sinPhi
cache to allow fast px py pz computation
float phi_raw() const
cell phi_raw
float deta() const
cell deta
float m_dz
cartesian coordinates : delta Z
virtual Identifier customID() const
float m_r_raw
cylindric coordinates : r_raw
virtual ~CaloDetDescrElement()
virtual destructor
float m_eta_raw
cylindric coordinates : eta_raw
float m_phi_raw
cylindric coordinates : phi_raw
bool is_lar_em_endcap() const
cell belongs to EM end cap
const CaloDetDescriptor * m_descriptor
bool is_lar_hec() const
cell belongs to HEC
float volume() const
cell volume
float m_sinTh
this one is cached for algorithm working in transverse Energy
float m_dr
cylindric coordinates : delta r
float m_cosPhi
cache to allow fast px py pz computation
float m_r
cylindric coordinates : r
bool is_lar_em_barrel() const
cell belongs to EM barrel
float z_raw() const
cell z_raw
float m_cosTh
this one is cached for algorithm working in transverse Energy
IdentifierHash m_onl2
Tiles need 2 online hashed id.
IdentifierHash subcalo_hash() const
cell subcalo hash
float m_deta
cylindric coordinates : delta eta
bool is_lar_em_endcap_inner() const
cell belongs to the inner wheel of EM end cap
float m_z
cartesian coordinates : Z
bool is_lar_fcal() const
cell belongs to FCAL
float m_x_raw
cartesian coordinates : X raw
CaloCell_ID::CaloSample m_sample
@bried the sampling for this element
CaloDetDescrElement()=delete
Constructor, hidden.
float m_z_raw
cartesian coordinates : Z raw
float cotTh() const
for fast px py pz computation
IdentifierHash m_onl1
Tiles need 2 online hashed id.
const CaloDetDescriptor * descriptor() const
cell descriptor
IdentifierHash onl1() const
cell online identifier 1
float cosTh() const
for fast px py pz computation
float m_dphi
cylindric coordinates : delta phi
This is a base class for LAr and Tile Descriptors The primary goal is to speed up loops over all the ...
This class provides an abstract interface to an Identifiable object.
This is a "hash" representation of an Identifier.