1 #include "TEveBoxSet.h" 29 TEveBoxSet* boxset =
new TEveBoxSet();
30 boxset->Reset(TEveBoxSet::kBT_FreeBox,
true, 64);
31 boxset->UseSingleColor();
32 boxset->SetPickable(
true);
35 std::vector<std::pair<DetId, float> > clusterDetIds =
c->hitsAndFractions();
38 for( std::vector<std::pair<DetId, float> >::iterator it = clusterDetIds.begin(), itEnd = clusterDetIds.end();
42 if( corners ==
nullptr ) {
45 std::vector<float> pnts(24);
47 boxset->AddBox( &pnts[0]);
#define REGISTER_PROXYBUILDER_METHODS()
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
~FWHGCalMultiClusterProxyBuilder(void) override
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
const FWEventItem * item() const
FWHGCalMultiClusterProxyBuilder(void)
const edm::PtrVector< reco::BasicCluster > & clusters() const
const FWHGCalMultiClusterProxyBuilder & operator=(const FWHGCalMultiClusterProxyBuilder &)=delete
void energyTower3DCorners(const float *corners, float scale, std::vector< float > &, bool reflect=false)
const float * getCorners(unsigned int id) const
const FWGeometry * getGeom() const