Go to the documentation of this file.
16 #include "TEveVector.h"
17 #include "TEveCaloData.h"
73 TEveCaloData::vCellId_t cellIds;
75 if (corners ==
nullptr) {
76 fwLog(
fwlog::kInfo) <<
"FWHFTowerSliceSelector cannot get geometry for DetId: " << detId.
rawId() <<
". Ignored.\n";
79 std::vector<TEveVector> front(4);
82 for (
int i = 0;
i < 4; ++
i) {
83 front[
i] = TEveVector(corners[
j], corners[
j + 1], corners[
j + 2]);
86 eta += front[
i].Eta();
87 phi += front[
i].Phi();
92 const TEveCaloData::CellGeom_t& cg =
m_vecData->GetCellGeom()[
tower];
93 if ((
eta >= cg.fEtaMin &&
eta <= cg.fEtaMax) && (
phi >= cg.fPhiMin &&
phi <= cg.fPhiMax)) {
ModelInfo modelInfo(int iIndex) const
std::vector< T >::const_iterator const_iterator
const float * getCorners(unsigned int id) const
void get(const T *&oData) const
void select(int iIndex) const
FWModelChangeManager * changeManager() const
bool findBinFromId(HcalDetId &id, int tower) const
void unselect(int iIndex) const
const FWEventItem * m_item
void doUnselect(const TEveCaloData::CellId_t &) override
const FWGeometry * getGeom() const
constexpr uint32_t rawId() const
get the raw id
TEveCaloDataVec * m_vecData
FWDisplayProperties m_displayProperties
void doSelect(const TEveCaloData::CellId_t &) override