37 const TGGC* iHighlightContext,
40 m_renderer(iContext, iHighlightContext),
47 std::vector<std::pair<std::string, std::string> > s_names;
80 std::multimap<double, int, S>& iMap,
81 std::vector<int>& oNewSort) {
86 std::vector<int>::iterator itVec = oNewSort.begin();
87 for (
typename std::map<double, int, S>::iterator it = iMap.begin(), itEnd = iMap.end(); it != itEnd;
96 std::multimap<double, int, std::greater<double> >
s;
99 std::multimap<double, int, std::less<double> >
s;
148 s.setf(std::ios_base::fixed, std::ios_base::floatfield);
std::vector< std::string > getTitles() const override
returns the title names for each column
FWCollectionSummaryModelCellRenderer m_renderer
const FWItemValueGetter & valueGetter() const
one value from the model which is normally used for the popup
const FWDisplayProperties & displayProperties() const
void setDisplayProperties(int iIndex, const FWDisplayProperties &) const
void dataChanged()
Classes which inherit from FWTableManagerBase must call this when their underlying data changes...
void buttonReleasedInRowHeader(Int_t row, Event_t *event, Int_t relX, Int_t relY) override
int numberOfColumns() const override
Number of columns in the table.
int numberOfRows() const override
Number of rows in the table.
FWItemChangeSignal itemChanged_
~FWCollectionSummaryTableManager() override
FWTableCellRendererBase * rowHeader(int iSortedRowNumber) const override
Returns the renderer for the row header for the sorted row number iSortedRowNumber.
FWTableCellRendererBase * cellRenderer(int iSortedRowNumber, int iCol) const override
void setData(const std::string &, bool isSelected)
FWTextTableCellRenderer m_bodyRenderer
std::vector< std::string > getTitles() const
void setData(const FWEventItem *iItem, int iIndex)
double valueFor(const void *, int idx) const
int unsortedRowNumber(int iSortedRowNumber) const override
when passed the index to the sorted order of the rows it returns the original row number from the und...
void implSort(int iCol, bool iSortOrder) override
Called by 'sort' method to actually handle the sorting of the rows. Arguments are the same as 'sort'...
FWModelChangeSignal changed_
const TClass * modelType() const
bool hasRowHeaders() const override
Returns 'true' if this table has row headers. Defaults return value is false.
FWCollectionSummaryTableManager(FWEventItem *iCollection, const TGGC *iContext, const TGGC *iHighlightContext, FWCollectionSummaryWidget *)
m_collection(iC.consumes< T >(iConfig.getParameter< edm::InputTag >("collectionName")))
FWCollectionSummaryWidget * m_widget
FWEventItem * m_collection
const void * modelData(int iIndex) const
ModelInfo modelInfo(int iIndex) const
UInt_t precision(int idx) const
void setIsVisible(bool iSet)
std::vector< int > m_sortedToUnsortedIndicies
tuple size
Write out results.
ClickHit clickHit(int iX, int iY) const