|
typedef std::vector< Product * >::iterator | Product_it |
|
virtual void | buildViewType (const FWEventItem *iItem, TEveElementList *, FWViewType::EType, const FWViewContext *) |
|
virtual void | clean () |
|
virtual void | cleanLocal () |
|
TEveCompound * | createCompound (bool set_color=true, bool propagate_color_to_all_children=false) const |
|
| FWProxyBuilderBase (const FWProxyBuilderBase &) |
|
void | increaseComponentTransparency (unsigned int index, TEveElement *holder, const std::string &name, Char_t transpOffset) |
|
virtual void | localModelChanges (const FWModelId &iId, TEveElement *iCompound, FWViewType::EType viewType, const FWViewContext *vc) |
|
virtual void | modelChanges (const FWModelIds &, Product *) |
|
const FWProxyBuilderBase & | operator= (const FWProxyBuilderBase &) |
|
virtual void | scaleProduct (TEveElementList *parent, FWViewType::EType, const FWViewContext *vc) |
|
virtual bool | visibilityModelChanges (const FWModelId &, TEveElement *, FWViewType::EType, const FWViewContext *) |
|
std::vector< Product * > | m_products |
|
Definition at line 106 of file FWGEMDigiProxyBuilder.cc.
◆ FWGEMPadDigiProxyBuilder() [1/2]
FWGEMPadDigiProxyBuilder::FWGEMPadDigiProxyBuilder |
( |
| ) |
|
|
inline |
◆ ~FWGEMPadDigiProxyBuilder()
FWGEMPadDigiProxyBuilder::~FWGEMPadDigiProxyBuilder |
( |
| ) |
|
|
inlineoverride |
◆ FWGEMPadDigiProxyBuilder() [2/2]
◆ build()
Reimplemented from FWProxyBuilderBase.
Definition at line 119 of file FWGEMDigiProxyBuilder.cc.
131 unsigned int rawid = (*dri).first.rawId();
134 if (!
geom->contains(rawid)) {
135 fwLog(
fwlog::kWarning) <<
"Failed to get geometry of GEM roll with detid: " << rawid << std::endl;
151 TEveStraightLineSet* stripDigiSet =
new TEveStraightLineSet;
152 stripDigiSet->SetLineWidth(3 *
nStrips / nPads);
155 int pad = (*dit).pad();
156 float topOfStrip = (pad - 0.5) * topPitch - 0.5 * topPitch * nPads;
157 float bottomOfStrip = (pad - 0.5) * bottomPitch - 0.5 * bottomPitch * nPads;
159 float localPointTop[3] = {topOfStrip, halfStripLength, 0.0};
161 float localPointBottom[3] = {bottomOfStrip, -halfStripLength, 0.0};
163 float globalPointTop[3];
164 float globalPointBottom[3];
166 geom->localToGlobal(rawid, localPointTop, globalPointTop, localPointBottom, globalPointBottom);
168 stripDigiSet->AddLine(globalPointTop[0],
171 globalPointBottom[0],
172 globalPointBottom[1],
173 globalPointBottom[2]);
References FWProxyBuilderBase::createCompound(), fwLog, relativeConstraints::geom, FWEventItem::get(), FWEventItem::getGeom(), fwlog::kWarning, me0TriggerPseudoDigis_cff::nStrips, FastTimerService_cff::range, and FWProxyBuilderBase::setupAddElement().
◆ classPurpose()
const std::string & FWGEMPadDigiProxyBuilder::classPurpose |
( |
| ) |
|
|
static |
◆ classRegisterTypeName()
const std::string & FWGEMPadDigiProxyBuilder::classRegisterTypeName |
( |
| ) |
|
|
static |
◆ classTypeName()
const std::string & FWGEMPadDigiProxyBuilder::classTypeName |
( |
| ) |
|
|
static |
◆ classView()
const std::string & FWGEMPadDigiProxyBuilder::classView |
( |
| ) |
|
|
static |
◆ operator=()
◆ purpose()
const std::string& FWGEMPadDigiProxyBuilder::purpose |
( |
| ) |
const |
|
inline |
◆ typeName()
const std::string& FWGEMPadDigiProxyBuilder::typeName |
( |
| ) |
const |
|
inline |
◆ view()
const std::string& FWGEMPadDigiProxyBuilder::view |
( |
| ) |
const |
|
inline |