#include <METCorrectorParameters.h>
|
std::vector< std::string > | binVar () const |
|
std::string | binVar (unsigned fIndex) const |
|
| Definitions () |
|
| Definitions (const std::vector< std::string > &fVar, const std::vector< std::string > &fParVar, const std::string &fFormula) |
|
| Definitions (const std::string &fLine) |
|
std::string | formula () const |
|
unsigned | nBinVar () const |
|
unsigned | nParVar () const |
|
std::vector< std::string > | parVar () const |
|
std::string | parVar (unsigned fIndex) const |
|
|
template<class Archive > |
void | serialize (Archive &ar, const unsigned int version) |
|
Definition at line 21 of file METCorrectorParameters.h.
METCorrectorParameters::Definitions::Definitions |
( |
| ) |
|
|
inline |
METCorrectorParameters::Definitions::Definitions |
( |
const std::vector< std::string > & |
fVar, |
|
|
const std::vector< std::string > & |
fParVar, |
|
|
const std::string & |
fFormula |
|
) |
| |
METCorrectorParameters::Definitions::Definitions |
( |
const std::string & |
fLine | ) |
|
Definition at line 31 of file METCorrectorParameters.cc.
References gather_cfg::cout, and i.
33 std::vector<std::string> tokens = getTokens(fLine);
37 if (tokens.size() < 6)
39 std::stringstream sserr;
40 sserr<<
"(line "<<fLine<<
"): less than 6 expected tokens:"<<tokens.size();
41 handleError(
"METCorrectorParameters::Definitions",sserr.str());
44 std::cout<<
"Definitions==========="<<std::endl;
47 unsigned nBinVar = getUnsigned(tokens[1]);
50 unsigned nParVar = getUnsigned(tokens[nBinVar+2]);
59 mParVar.push_back(tokens[nBinVar+3+
i]);
62 mFormula = tokens[nParVar+nBinVar+3];
63 std::cout<<tokens[nParVar+nBinVar+3]<<std::endl;
std::vector< std::string > mParVar
std::vector< std::string > mBinVar
std::vector<std::string> METCorrectorParameters::Definitions::binVar |
( |
| ) |
const |
|
inline |
std::string METCorrectorParameters::Definitions::binVar |
( |
unsigned |
fIndex | ) |
const |
|
inline |
std::string METCorrectorParameters::Definitions::formula |
( |
| ) |
const |
|
inline |
unsigned METCorrectorParameters::Definitions::nBinVar |
( |
| ) |
const |
|
inline |
unsigned METCorrectorParameters::Definitions::nParVar |
( |
| ) |
const |
|
inline |
std::vector<std::string> METCorrectorParameters::Definitions::parVar |
( |
| ) |
const |
|
inline |
std::string METCorrectorParameters::Definitions::parVar |
( |
unsigned |
fIndex | ) |
const |
|
inline |
template<class Archive >
void METCorrectorParameters::Definitions::serialize |
( |
Archive & |
ar, |
|
|
const unsigned int |
version |
|
) |
| |
|
private |
friend class boost::serialization::access |
|
friend |
template<typename CondSerializationT , typename Enabled >
std::vector<std::string> METCorrectorParameters::Definitions::mBinVar |
|
private |
std::string METCorrectorParameters::Definitions::mFormula |
|
private |
std::vector<std::string> METCorrectorParameters::Definitions::mParVar |
|
private |
int METCorrectorParameters::Definitions::ptclType |
|
private |