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!";
82 <<
"method getTCPosition called for DetId not belonging to a TC";
126 layer = hcid.
depth();
134 unsigned int l =
layer(
id);
147 return corrected_position.
eta();
152 return getEta(position, vertex_z);
156 float phi = atan2(position.
y(),position.
x());
167 float pt = hitEnergy / cosh(eta);
173 return getPt(position, hitEnergy, vertex_z);
186 return getLayerZ(subdet, layerWithOffset - offset);
190 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
const HGCalTopology & hscTopology() const
int getMaxDepth(const int &type) const
bool isV9Geometry() 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