12 sscanf (
id.c_str(),
"0x%x", &m_id);
22 sprintf (temp,
"0x%x", (
unsigned int)m_id);
24 result.insert(2,10-result.length(),
'0');
33 std::cout <<
me.getString();
sprintf(cut,"kal_costheta0_em>-0.93&&kal_costheta0_em<0.93&&kal_pxy0_em>=0.05+%d*0.1&&kal_pxy0_em<0.15+%d*0.1&&NGch>=2", j, j)
std::ostream & operator<<(std::ostream &os, const Identifier &Id)
std::string getString() const
Provide a string form of the identifier - hexadecimal.
void show() const
Print out in hex form.
void set(const std::string &id)
build from a string form - hexadecimal