15 #include <boost/bind.hpp>
18 #include "TEveManager.h"
55 table(
"reco::GenParticle").
56 column(
"pT", 1,
"pt").
64 column(
"pT", 1,
"pt").
69 column(
"tr pt", 1,
"track().pt()").
72 column(
"matches",
TableEntry::INT,
"numberOfMatches('SegmentArbitration')").
73 column(
"d0", 3,
"track().d0()").
74 column(
"d0 / d0Err", 3,
"track().d0() / track().d0Error()");
76 table(
"reco::GsfElectron").
78 column(
"pT", 1,
"pt").
81 column(
"E/p", 3,
"eSuperClusterOverP").
82 column(
"H/E", 3,
"hadronicOverEm").
83 column(
"fbrem", 3,
"(trackMomentumAtVtx().R() - trackMomentumOut().R()) / trackMomentumAtVtx().R()").
84 column(
"dei", 3,
"deltaEtaSuperClusterTrackAtVtx()").
85 column(
"dpi", 3,
"deltaPhiSuperClusterTrackAtVtx()");
87 table(
"reco::Photon").
88 column(
"pT", 1,
"pt").
91 column(
"H/E", 3,
"hadronicOverEm");
93 table(
"reco::CaloJet").
94 column(
"pT", 1,
"pt").
97 column(
"ECAL", 1,
"p4().E() * emEnergyFraction()").
98 column(
"HCAL", 1,
"p4().E() * energyFractionHadronic()").
99 column(
"emf", 3,
"emEnergyFraction()");
102 column(
"pT", 1,
"pt").
112 table(
"reco::Track").
114 column(
"pT", 1,
"pt").
118 column(
"d0Err", 5,
"d0Error").
120 column(
"dzErr", 5,
"dzError").
124 column(
"pixel hits",
TableEntry::INT,
"hitPattern().numberOfValidPixelHits()").
125 column(
"strip hits",
TableEntry::INT,
"hitPattern().numberOfValidStripHits()").
129 table(
"DTRecSegment4D").
130 column(
"wheel", 0,
"chamberId.wheel").
131 column(
"station", 0,
"chamberId.station").
132 column(
"sector", 0,
"chamberId.sector").
133 column(
"t0phi", 2,
"phiSegment.t0").
134 column(
"t0theta", 2,
"zSegment.t0").
135 column(
"hasPhi", -2,
"hasPhi").
136 column(
"hasZed", -2,
"hasZed").
137 column(
"chi2", 2,
"chi2").
138 column(
"dof", 0,
"degreesOfFreedom");
140 table(
"DTRecHit1DPair").
141 column(
"wheel", 0,
"wireId.wheel").
142 column(
"station", 0,
"wireId.station").
143 column(
"sector", 0,
"wireId.sector").
144 column(
"SL", 0,
"wireId.superlayer").
145 column(
"layer", 0,
"wireId.layer").
146 column(
"wire", 0,
"wireId.wire").
147 column(
"digiTime", 2,
"digiTime");
150 column(
"endcap", 0,
"cscDetId.endcap").
151 column(
"station", 0,
"cscDetId.station").
152 column(
"ring", 0,
"cscDetId.ring").
153 column(
"chamber", 0,
"cscDetId.chamber");
155 table(
"reco::Vertex").
169 column(
"et", 1,
"Et").
230 FWTableViewManager::TableSpecs::iterator
239 for (
auto const&
base : bases)
262 FWTableViewManager::TableSpecs::iterator
284 for (
auto const& member : functionMembers)
303 for (
auto const& member : dataMembers)
327 FWTableViewManager::TableSpecs::iterator
336 TEveManager::TRedrawDisabler disableRedraw(gEve);
337 boost::shared_ptr<FWTableView> view(
new FWTableView(iParent,
this));
352 if(it->get() == iView)
415 gEve->DisableRedraw();
421 gEve->EnableRedraw();
472 for (TableSpecs::const_iterator
475 iType != iType_end; ++iType)
481 for (
size_t ei = 0, ee = entries.size(); ei != ee; ++ei)
512 iType != iTypeEnd; ++iType)
525 int prec = atoi(it->c_str());
526 handle.
column(name.c_str(), prec, expr.c_str());
const StringValues * stringValues() const
tuple ret
prodAgent to be discontinued
void addToImpl(FWConfiguration &) const
TableHandle table(const char *collection)
virtual FWTypeToRepresentations supportedTypesAndRepresentations() const
TableSpecs m_tableFormats
void setFrom(const FWConfiguration &)
virtual void newItem(const FWEventItem *)
TableHandle & column(const char *formula, int precision, const char *name)
const std::string & typeName() const
FWItemChangeSignal goingToBeDestroyed_
FWColorManager & colorManager() const
boost::function2< FWViewBase *, TEveWindowSlot *, const std::string & > ViewBuildFunctor
static TypeWithDict byName(std::string const &name)
void registerViewBuilder(const std::string &iName, ViewBuildFunctor &iBuilder)
TableSpecs::iterator tableFormats(const edm::TypeWithDict &key)
virtual ~FWTableViewManager()
TableSpecs::iterator tableFormatsImpl(const edm::TypeWithDict &key)
TypeWithDict typeOf() const
TypeWithDict finalReturnType() const
std::vector< TableEntry > TableEntries
string key
FastSim: produces sample of signal events, overlayed with premixed minbias events.
void removeAllItems(void)
FWConfiguration & addKeyValue(const std::string &, const FWConfiguration &)
void addTo(FWConfiguration &) const
FWConfiguration & addValue(const std::string &)
virtual void modelChangesDone()
virtual void colorsChanged()
void destroyItem(const FWEventItem *item)
size_t functionParameterSize(bool required=false) const
virtual void modelChangesComing()
static const std::string & idToName(int)
const FWConfiguration * valueForKey(const std::string &iKey) const
StringValues::const_iterator StringValuesIt
static const std::string kConfigTypeNames
void beingDestroyed(const FWViewBase *)
FWViewBase * buildView(TEveWindowSlot *iParent, const std::string &type)