Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
srcs
lardata
lardata
ArtDataHelper
MVAWrapperBase.cxx
Go to the documentation of this file.
1
//////////////////////////////////////////////////////////////////////////////
2
// \version
3
//
4
// \brief Helper functions for MVAReader and MVAWriter wrappers
5
//
6
// \author robert.sulej@cern.ch
7
//
8
//////////////////////////////////////////////////////////////////////////////
9
10
#include "
lardata/ArtDataHelper/MVAWrapperBase.h
"
11
12
#include <cxxabi.h>
13
#include <algorithm>
14
15
namespace
anab {
16
17
std::string
FVectorWrapperBase::getProductName
(std::type_info
const
& ti)
const
18
{
19
char
* realname;
20
int
status;
21
22
realname = abi::__cxa_demangle(ti.name(), 0, 0, &status);
23
std::string pname(realname);
24
free(realname);
25
26
pname.erase(
std::remove
(pname.begin(), pname.end(),
' '
), pname.end() );
27
pname.erase(
std::remove
(pname.begin(), pname.end(),
':'
), pname.end() );
28
29
return
pname;
30
}
31
32
}
// namespace anab
anab::FVectorWrapperBase::getProductName
std::string getProductName(std::type_info const &ti) const
Definition:
MVAWrapperBase.cxx:17
python.larbatch_posix.remove
def remove
Definition:
larbatch_posix.py:715
MVAWrapperBase.h
Generated by
1.8.5