16 #include "TEveVector.h" 17 #include "TEveCaloData.h" 40 assert(
nullptr!=hits);
63 assert(
nullptr!=hits);
82 TEveCaloData::vCellId_t cellIds;
84 if( corners ==
nullptr )
86 fwLog(
fwlog::kInfo ) <<
"FWHGTowerSliceSelector cannot get geometry for DetId: "<< detId.
rawId() <<
". Ignored.\n";
89 std::vector<TEveVector> front( 4 );
92 for(
int i = 0;
i < 4; ++
i )
94 front[
i] = TEveVector( corners[j], corners[j + 1], corners[j + 2] );
97 eta += front[
i].Eta();
98 phi += front[
i].Phi();
103 const TEveCaloData::CellGeom_t &cg =
m_vecData->GetCellGeom()[tower] ;
104 if(( eta >= cg.fEtaMin && eta <= cg.fEtaMax) && (
phi >= cg.fPhiMin &&
phi <= cg.fPhiMax))
void doSelect(const TEveCaloData::CellId_t &) override
FWModelChangeManager * changeManager() const
bool findBinFromId(HGCalDetId &id, int tower) const
void get(const T *&oData) const
void doUnselect(const TEveCaloData::CellId_t &) override
constexpr uint32_t rawId() const
get the raw id
std::vector< HGCRecHit >::const_iterator const_iterator
void unselect(int iIndex) const
const FWEventItem * m_item
FWDisplayProperties m_displayProperties
const_iterator end() const
const float * getCorners(unsigned int id) const
TEveCaloDataVec * m_vecData
void select(int iIndex) const
ModelInfo modelInfo(int iIndex) const
const FWGeometry * getGeom() const
const_iterator begin() const