CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
Tree.cc File Reference
#include "L1Trigger/L1TMuonEndCap/interface/bdt/Tree.h"
#include <iostream>
#include <sstream>
#include <cmath>

Go to the source code of this file.

Functions

template<typename T >
std::string numToStr (T num)
 

Function Documentation

template<typename T >
std::string numToStr ( T  num)

Definition at line 371 of file Tree.cc.

References pileupDistInMC::num, alignCSCRings::s, contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.

371  {
372  // Convert a number to a string.
373  std::stringstream ss;
374  ss << num;
375  std::string s = ss.str();
376  return s;
377 }