20 swap(first.bin_, second.bin_);
21 swap(first.process_, second.process_);
22 swap(first.signal_, second.signal_);
23 swap(first.analysis_, second.analysis_);
24 swap(first.era_, second.era_);
25 swap(first.channel_, second.channel_);
26 swap(first.bin_id_, second.bin_id_);
27 swap(first.mass_, second.mass_);
28 swap(first.attributes_, second.attributes_);
33 process_(other.process_),
34 signal_(other.signal_),
35 analysis_(other.analysis_),
37 channel_(other.channel_),
38 bin_id_(other.bin_id_),
40 attributes_(other.attributes_) {
56 if(attributes_.count(attr_label)>0){
57 attributes_[attr_label]=attr_value;
59 attributes_.insert(std::pair<std::string,std::string>(attr_label,attr_value));
virtual void set_attribute(std::string const &attr_label, std::string const &attr_value)
Object & operator=(Object other)
friend void swap(Object &first, Object &second)
void swap(CombineHarvester &first, CombineHarvester &second)
void swap(Object &first, Object &second)