|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef PROMPT_VARHOLDER_H
8 #define PROMPT_VARHOLDER_H
74 const std::string&
str,
75 const std::string& tok);
98 typedef std::map<Def::Var, std::string>
VarMap;
113 double getVar (
const unsigned key)
const;
133 std::vector<Prompt::Def::Var>
readVars(
const std::string &
config);
135 const std::vector<std::string> &
keys
202 using namespace asg::msgUserCode;
217 if(vit->getKey() ==
key) {
281 #endif // PROMPT_VARHOLDER_H
JetConstituentVector::iterator iterator
char data[hepevt_bytes_allocation_ATLAS]
std::string find(const std::string &s)
return a remapped string
bool addVar(unsigned key, double value)
Adds a variable to the VarHolder.
Prompt::Def::Var registerDynamicVar(const std::string &name)
std::vector< Prompt::VarEntry > VarEntryVec
bool operator<(const VarEntry &lhs, const VarEntry &rhs)
double getVar(const unsigned key) const
std::string convert2Str(const Prompt::Def::Var var) const
static std::string getObjectType()
bool hasVar(unsigned key) const
void StringTok(std::vector< std::string > &ls, const std::string &str, const std::string &tok)
std::vector< Prompt::Def::Var > readVectorVars(const std::vector< std::string > &keys)
std::vector< Prompt::Def::Var > m_varEnums
bool delVar(unsigned key)
bool registerVar(Prompt::Def::Var var, const std::string &name)
@ Ptvarcone30_TightTTVA_pt500rel
bool operator==(const VarEntry &lhs, const VarEntry &rhs)
std::map< Def::Var, std::string > VarMap
bool hasKey(unsigned key) const
@ CandVertex_normDistToPriVtxLongitudinalBest
bool replaceVar(unsigned key, double value)
@ CandVertex_normDistToPriVtxLongitudinalBest_ThetaCutVtx
Prompt::Def::Var convert2Var(const std::string &var)
std::vector< Prompt::Def::Var > readVars(const std::string &config)
std::string asStr(const uint32_t key, const double val)