|
ATLAS Offline Software
|
Go to the documentation of this file.
31 const std::string&
name,
36 m_map (this, m_targetLabel, m_targetLabels, m_registry, m_allowMissing)
39 "Label of the collection getter defining the collection "
40 "within which to index.");
42 "List of labels of collection getters defining the "
43 "collections within which to index. "
44 "If Target is non-empty, it is considered to come "
45 "at the start of this list.");
47 "Variable name to use for the index of the container "
48 "in which the object was found. Useful if more than "
49 "one target container is specified. Omitted if this "
51 declareProperty (
"CollectionGetterRegistry",
m_registry,
52 "The ICollectionGetterRegistryTool instance.");
54 "If true, then it is not considered an error for the "
55 "target getter to fail to find the input objects.");
67 return StatusCode::SUCCESS;
81 const std::type_info& ti)
89 <<
"Not booking index variable because no association targets exist: "
93 return StatusCode::SUCCESS;
105 std::string indexdoc =
"Index in ";
106 std::string contdoc =
"Container index: ";
119 std::ostringstream
s;
131 return StatusCode::SUCCESS;
176 return StatusCode::SUCCESS;
ICollectionGetterTool * target()
Return the getter defining the first collection within which to index.
std::string formatLabels() const
Return list of all configured targets as a comma-separated string.
Common interface for adding a variable to a tuple.
virtual const std::type_info & elementTypeinfo() const =0
Return the element type of the collection.
std::pair< int, int > findIndexPair(const void *p)
Find the (index,container) pair corresponding to an element.
StatusCode reset()
Call before asking for an index. Rebuilds cache if needed.
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.
Block filler tool for noisy FEB information.
::StatusCode StatusCode
StatusCode definition for legacy code.
#define CHECK(...)
Evaluate an expression and check for errors.
StatusCode configureD3PD()
Configure during initialization: type-check.
Helpers for checking error return status codes and reporting errors.
#define REPORT_MESSAGE(LVL)
Report a message.