|
ATLAS Offline Software
|
LAr FCAL Descriptor.
More...
#include <CaloDescriptors.h>
|
| FCALDescriptor (const Identifier &id, const AtlasDetectorID *helper, const CaloCell_ID *calo_helper, const FCALModule *fcalModule, const GeoAlignmentStore *alignStore=nullptr) |
| Constructor. More...
|
|
virtual | ~FCALDescriptor () |
| Destructor. More...
|
|
virtual void | print () const |
| print the contents More...
|
|
void | dump (std::ostream &os) const |
| dump contents to a stream. More...
|
|
void | set_n_calo_depth (int n_calo_depth) |
| set number of calo depths More...
|
|
void | set_depth_in (std::vector< double > &calo_depth) |
| set vector of in depths More...
|
|
void | set_depth_out (std::vector< double > &calo_depth) |
| set vector of out depths More...
|
|
bool | is_lar_em () const |
| descriptor belongs to EM calorimeter More...
|
|
bool | is_lar_em_barrel () const |
| descriptor belongs to EM barrel More...
|
|
bool | is_lar_em_endcap () const |
| descriptor belongs to EM end cap More...
|
|
bool | is_lar_em_endcap_inner () const |
| descriptor belongs to the inner wheel of EM end cap More...
|
|
bool | is_lar_em_endcap_outer () const |
| descriptor belongs to the outer wheel of EM end cap More...
|
|
bool | is_lar_hec () const |
| descriptor belongs to HEC More...
|
|
bool | is_lar_fcal () const |
| descriptor belongs to FCAL More...
|
|
bool | is_tile () const |
| descriptor belongs to Tile More...
|
|
CaloCell_ID::CaloSample | getSampling (IdentifierHash onecalo_hash) const |
| get sampling More...
|
|
CaloCell_ID::CaloSample | getSampling () const |
| get sampling returns the cached CaloSample, if the descriptor contains more than one sampling, it only returns the first sampling. More...
|
|
CaloCell_ID::SUBCALO | getSubCalo () const |
| get subcalo More...
|
|
Identifier | identify () const override final |
| get region identifier More...
|
|
IdentifierHash | identifyHash () const override final |
| get hash identifier for the region More...
|
|
IdentifierHash | calo_hash () const |
| get calo hash More...
|
|
IdentifierHash | subcalo_hash () const |
| get subcalo hash More...
|
|
const CaloCell_Base_ID * | get_calo_helper () const |
| get Calo Cell ID helper More...
|
|
int | layer () const |
| get layer More...
|
|
IdentifierHash | caloCellMin () const |
| minimal hash identifier for calo cells in the region More...
|
|
int | calo_sign () const |
| 'ideal' geometry: calo sign More...
|
|
double | calo_z_min () const |
| 'ideal' geometry: z minimal More...
|
|
double | calo_z_max () const |
| 'ideal' geometry: z maximal More...
|
|
double | calo_eta_min () const |
| 'ideal' geometry: eta minimal More...
|
|
double | calo_eta_max () const |
| 'ideal' geometry: eta maximal More...
|
|
double | calo_phi_min () const |
| 'ideal' geometry: phi minimal More...
|
|
double | calo_phi_max () const |
| 'ideal' geometry: phi maximal More...
|
|
double | calo_r_min () const |
| 'ideal' geometry: r minimal More...
|
|
double | calo_r_max () const |
| 'ideal' geometry: r maximal More...
|
|
int | n_calo_depth () const |
| number of calo depths More...
|
|
void | get_depth_in (std::vector< double > &calo_depth) const |
| get vector of in depths More...
|
|
void | get_depth_out (std::vector< double > &calo_depth) const |
| get vector of out depths More...
|
|
double | deta () const |
| delta eta More...
|
|
double | dphi () const |
| delta phi More...
|
|
int | n_eta () const |
| eta granularity More...
|
|
int | n_phi () const |
| phi granularity More...
|
|
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 More...
|
|
bool | get_disk_surface (Amg::Transform3D &htrans, double &z, double &rmin, double &rmax, double &hphisec, double &depth) const |
| (for Trk::Surface) More...
|
|
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) More...
|
|
int | eta_channel (double eta) const |
| channel number for a given eta/phi (if outside returns -1). More...
|
|
int | phi_channel (double phi) const |
| channel number for a given eta/phi (if outside returns -1) Should not be used for FCAL More...
|
|
int | eta_channel_raw (double eta) const |
| channel number for a given eta/phi raw (if outside returns -1). More...
|
|
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 More...
|
|
double | reg_min () const |
| eta min and max once misaligned More...
|
|
double | reg_max () const |
| eta min and max once misaligned More...
|
|
double | lar_eta_min () const |
| minimal Eta for LAr region More...
|
|
double | lar_phi_min () const |
| minimal Phi for LAr region More...
|
|
void | setCaloEtaMin (double eta_min) |
| Set Eta Min. More...
|
|
void | setCaloEtaMax (double eta_max) |
| Set Eta Max. More...
|
|
void | setCaloPhiMin (double phi_min) |
| Set Phi Min. More...
|
|
void | setCaloPhiMax (double phi_max) |
| Set Phi Max. More...
|
|
void | setCaloZMin (double z_min) |
| Set Z Min. More...
|
|
void | setCaloZMax (double z_max) |
| Set Z Max. More...
|
|
void | setCaloRMin (double r_min) |
| Set R Min. More...
|
|
void | setCaloRMax (double r_max) |
| Set R Max. More...
|
|
void | setLArRegMin (double reg_min) |
| Set LAr Region Eta Min. More...
|
|
void | setLArRegMax (double reg_max) |
| Set LAr Region Eta Max. More...
|
|
void | setLArPhiMin (double phi_min) |
| Set LAr Region Phi Min. More...
|
|
void | setLArEtaMin (double eta_min) |
| Set LAr Region Phi Max. More...
|
|
void | set_eta_phi_granularity (int neta, double deta, int nphi, double dphi) |
| Set Phi granularity. More...
|
|
const Amg::Transform3D & | transform () const |
| Get the current transformation matrix. More...
|
|
void | set_transform (const Amg::Transform3D &transform) |
| Set the transformation matrix. More...
|
|
virtual const IdHelper * | getHelper () const |
|
LAr FCAL Descriptor.
Definition at line 146 of file CaloDescriptors.h.
◆ FCALDescriptor() [1/2]
Constructor.
- Parameters
-
id | [IN] region identifier (for base class constructor) |
helper | [IN] ID helper (for base class constructor) |
calo_helper | [IN] ID helper (for base class constructor) |
fcalModule | [IN] FCAL Module Descriptor from LArReadoutGeometry |
Definition at line 88 of file CaloDescriptors.cxx.
◆ ~FCALDescriptor()
FCALDescriptor::~FCALDescriptor |
( |
| ) |
|
|
virtualdefault |
◆ FCALDescriptor() [2/2]
FCALDescriptor::FCALDescriptor |
( |
| ) |
|
|
privatedelete |
default constructor hidden
◆ calo_eta_max()
double CaloDetDescriptor::calo_eta_max |
( |
| ) |
const |
|
inlineinherited |
◆ calo_eta_min()
double CaloDetDescriptor::calo_eta_min |
( |
| ) |
const |
|
inlineinherited |
◆ calo_hash()
◆ calo_phi_max()
double CaloDetDescriptor::calo_phi_max |
( |
| ) |
const |
|
inlineinherited |
◆ calo_phi_min()
double CaloDetDescriptor::calo_phi_min |
( |
| ) |
const |
|
inlineinherited |
◆ calo_r_max()
double CaloDetDescriptor::calo_r_max |
( |
| ) |
const |
|
inlineinherited |
◆ calo_r_min()
double CaloDetDescriptor::calo_r_min |
( |
| ) |
const |
|
inlineinherited |
◆ calo_sign()
int CaloDetDescriptor::calo_sign |
( |
| ) |
const |
|
inlineinherited |
◆ calo_z_max()
double CaloDetDescriptor::calo_z_max |
( |
| ) |
const |
|
inlineinherited |
◆ calo_z_min()
double CaloDetDescriptor::calo_z_min |
( |
| ) |
const |
|
inlineinherited |
◆ caloCellMin()
◆ deta()
double CaloDetDescriptor::deta |
( |
| ) |
const |
|
inlineinherited |
◆ dphi()
double CaloDetDescriptor::dphi |
( |
| ) |
const |
|
inlineinherited |
◆ dump()
void CaloDetDescriptor::dump |
( |
std::ostream & |
os | ) |
const |
|
inherited |
dump contents to a stream.
Definition at line 116 of file CaloDetDescriptor.cxx.
118 os <<
" CaloDetDescriptor print: \n\n";
132 if(!
m_is_tile)
os <<
" UNKNOW LAr decriptor !!!! \n";
135 os <<
"Ideal values before alignment :\n";
136 os <<
" eta_min eta_max deta n_eta phi_min phi_max dphi n_phi \n";
137 os << std::setw(9) << std::setprecision(4) <<
calo_eta_min() <<
" "
138 << std::setw(9) << std::setw(9) << std::setprecision(4) <<
calo_eta_max() <<
" "
139 << std::setw(9) << std::setprecision(4) <<
deta() <<
" "
140 << std::setw(9) << std::setprecision(4) <<
n_eta() <<
" "
141 << std::setw(9) << std::setprecision(4) <<
calo_phi_min() <<
" "
142 << std::setw(9) << std::setprecision(4) <<
calo_phi_max() <<
" "
143 << std::setw(9) << std::setprecision(4) <<
dphi() <<
" "
144 << std::setw(9) << std::setprecision(4) <<
n_phi() <<
"\n";
146 os <<
" r_min z_min r_max z_max sign\n";
149 << std::setprecision(4) <<
calo_r_max() <<
" "
150 << std::setprecision(4) <<
calo_z_min() <<
" "
151 << std::setprecision(4) <<
calo_z_max() <<
" "
152 << std::setprecision(1) <<
calo_sign() <<
"\n";
157 double theta1, psi1, phi1;
158 if (std::abs(std::abs(rot(2,1))-1.0
f) > 0.00001)
160 theta1 = -std::asin(rot(2,0));
167 psi1 = std::atan2(rot(0,1),rot(0,2));
169 theta1 = -(
M_PI * 0.5);
170 psi1 = std::atan2(-rot(0,1), -rot(0,2));
174 os <<
"\nEigenTransform phi,theta,psi,x,y,z: "
175 << phi1 <<
" " << theta1 <<
" "
179 os << std::setprecision(4) <<
"in real world (can be <0)"
◆ eta_channel()
int CaloDetDescriptor::eta_channel |
( |
double |
eta | ) |
const |
|
inherited |
channel number for a given eta/phi (if outside returns -1).
Should not be used for FCAL
Definition at line 260 of file CaloDetDescriptor.cxx.
◆ eta_channel_raw()
int CaloDetDescriptor::eta_channel_raw |
( |
double |
eta | ) |
const |
|
inherited |
channel number for a given eta/phi raw (if outside returns -1).
Should not be used for FCAL
Definition at line 290 of file CaloDetDescriptor.cxx.
◆ get_calo_helper()
◆ get_cylinder_surface()
bool CaloDetDescriptor::get_cylinder_surface |
( |
Amg::Transform3D & |
htrans, |
|
|
double & |
radius, |
|
|
double & |
hphi, |
|
|
double & |
hlength, |
|
|
double & |
depth |
|
) |
| const |
|
inherited |
this will be the closest radius of this region
this will be the closest radius of this region (for Trk::Surface)
Definition at line 199 of file CaloDetDescriptor.cxx.
220 htrans = (htrans) *
vec;
◆ get_depth_in()
void CaloDetDescriptor::get_depth_in |
( |
std::vector< double > & |
calo_depth | ) |
const |
|
inherited |
get vector of in depths
- Parameters
-
calo_depth | [OUT] vector of in depths |
Definition at line 325 of file CaloDetDescriptor.cxx.
◆ get_depth_out()
void CaloDetDescriptor::get_depth_out |
( |
std::vector< double > & |
calo_depth | ) |
const |
|
inherited |
get vector of out depths
- Parameters
-
calo_depth | [OUT] vector of out depths |
Definition at line 332 of file CaloDetDescriptor.cxx.
◆ get_disk_surface()
bool CaloDetDescriptor::get_disk_surface |
( |
Amg::Transform3D & |
htrans, |
|
|
double & |
z, |
|
|
double & |
rmin, |
|
|
double & |
rmax, |
|
|
double & |
hphisec, |
|
|
double & |
depth |
|
) |
| const |
|
inherited |
◆ getHelper()
◆ getSampling() [1/2]
get sampling returns the cached CaloSample, if the descriptor contains more than one sampling, it only returns the first sampling.
Definition at line 134 of file CaloDetDescriptor.h.
◆ getSampling() [2/2]
get sampling
- Parameters
-
onecalo_hash | [IN] hash identifier if the descriptor contains more than one sampling, add offset calculated from hash id. |
Definition at line 185 of file CaloDetDescriptor.cxx.
◆ getSubCalo()
◆ identify()
|
inlinefinaloverridevirtualinherited |
◆ identifyHash()
|
inlinefinaloverridevirtualinherited |
◆ is_in()
bool CaloDetDescriptor::is_in |
( |
double |
eta_min, |
|
|
double |
eta_max, |
|
|
double |
phi_min, |
|
|
double |
phi_max |
|
) |
| const |
|
inherited |
check overlap with a given zone in eta and phi (for LAr only)
- Parameters
-
eta_min | [IN] lower eta boundary of the zone |
eta_max | [IN] higher eta boundary of the zone |
phi_min | [IN] lower phi boundary of the zone |
phi_max | [IN] higher phi boundary of the zone |
Definition at line 250 of file CaloDetDescriptor.cxx.
◆ is_lar_em()
bool CaloDetDescriptor::is_lar_em |
( |
| ) |
const |
|
inlineinherited |
◆ is_lar_em_barrel()
bool CaloDetDescriptor::is_lar_em_barrel |
( |
| ) |
const |
|
inlineinherited |
◆ is_lar_em_endcap()
bool CaloDetDescriptor::is_lar_em_endcap |
( |
| ) |
const |
|
inlineinherited |
◆ is_lar_em_endcap_inner()
bool CaloDetDescriptor::is_lar_em_endcap_inner |
( |
| ) |
const |
|
inlineinherited |
◆ is_lar_em_endcap_outer()
bool CaloDetDescriptor::is_lar_em_endcap_outer |
( |
| ) |
const |
|
inlineinherited |
◆ is_lar_fcal()
bool CaloDetDescriptor::is_lar_fcal |
( |
| ) |
const |
|
inlineinherited |
◆ is_lar_hec()
bool CaloDetDescriptor::is_lar_hec |
( |
| ) |
const |
|
inlineinherited |
◆ is_tile()
bool CaloDetDescriptor::is_tile |
( |
| ) |
const |
|
inlineinherited |
◆ lar_eta_min()
double CaloDetDescriptor::lar_eta_min |
( |
| ) |
const |
|
inlineinherited |
◆ lar_phi_min()
double CaloDetDescriptor::lar_phi_min |
( |
| ) |
const |
|
inlineinherited |
◆ layer()
int CaloDetDescriptor::layer |
( |
| ) |
const |
|
inlineinherited |
◆ n_calo_depth()
int CaloDetDescriptor::n_calo_depth |
( |
| ) |
const |
|
inherited |
◆ n_eta()
int CaloDetDescriptor::n_eta |
( |
| ) |
const |
|
inlineinherited |
◆ n_phi()
int CaloDetDescriptor::n_phi |
( |
| ) |
const |
|
inlineinherited |
◆ operator=()
◆ phi_channel()
int CaloDetDescriptor::phi_channel |
( |
double |
phi | ) |
const |
|
inherited |
channel number for a given eta/phi (if outside returns -1) Should not be used for FCAL
Definition at line 275 of file CaloDetDescriptor.cxx.
277 double phi_fixed =
phi ;
281 phi_fixed = phi_fixed + 2.0*
M_PI;
◆ phi_channel_raw()
int CaloDetDescriptor::phi_channel_raw |
( |
double |
phi | ) |
const |
|
inherited |
channel number for a given eta/phi raw (if outside returns -1) Should not be used for FCAL
Definition at line 305 of file CaloDetDescriptor.cxx.
307 double phi_fixed =
phi ;
311 phi_fixed = phi_fixed + 2.0*
M_PI;
◆ print()
void CaloDetDescriptor::print |
( |
| ) |
const |
|
virtualinherited |
◆ reg_max()
double CaloDetDescriptor::reg_max |
( |
| ) |
const |
|
inlineinherited |
◆ reg_min()
double CaloDetDescriptor::reg_min |
( |
| ) |
const |
|
inlineinherited |
◆ set_depth_in()
void CaloDetDescriptor::set_depth_in |
( |
std::vector< double > & |
calo_depth | ) |
|
|
inherited |
set vector of in depths
- Parameters
-
calo_depth | [IN] vector of in depths |
Definition at line 347 of file CaloDetDescriptor.cxx.
◆ set_depth_out()
void CaloDetDescriptor::set_depth_out |
( |
std::vector< double > & |
calo_depth | ) |
|
|
inherited |
set vector of out depths
- Parameters
-
calo_depth | [IN] vector of out depths |
Definition at line 353 of file CaloDetDescriptor.cxx.
◆ set_eta_phi_granularity()
void CaloDetDescriptor::set_eta_phi_granularity |
( |
int |
neta, |
|
|
double |
deta, |
|
|
int |
nphi, |
|
|
double |
dphi |
|
) |
| |
|
inherited |
◆ set_n_calo_depth()
void CaloDetDescriptor::set_n_calo_depth |
( |
int |
n_calo_depth | ) |
|
|
inherited |
set number of calo depths
- Parameters
-
n_calo_depth | [IN} number of depths |
Definition at line 340 of file CaloDetDescriptor.cxx.
◆ set_transform()
◆ setCaloEtaMax()
void CaloDetDescriptor::setCaloEtaMax |
( |
double |
eta_max | ) |
|
|
inlineinherited |
◆ setCaloEtaMin()
void CaloDetDescriptor::setCaloEtaMin |
( |
double |
eta_min | ) |
|
|
inlineinherited |
◆ setCaloPhiMax()
void CaloDetDescriptor::setCaloPhiMax |
( |
double |
phi_max | ) |
|
|
inlineinherited |
◆ setCaloPhiMin()
void CaloDetDescriptor::setCaloPhiMin |
( |
double |
phi_min | ) |
|
|
inlineinherited |
◆ setCaloRMax()
void CaloDetDescriptor::setCaloRMax |
( |
double |
r_max | ) |
|
|
inlineinherited |
◆ setCaloRMin()
void CaloDetDescriptor::setCaloRMin |
( |
double |
r_min | ) |
|
|
inlineinherited |
◆ setCaloZMax()
void CaloDetDescriptor::setCaloZMax |
( |
double |
z_max | ) |
|
|
inlineinherited |
◆ setCaloZMin()
void CaloDetDescriptor::setCaloZMin |
( |
double |
z_min | ) |
|
|
inlineinherited |
◆ setLArEtaMin()
void CaloDetDescriptor::setLArEtaMin |
( |
double |
eta_min | ) |
|
|
inlineinherited |
◆ setLArPhiMin()
void CaloDetDescriptor::setLArPhiMin |
( |
double |
phi_min | ) |
|
|
inlineinherited |
◆ setLArRegMax()
void CaloDetDescriptor::setLArRegMax |
( |
double |
reg_max | ) |
|
|
inlineinherited |
◆ setLArRegMin()
void CaloDetDescriptor::setLArRegMin |
( |
double |
reg_min | ) |
|
|
inlineinherited |
◆ subcalo_hash()
◆ transform()
◆ m_calo_depth_in
std::vector<double> CaloDetDescriptor::m_calo_depth_in |
|
protectedinherited |
◆ m_calo_depth_out
std::vector<double> CaloDetDescriptor::m_calo_depth_out |
|
protectedinherited |
◆ m_calo_eta_max
double CaloDetDescriptor::m_calo_eta_max |
|
protectedinherited |
◆ m_calo_eta_min
double CaloDetDescriptor::m_calo_eta_min |
|
protectedinherited |
◆ m_calo_helper
◆ m_calo_num
◆ m_calo_phi_max
double CaloDetDescriptor::m_calo_phi_max |
|
protectedinherited |
◆ m_calo_phi_min
double CaloDetDescriptor::m_calo_phi_min |
|
protectedinherited |
◆ m_calo_r_max
double CaloDetDescriptor::m_calo_r_max |
|
protectedinherited |
◆ m_calo_r_min
double CaloDetDescriptor::m_calo_r_min |
|
protectedinherited |
◆ m_calo_sampl
◆ m_calo_sign
int CaloDetDescriptor::m_calo_sign |
|
privateinherited |
◆ m_calo_z_max
double CaloDetDescriptor::m_calo_z_max |
|
protectedinherited |
◆ m_calo_z_min
double CaloDetDescriptor::m_calo_z_min |
|
protectedinherited |
◆ m_calocell_min
◆ m_etachan_min
int CaloDetDescriptor::m_etachan_min |
|
protectedinherited |
◆ m_helper
◆ m_id
◆ m_is_lar_em
bool CaloDetDescriptor::m_is_lar_em |
|
privateinherited |
◆ m_is_lar_em_barrel
bool CaloDetDescriptor::m_is_lar_em_barrel |
|
privateinherited |
◆ m_is_lar_em_endcap
bool CaloDetDescriptor::m_is_lar_em_endcap |
|
privateinherited |
◆ m_is_lar_em_endcap_inner
bool CaloDetDescriptor::m_is_lar_em_endcap_inner |
|
privateinherited |
◆ m_is_lar_em_endcap_outer
bool CaloDetDescriptor::m_is_lar_em_endcap_outer |
|
privateinherited |
◆ m_is_lar_fcal
bool CaloDetDescriptor::m_is_lar_fcal |
|
privateinherited |
◆ m_is_lar_hec
bool CaloDetDescriptor::m_is_lar_hec |
|
privateinherited |
◆ m_is_tile
bool CaloDetDescriptor::m_is_tile |
|
privateinherited |
◆ m_lar_deta
double CaloDetDescriptor::m_lar_deta |
|
privateinherited |
◆ m_lar_dphi
double CaloDetDescriptor::m_lar_dphi |
|
privateinherited |
◆ m_lar_eta_min
double CaloDetDescriptor::m_lar_eta_min |
|
protectedinherited |
◆ m_lar_n_eta
int CaloDetDescriptor::m_lar_n_eta |
|
privateinherited |
◆ m_lar_n_phi
int CaloDetDescriptor::m_lar_n_phi |
|
privateinherited |
◆ m_lar_phi_min
double CaloDetDescriptor::m_lar_phi_min |
|
protectedinherited |
◆ m_lar_reg_max
double CaloDetDescriptor::m_lar_reg_max |
|
protectedinherited |
◆ m_lar_reg_min
double CaloDetDescriptor::m_lar_reg_min |
|
protectedinherited |
◆ m_layer
int CaloDetDescriptor::m_layer |
|
privateinherited |
◆ m_n_calo_depth
int CaloDetDescriptor::m_n_calo_depth |
|
protectedinherited |
◆ m_transform
The documentation for this class was generated from the following files:
double calo_eta_max() const
'ideal' geometry: eta maximal
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
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
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
int phi_min(const Identifier regId) const
min value of phi index (-999 == failure)
bool is_lar_fcal(Identifier id) const
Scalar eta() const
pseudorapidity method
bool is_em_endcap(const Identifier id) const
test if the id belongs to the EM Endcap
bool m_is_lar_em_endcap
descriptor belongs to EM end cap
const Amg::Transform3D & getAbsoluteTransform(const GeoAlignmentStore *alignStore=nullptr) const
Returns the absolute transform of this element.
int m_etachan_min
minimal Eta channel number
double dphi() const
delta phi
int n_calo_depth() const
number of calo depths
int sample(const Identifier &id) const
double m_lar_reg_min
minimal Abs Eta for LAr region
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
std::vector< size_t > vec
int m_n_calo_depth
number of depths
double calo_phi_min() const
'ideal' geometry: phi minimal
double calo_phi_max() const
'ideal' geometry: phi maximal
double m_lar_dphi
delta phi (LAr)
const AtlasDetectorID * m_helper
Atlas Detector ID helper.
double calo_z_max() const
'ideal' geometry: z maximal
double m_lar_phi_min
minimal Phi for LAr region
IdentifierHash calo_region_hash(const Identifier regionId) const
create hash id from 'global' region id
typename vecDetail::vec_typedef< T, N >::type vec
Define a nice alias for the vectorized type.
const CaloCell_Base_ID * m_calo_helper
Calo Cell ID helper.
int m_lar_n_phi
phi granularity (LAr)
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
This class factors out code common between TileID and Tile_SuperCell_ID.
const Amg::Transform3D & getDefAbsoluteTransform(const GeoAlignmentStore *alignStore=nullptr) const
Returns the absolute transform of this element.
Eigen::Affine3d Transform3D
double m_calo_z_max
maximal Z (to be defined in the derived classes)
double m_calo_z_min
minimal Z (to be defined in the derived classes)
bool is_lar_hec(Identifier id) const
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)
bool is_em_barrel(const Identifier id) const
test if the id belongs to the EM barrel
std::string print_to_string(Identifier id, const IdContext *context=0) const
or provide the printout in string form
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
double getProjectivityDisplacement() const
double m_calo_eta_max
maximal Eta (to be defined in the derived classes)
Eigen::Matrix< double, 3, 1 > Vector3D
FCALModule::Endcap getEndcapIndex() const
Returns the side (O=Negative, 1=Positive)
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
double m_calo_r_min
minimal R (to be defined in the derived classes)
bool m_is_lar_fcal
descriptor belongs to FCAL
Eigen::Matrix< double, 3, 3 > RotationMatrix3D
int n_eta() const
eta granularity
bool m_is_lar_hec
descriptor belongs to HEC
Eigen::Translation< double, 3 > Translation3D
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
double calo_r_max() const
'ideal' geometry: r maximal
Identifier cell_id(const Identifier &any_id) const
double calo_r_min() const
'ideal' geometry: r minimal
IdentifierHash m_calocell_min
minimal hash id of region cells