CMS 3D CMS Logo

Functions
Tree.cc File Reference
#include "L1Trigger/L1TMuonEndCap/interface/bdt/Tree.h"
#include <iostream>
#include <sstream>

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 406 of file Tree.cc.

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

407 {
408 // Convert a number to a string.
409  std::stringstream ss;
410  ss << num;
411  std::string s = ss.str();
412  return s;
413 }