17 #include "TEveVector.h"
18 #include "TEveCaloData.h"
83 TEveCaloData::vCellId_t cellIds;
87 fwLog(
fwlog::kInfo ) <<
"FWHFTowerSliceSelector cannot get geometry for DetId: "<< detId.
rawId() <<
". Ignored.\n";
90 std::vector<TEveVector>
front( 4 );
93 for(
int i = 0;
i < 4; ++
i )
95 front[
i] = TEveVector( corners[j], corners[j + 1], corners[j + 2] );
98 eta += front[
i].Eta();
99 phi += front[
i].Phi();
104 const TEveCaloData::CellGeom_t &cg =
m_vecData->GetCellGeom()[tower] ;
105 if(( eta >= cg.fEtaMin && eta <= cg.fEtaMax) && (
phi >= cg.fPhiMin &&
phi <= cg.fPhiMax))
FWModelChangeManager * changeManager() const
void get(const T *&oData) const
std::vector< T >::const_iterator const_iterator
void unselect(int iIndex) const
const FWEventItem * m_item
TEveCaloDataVec * m_vecData
virtual void doUnselect(const TEveCaloData::CellId_t &)
uint32_t rawId() const
get the raw id
FWDisplayProperties m_displayProperties
const_iterator end() const
const float * getCorners(unsigned int id) const
bool findBinFromId(HcalDetId &id, int tower) const
void select(int iIndex) const
ModelInfo modelInfo(int iIndex) const
virtual void doSelect(const TEveCaloData::CellId_t &)
const FWGeometry * getGeom() const
const_iterator begin() const