|
ATLAS Offline Software
|
Go to the documentation of this file.
14 #ifndef D3PDMAKERUTILS_ADDVARIABLE_H
15 #define D3PDMAKERUTILS_ADDVARIABLE_H
61 const std::string& blockName,
62 const std::string&
suffix);
94 const std::type_info& ti,
96 const std::string& docstring =
"",
97 const void* defval = 0);
120 const std::type_info& ti,
122 const std::string&
dim,
123 const std::string& docstring =
"",
124 const void* defval = 0);
150 #endif // not D3PDMAKERUTILS_ADDVARIABLE_H
Common interface for adding a variable to a tuple.
Common implementation of IAddVariable.
StatusCode configureD3PD(IAddVariable *tree)
Configure the parent tree.
AddVariable(const std::string &prefix, const std::string &blockName=s_emptyString)
Constructor.
const std::string & m_suffix
Reference to the variable suffix.
const std::string & m_prefix
Reference to the variable prefix.
virtual StatusCode addVariable(const std::string &name, const std::type_info &ti, void *&ptr, const std::string &docstring="", const void *defval=0)
Add a variable to the tuple.
IAddVariable * m_tree
Reference to the block name.
virtual StatusCode addDimensionedVariable(const std::string &name, const std::type_info &ti, void *&ptr, const std::string &dim, const std::string &docstring="", const void *defval=0)
Add a variable to the tuple.
ObjectMetadata m_metadata
Metadata about the variables created by this object.
Block filler tool for noisy FEB information.
static const std::string s_emptyString
Used to provide a default value for blockName.
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode addVariable(const std::string &name, T *&ptr, const std::string &docstring="")
Add a variable to the tuple.
Common interface for adding a variable to a tuple.
StatusCode addDimensionedVariable(const std::string &name, T *&ptr, const std::string &dim, const std::string &docstring="")
Add a variable to the tuple.