All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ParamHolder.cxx
Go to the documentation of this file.
1 #include "ParamHolder.h"
2 
3 namespace alternative {
4 
5  ParamHolder* ParamHolder::_me = nullptr;
6 
8  {
9  _hit_v.emplace_back(std::move(hit));
10  _hit_v.back().signal_id = _hit_v.size() - 1;
11  }
12 
13  const std::vector<alternative::TruthHit>& ParamHolder::TruthHitArray() const
14  { return _hit_v; }
15 
17  { _hit_v.clear(); }
18 }
static ParamHolder * _me
Definition: ParamHolder.h:38
void Register(alternative::TruthHit &&hit)
Definition: ParamHolder.cxx:7
process_name hit
Definition: cheaterreco.fcl:51
std::vector< alternative::TruthHit > _hit_v
Definition: ParamHolder.h:39
const std::vector< alternative::TruthHit > & TruthHitArray() const
Definition: ParamHolder.cxx:13