35 template<
unsigned int Nunmod,
class Unmod,
unsigned int Nsum,
class Sum,
bool Magn=false>
44 STD_string label()
const {
return get_label();}
45 STD_string description()
const {
return "Sum up data in one or more dimensions";}
47 RecoCoord input_coord()
const {
RecoCoord result=Unmod::preset_coord(RecoIndex::collected); Sum::modify(RecoIndex::collected,result);
return result;}
48 void modify_coord(
RecoCoord& coord)
const {Sum::modify(RecoIndex::single,coord);}
Labeled(const STD_string &label="unnamed")
const STD_string & get_label() const
averagesum, cyclesum, repmagnsum, repsum: Sum up data in one or more dimensions