Template Function HelperFunctions::makeSubsetCont(T1 *&, T2 *&, MsgStream&, const std::string&, HelperClasses::ToolName)

Function Documentation

template<typename T1, typename T2>
StatusCode HelperFunctions::makeSubsetCont(T1 *&intCont, T2 *&outCont, MsgStream &msg, const std::string &flagSelect = "", HelperClasses::ToolName tool_name = HelperClasses::ToolName::DEFAULT)

Function to copy a subset of a generic input xAOD container into a generic output xAOD container.

If the optional parameters aren’t specified, the function will just make a full copy of the input container into the output one.

Author

Marco Milesi (marco.milesi@cern.ch)

Parameters
  • intCont[in] input container

  • outCont[inout] output container

  • flagSelect[in] (optional) the name of the decoration for objects passing a certain selection (e.g. “passSel”, “overlaps” …). When explicitly specified, it must not be empty.

  • tool_name[in] (optional) an enum specifying the tool type which is calling this function (definition in HelperClasses::ToolName)