16 #include "TEveCompound.h"
17 #include "TEveManager.h"
18 #include "TEveSelection.h"
54 if ((*i)->GetUserData())
55 delete reinterpret_cast<FWFromEveSelectorBase*>((*i)->GetUserData());
57 (*i)->RemoveElements();
58 (*i)->DecDenyDestroy();
89 TEveCompound*
c =
new TEveCompound(name.c_str(), name.c_str());
95 c->CSCImplySelectAllChildren();
96 c->CSCApplyMainColorToAllChildren();
97 c->CSCApplyMainTransparencyToAllChildren();
122 for (std::set<FWModelId>::const_iterator it = iIds.begin(); it != iIds.end(); ++it)
129 comp->SetMainColor(p.
color());
134 if (comp->GetSelectedLevel() != 1)
135 gEve->GetSelection()->AddElement(comp);
139 if (comp->GetSelectedLevel() == 1)
140 gEve->GetSelection()->RemoveElement(comp);
161 comp->SetElementTitle(name.c_str());
169 if (p.
color() != comp->GetMainColor())
170 comp->SetMainColor(p.
color());
const FWDisplayProperties & defaultDisplayProperties() const
const FWDisplayProperties & displayProperties() const
virtual ~FWInteractionList()
std::string modelName(int iIndex) const
bool haveInterestingValue() const
FWInteractionList(const FWEventItem *item)
void added(TEveElement *, unsigned int)
const FWEventItem * m_item
Char_t transparency() const
std::set< FWModelId > FWModelIds
const std::string & modelInterestingValueAsString(int iIndex) const
void modelChanges(const std::set< FWModelId > &)
tuple idx
DEBUGGING if hasattr(process,"trackMonIterativeTracking2012"): print "trackMonIterativeTracking2012 D...
std::vector< TEveCompound * > m_compounds
ModelInfo modelInfo(int iIndex) const