44 std::vector<std::string> vlistItems;
45 std::vector<float> res;
46 uint32_t
detid=m_what.trackerregion();
51 while( loc != std::string::npos ) {
52 vlistItems.push_back(ListItems.substr(oldloc,loc-oldloc));
54 loc=ListItems.find(
",", oldloc );
58 vlistItems.push_back(ListItems.substr(oldloc,loc-oldloc));
60 res.insert(res.end(),vres.begin(),vres.end());
73 std::vector<std::string> listWhat=
object().getUserDBContent();
74 for(
size_t i=0;
i<listWhat.size();++
i)
75 ss << listWhat[
i] <<
"###";
83 ss <<
"Nr.Det " <<
object().getRegistryVectorEnd()-
object().getRegistryVectorBegin()
84 <<
"\nNr.Quantities " <<
object().getUserDBContent().size()
85 <<
"\nNr.values " <<
object().getDataVectorEnd()-
object().getDataVectorBegin()
86 <<
"\nRunNr= " <<
object().getRunNr()
87 <<
"\ntimeValue= " <<
object().getTimeValue();
99 std::vector<int>
const&,
100 std::vector<float>
const& )
const {
102 std::ofstream
f(fname.c_str());
110 namespace condPython {
113 using namespace boost::python;
114 enum_<sistripsummary::TrackerRegion>(
"TrackerRegion")
157 class_<What>(
"What",init<>())
158 .def(
"set_quantity",&What::set_quantity)
159 .def(
"set_how",&What::set_trackerregion)
160 .def(
"quantity",&What::quantity, return_value_policy<copy_const_reference>())
161 .def(
"how",&What::trackerregion, return_value_policy<copy_const_reference>())
void defineWhat< SiStripSummary >()
std::string plot(std::string const &, std::string const &, std::vector< int > const &, std::vector< float > const &) const
#define PYTHON_WRAPPER(_class, _name)
std::vector< float > getSummaryObj(uint32_t &detID, const std::vector< std::string > &list) const
std::string summary() const