1 #ifndef CaloDigiCollectionSorter_h 2 #define CaloDigiCollectionSorter_h 41 result.reserve(input.
size());
42 for (
unsigned int i = 0;
i < input.
size(); ++
i) {
43 result.push_back(input[
i]);
std::vector< T > sortedVector(const edm::SortedCollection< T > &input) const
static std::string const input
CaloDigiCollectionSorter(int bin)
CaloDigiSortByMaxBin(int bin)
bin
set the eta bin as selection string.
embedded class to be used as a sort predicate
bool operator()(const T &df1, const T &df2) const