![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
13 #ifndef CALODETDESCR_CALODETDESCRIPTOR_H
14 #define CALODETDESCR_CALODETDESCRIPTOR_H
79 virtual void print()
const;
83 void dump(std::ostream&
os)
const;
247 bool is_in (
double eta_min,
250 double phi_max)
const;
double calo_eta_max() const
'ideal' geometry: eta maximal
CaloCell_ID::CaloSample getSampling() const
get sampling returns the cached CaloSample, if the descriptor contains more than one sampling,...
IdentifierHash identifyHash() const override final
get hash identifier for the region
double m_lar_deta
delta eta (LAr)
Amg::Transform3D m_transform
misalignment transformation
CaloCell_ID::SUBCALO m_calo_num
Subcalo.
void dump(std::ostream &os) const
dump contents to a stream.
double m_lar_reg_max
maximal Abs Eta for LAr region
void setLArRegMin(double reg_min)
Set LAr Region Eta Min.
bool get_cylinder_surface(Amg::Transform3D &htrans, double &radius, double &hphi, double &hlength, double &depth) const
this will be the closest radius of this region
bool m_is_lar_em_endcap_inner
descriptor belongs to the inner wheel of EM end cap
@ depth
pointing depth of the shower as calculated in egammaqgcld
double m_lar_eta_min
minimal Eta for LAr region
CaloCell_ID::SUBCALO getSubCalo() const
get subcalo
bool is_lar_fcal() const
descriptor belongs to FCAL
void get_depth_out(std::vector< double > &calo_depth) const
get vector of out depths
double m_calo_eta_min
minimal Eta (to be defined in the derived classes)
double reg_min() const
eta min and max once misaligned
Scalar phi() const
phi method
void set_transform(const Amg::Transform3D &transform)
Set the transformation matrix.
int phi_channel(double phi) const
channel number for a given eta/phi (if outside returns -1) Should not be used for FCAL
Scalar eta() const
pseudorapidity method
bool m_is_lar_em_endcap
descriptor belongs to EM end cap
void setLArPhiMin(double phi_min)
Set LAr Region Phi Min.
int m_etachan_min
minimal Eta channel number
double dphi() const
delta phi
int n_calo_depth() const
number of calo depths
double m_lar_reg_min
minimal Abs Eta for LAr region
void set_n_calo_depth(int n_calo_depth)
set number of calo depths
bool is_lar_hec() const
descriptor belongs to HEC
void setCaloEtaMin(double eta_min)
Set Eta Min.
void setLArRegMax(double reg_max)
Set LAr Region Eta Max.
int m_lar_n_eta
eta granularity (LAr)
IdentifierHash subcalo_region_hash(const Identifier regionId, int &subCalo) const
create hash id from 'global' region id
int m_n_calo_depth
number of depths
bool is_in(double eta_min, double eta_max, double phi_min, double phi_max) const
check overlap with a given zone in eta and phi (for LAr only)
double calo_phi_min() const
'ideal' geometry: phi minimal
double calo_phi_max() const
'ideal' geometry: phi maximal
bool const RAWDATA *ch2 const
double m_lar_dphi
delta phi (LAr)
bool get_disk_surface(Amg::Transform3D &htrans, double &z, double &rmin, double &rmax, double &hphisec, double &depth) const
(for Trk::Surface)
int eta_channel_raw(double eta) const
channel number for a given eta/phi raw (if outside returns -1).
const AtlasDetectorID * m_helper
Atlas Detector ID helper.
bool is_lar_em_endcap_inner() const
descriptor belongs to the inner wheel of EM end cap
virtual void print() const
print the contents
void setCaloZMin(double z_min)
Set Z Min.
double calo_z_max() const
'ideal' geometry: z maximal
double m_lar_phi_min
minimal Phi for LAr region
IdentifierHash caloCellMin() const
minimal hash identifier for calo cells in the region
IdentifierHash calo_region_hash(const Identifier regionId) const
create hash id from 'global' region id
const CaloCell_Base_ID * m_calo_helper
Calo Cell ID helper.
const CaloCell_Base_ID * get_calo_helper() const
get Calo Cell ID helper
int m_lar_n_phi
phi granularity (LAr)
double lar_phi_min() const
minimal Phi for LAr region
void setCaloEtaMax(double eta_max)
Set Eta Max.
void get_depth_in(std::vector< double > &calo_depth) const
get vector of in depths
bool is_lar_em_endcap_outer() const
descriptor belongs to the outer wheel of EM end cap
int calo_sign() const
'ideal' geometry: calo sign
double calo_z_min() const
'ideal' geometry: z minimal
std::vector< double > m_calo_depth_in
in depths
int n_phi() const
phi granularity
int eta_channel(double eta) const
channel number for a given eta/phi (if outside returns -1).
SUBCALO
enumeration of sub calorimeters
virtual ~CaloDetDescriptor()
virtual detructor
Eigen::Affine3d Transform3D
double m_calo_z_max
maximal Z (to be defined in the derived classes)
int layer() const
get layer
void setCaloZMax(double z_max)
Set Z Max.
double lar_eta_min() const
minimal Eta for LAr region
bool is_lar_em() const
descriptor belongs to EM calorimeter
double m_calo_z_min
minimal Z (to be defined in the derived classes)
bool is_lar_em_barrel() const
descriptor belongs to EM barrel
Helper class for offline cell identifiers.
void set_depth_in(std::vector< double > &calo_depth)
set vector of in depths
double deta() const
delta eta
bool m_is_lar_em_endcap_outer
descriptor belongs to the outer wheel of EM end cap
double m_calo_phi_max
maximal Phi (to be defined in the derived classes)
void setLArEtaMin(double eta_min)
Set LAr Region Phi Max.
Definition of ATLAS Math & Geometry primitives (Amg)
bool is_lar_em_endcap() const
descriptor belongs to EM end cap
std::vector< double > m_calo_depth_out
out depths
CaloCell_ID::CaloSample m_calo_sampl
Calo Sample.
double reg_max() const
eta min and max once misaligned
bool m_is_lar_em_barrel
descriptor belongs to EM barrel
void setCaloPhiMin(double phi_min)
Set Phi Min.
double m_calo_eta_max
maximal Eta (to be defined in the derived classes)
void set_depth_out(std::vector< double > &calo_depth)
set vector of out depths
const Amg::Transform3D & transform() const
Get the current transformation matrix.
double m_calo_r_max
maximal R (to be defined in the derived classes)
Identifier m_id
Region identifier.
CaloDetDescriptor(const Identifier &id, const AtlasDetectorID *helper, const CaloCell_Base_ID *calo_helper, CaloCell_ID::CaloSample sample=CaloCell_ID::Unknown, int layer=CaloCell_ID::NOT_VALID)
Constructor.
double calo_eta_min() const
'ideal' geometry: eta minimal
void setCaloPhiMax(double phi_max)
Set Phi Max.
double m_calo_r_min
minimal R (to be defined in the derived classes)
This is a base class for LAr and Tile Descriptors The primary goal is to speed up loops over all the ...
void set_eta_phi_granularity(int neta, double deta, int nphi, double dphi)
Set Phi granularity.
bool m_is_lar_fcal
descriptor belongs to FCAL
int phi_channel_raw(double phi) const
channel number for a given eta/phi raw (if outside returns -1) Should not be used for FCAL
int n_eta() const
eta granularity
bool m_is_lar_hec
descriptor belongs to HEC
void setCaloRMin(double r_min)
Set R Min.
bool m_is_tile
descriptor belongs to Tile
double m_calo_phi_min
minimal Phi (to be defined in the derived classes)
bool m_is_lar_em
descriptor belongs to EM calorimeter
IdentifierHash calo_hash() const
get calo hash
void setCaloRMax(double r_max)
Set R Max.
double calo_r_max() const
'ideal' geometry: r maximal
Helper base class for offline cell identifiers.
Identifier identify() const override final
get region identifier
bool is_tile() const
descriptor belongs to Tile
IdentifierHash subcalo_hash() const
get subcalo hash
double calo_r_min() const
'ideal' geometry: r minimal
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
IdentifierHash m_calocell_min
minimal hash id of region cells