5 #include "TEveGeoNode.h"
6 #include "TEveStraightLineSet.h"
7 #include "TEveCompound.h"
47 TEveElement* elms = (*i)->m_elements;
48 for (TEveElement::List_i it = elms->BeginChildren(); it != elms->EndChildren(); ++it)
49 (*it)->DestroyElements();
59 iItem->
get( clusters );
60 if( 0 == clusters )
return;
64 set != setEnd; ++set) {
65 unsigned int id = set->detId();
71 shape->SetMainTransparency( 75 );
72 shape->SetElementName(
"Det" );
77 <<
"failed to get shape of SiStripCluster with detid: "
83 TEveCompound* itemHolder = 0;
84 if (cnt < product->NumChildren())
86 TEveElement::List_i pit = product->BeginChildren();
87 std::advance(pit, cnt);
88 itemHolder = (TEveCompound*)*pit;
89 itemHolder->SetRnrSelfChildren(
true,
true);
107 <<
"failed to geometry of SiStripCluster with detid: "
112 TEveStraightLineSet *lineSet =
new TEveStraightLineSet(
"strip" );
114 float localTop[3] = { 0.0, 0.0, 0.0 };
115 float localBottom[3] = { 0.0, 0.0, 0.0 };
120 float globalBottom[3];
123 lineSet->AddLine( globalTop[0], globalTop[1], globalTop[2],
124 globalBottom[0], globalBottom[1], globalBottom[2] );
std::vector< Product * >::iterator Product_it
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
const_iterator begin() const
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
std::vector< Product * > m_products
bool contains(EventRange const &lh, EventID const &rh)
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
void localToGlobal(unsigned int id, const float *local, float *global) const
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
virtual void localModelChanges(const FWModelId &iId, TEveElement *iCompound, FWViewType::EType viewType, const FWViewContext *vc)
const_iterator end() const
REGISTER_PROXYBUILDER_METHODS()
TEveCompound * createCompound(bool set_color=true, bool propagate_color_to_all_children=false) const
const FWGeometry * getGeom() const
void increaseComponentTransparency(unsigned int index, TEveElement *holder, const std::string &name, Char_t transpOffset)
virtual ~FWSiStripClusterProxyBuilder(void)
FWSiStripClusterProxyBuilder(void)