2 #include "TEveBoxSet.h" 3 #include "TEveCompound.h" 4 #include "TEveGeoNode.h" 41 unsigned int rawid = (*dri).first.rawId();
44 if (!
geom->contains(rawid)) {
45 fwLog(
fwlog::kWarning) <<
"Failed to get geometry of ME0 roll with detid: " << rawid << std::endl;
54 TEveBoxSet* stripDigiSet =
new TEveBoxSet;
57 float localPoint[3] = {(*dit).x(), (*dit).y(), 0.0};
60 geom->localToGlobal(rawid, localPoint, globalPoint);
62 stripDigiSet->AddBox(globalPoint[0], globalPoint[1], globalPoint[2], (*dit).ex(), (*dit).ey(), 0.1);
#define REGISTER_PROXYBUILDER_METHODS()
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
static const int kAllRPZBits
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
void get(const T *&oData) const
const FWME0DigiProxyBuilder & operator=(const FWME0DigiProxyBuilder &)=delete
static const int kAll3DBits
const FWGeometry * getGeom() const
TEveCompound * createCompound(bool set_color=true, bool propagate_color_to_all_children=false) const
std::pair< const_iterator, const_iterator > Range
std::vector< DigiType >::const_iterator const_iterator
~FWME0DigiProxyBuilder() override