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(
true);
34 for( std::vector<std::pair<DetId, float> >::iterator it = clusterDetIds.begin(), itEnd = clusterDetIds.end();
38 if( corners ==
nullptr ) {
41 std::vector<float> pnts(24);
43 boxset->AddBox( &pnts[0]);
#define REGISTER_PROXYBUILDER_METHODS()
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
FWCaloClusterProxyBuilder(void)
~FWCaloClusterProxyBuilder(void) override
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
const std::vector< std::pair< DetId, float > > & hitsAndFractions() const
const FWEventItem * item() const
void energyTower3DCorners(const float *corners, float scale, std::vector< float > &, bool reflect=false)
const float * getCorners(unsigned int id) const
const FWCaloClusterProxyBuilder & operator=(const FWCaloClusterProxyBuilder &)=delete
const FWGeometry * getGeom() const