1 #include "TEveBoxSet.h" 27 std::vector<std::pair<DetId, float> > clusterDetIds = iData.
hitsAndFractions();
29 TEveBoxSet* boxset =
new TEveBoxSet();
30 boxset->Reset(TEveBoxSet::kBT_FreeBox,
true, 64);
31 boxset->UseSingleColor();
32 boxset->SetPickable(1);
34 for( std::vector<std::pair<DetId, float> >::iterator it = clusterDetIds.begin(), itEnd = clusterDetIds.end();
41 std::vector<float> pnts(24);
43 boxset->AddBox( &pnts[0]);
#define REGISTER_PROXYBUILDER_METHODS()
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
FWCaloClusterProxyBuilder(void)
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
const std::vector< std::pair< DetId, float > > & hitsAndFractions() const
const FWEventItem * item() const
const FWCaloClusterProxyBuilder & operator=(const FWCaloClusterProxyBuilder &)
virtual ~FWCaloClusterProxyBuilder(void)
void energyTower3DCorners(const float *corners, float scale, std::vector< float > &, bool reflect=false)
const float * getCorners(unsigned int id) const
const FWGeometry * getGeom() const