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.

Author

Marco Milesi (marco.milesi@cern.ch) If the optional parameters aren’t specified, the function will just make a full copy of the input container into the output one.

Parameters
  • [in] intCont: input container

  • [inout] outCont: output container

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

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