19 constexpr char hgcalee_sens[] =
"HGCalEESensitive";
20 constexpr char hgcalfh_sens[] =
"HGCalHESiliconSensitive";
23 template<
typename DDD>
24 inline void check_ddd(
const DDD* ddd) {
25 if(
nullptr == ddd ) {
27 <<
"DDDConstants not accessible to hgcal::HGCalTriggerTools!";
31 template<
typename GEOM>
32 inline void check_geom(
const GEOM*
geom) {
33 if(
nullptr == geom ) {
35 <<
"Geometry not provided yet to hgcal::HGCalTriggerTools!";
74 <<
"method getTCPosition called for DetId not belonging to a TC";
118 layer = hcid.
depth();
126 unsigned int l =
layer(
id);
138 return corrected_position.
eta();
143 return getEta(position, vertex_z);
147 float phi = atan2(position.
y(),position.
x());
158 float pt = hitEnergy / cosh(eta);
164 return getPt(position, hitEnergy, vertex_z);
177 return getLayerZ(subdet, layerWithOffset - offset);
181 float layerGlobalZ = 0.;
const HcalDDDRecConstants * dddConstants() const
const HGCalTopology & eeTopology() const
Global3DPoint GlobalPoint
std::pair< int, int > getEtaRange(const int &i) const
const HcalTopology & topology() const
int depth() const
get the tower depth
unsigned int layers(bool reco) const
const HcalTopology & bhTopology() const
const HGCalTopology & topology() const
double getRZ(const int &subdet, const int &ieta, const int &depth) const
double waferZ(int layer, bool reco) const
const HGCalDDDConstants & dddConstants() const
int getMaxDepth(const int &type) const
static int position[264][3]
T const * product() const
const HGCalTopology & fhTopology() const
int layer() const
get the layer #
virtual GlobalPoint getTriggerCellPosition(const unsigned trigger_cell_det_id) const =0