4 #include "TEveGeoNode.h"
5 #include "TEveStraightLineSet.h"
6 #include "TEveCompound.h"
25 virtual void clean()
override;
46 TEveElement* elms = (*i)->m_elements;
47 for (TEveElement::List_i it = elms->BeginChildren(); it != elms->EndChildren(); ++it)
48 (*it)->DestroyElements();
58 iItem->
get( clusters );
59 if( 0 == clusters )
return;
63 set != setEnd; ++set) {
64 unsigned int id = set->detId();
70 shape->SetMainTransparency( 75 );
71 shape->SetElementName(
"Det" );
76 <<
"failed to get shape of SiStripCluster with detid: "
82 TEveCompound* itemHolder = 0;
83 if (cnt < product->NumChildren())
85 TEveElement::List_i pit = product->BeginChildren();
86 std::advance(pit, cnt);
87 itemHolder = (TEveCompound*)*pit;
88 itemHolder->SetRnrSelfChildren(
true,
true);
106 <<
"failed to geometry of SiStripCluster with detid: "
111 TEveStraightLineSet *lineSet =
new TEveStraightLineSet(
"strip" );
113 float localTop[3] = { 0.0, 0.0, 0.0 };
114 float localBottom[3] = { 0.0, 0.0, 0.0 };
119 float globalBottom[3];
122 lineSet->AddLine( globalTop[0], globalTop[1], globalTop[2],
123 globalBottom[0], globalBottom[1], globalBottom[2] );
std::vector< Product * >::iterator Product_it
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
std::vector< Product * > m_products
bool contains(EventRange const &lh, EventID const &rh)
virtual void localModelChanges(const FWModelId &iId, TEveElement *iCompound, FWViewType::EType viewType, const FWViewContext *vc) override
static const int kAllRPZBits
const float * getParameters(unsigned int id) const
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
void get(const T *&oData) const
data_type const * const_iterator
virtual void cleanLocal()
const FWEventItem * item() const
static const int kAll3DBits
void localSiStrip(short strip, float *localTop, float *localBottom, const float *pars, unsigned int id)
const FWSiStripClusterProxyBuilder & operator=(const FWSiStripClusterProxyBuilder &)
TEveGeoShape * getEveShape(unsigned int id) const
void localToGlobal(unsigned int id, const float *local, float *global, bool translatep=true) const
REGISTER_PROXYBUILDER_METHODS()
virtual void clean() override
const_iterator end(bool update=true) const
TEveCompound * createCompound(bool set_color=true, bool propagate_color_to_all_children=false) const
const_iterator begin(bool update=true) const
const FWGeometry * getGeom() const
void increaseComponentTransparency(unsigned int index, TEveElement *holder, const std::string &name, Char_t transpOffset)
virtual ~FWSiStripClusterProxyBuilder(void)
FWSiStripClusterProxyBuilder(void)