1 #include "TEveBoxSet.h"
26 std::vector<std::pair<DetId, float> > clusterDetIds = iData.
hitsAndFractions();
28 TEveBoxSet* boxset =
new TEveBoxSet();
29 boxset->Reset(TEveBoxSet::kBT_FreeBox,
true, 64);
30 boxset->UseSingleColor();
31 boxset->SetPickable(1);
33 for( std::vector<std::pair<DetId, float> >::iterator it = clusterDetIds.begin(), itEnd = clusterDetIds.end();
40 std::vector<float> pnts(24);
42 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