1 #ifndef HepMCCandidate_FlavorHistoryEvent_h 2 #define HepMCCandidate_FlavorHistoryEvent_h 77 sprintf(buff,
"Flavor = %2d, type = %2d, dR = %6f", helper.
flavor, helper.
flavorSource, helper.
dR);
78 out << buff << std::endl;
108 unsigned int nb()
const {
114 unsigned int nc()
const {
130 return highestFlavor_;
136 return flavorSource_;
143 size_type
size()
const {
return histories_.size(); }
144 const_iterator
begin()
const {
return histories_.begin(); }
145 const_iterator
end()
const {
return histories_.end(); }
146 const_reverse_iterator
rbegin()
const {
return histories_.rbegin(); }
147 const_reverse_iterator
rend()
const {
return histories_.rend(); }
152 histories_.push_back(v);
156 histories_.resize(n);
const_iterator begin() const
const_reverse_iterator rend() const
collection_type::iterator iterator
collection_type::reverse_iterator reverse_iterator
flavor_type flavorSource() const
const_iterator end() const
FlavorHistoryEventHelper(int iflavor, FlavorHistory::FLAVOR_T iflavorSource, double idR)
collection_type::const_iterator const_iterator
FlavorHistory::FLAVOR_T flavor_type
void push_back(const value_type &v)
unsigned int highestFlavor() const
bool operator==(FlavorHistoryEventHelper const &right) const
void clear(CLHEP::HepGenMatrix &m)
Helper function: Reset all elements of a matrix to 0.
collection_type::const_pointer const_pointer
~FlavorHistoryEventHelper()
flavor_type flavorSource_
bool operator<(FlavorHistoryEventHelper const &right) const
friend std::ostream & operator<<(std::ostream &out, FlavorHistoryEventHelper helper)
const_reverse_iterator rbegin() const
collection_type::const_reverse_iterator const_reverse_iterator
collection_type::const_reference const_reference
std::vector< value_type > collection_type
FlavorHistory::FLAVOR_T flavorSource
collection_type::reference reference
collection_type::size_type size_type
unsigned int highestFlavor_
collection_type histories_
collection_type::pointer pointer