41 return static_cast<unsigned int>(lhs.first) < rhs;
45 return lhs < static_cast<unsigned int>(rhs.first);
47 bool operator()(
const std::pair<Jet::SRC, int>&
lhs,
const std::pair<Jet::SRC, int>&
rhs)
49 return static_cast<unsigned int>(lhs.first) < static_cast<unsigned int>(rhs.first);
56 void identify(std::ostream&
os = std::cout)
const override;
57 void Reset()
override;
63 unsigned int get_id()
const override {
return _id; }
75 float get_e()
const override {
return _e; }
78 float get_p()
const override;
79 float get_pt()
const override;
80 float get_et()
const override;
104 void print_comp(std::ostream&
os = std::cout,
bool single_line =
false)
override;
105 size_t num_comp(
SRC iSRC = Jet::SRC::VOID)
override;
125 std::array<float,3>
_mom {{ NAN, NAN, NAN}} ;
132 std::vector<std::pair<Jet::SRC, unsigned int>>
_comp_ids;
166 #endif // G4JET_JETV2_H