Definition at line 16 of file PtrMakerAnalyzer_module.cc.
PtrMakerAnalyzer::PtrMakerAnalyzer |
( |
fhicl::ParameterSet const & |
p | ) |
|
|
explicit |
void PtrMakerAnalyzer::analyze |
( |
art::Event const & |
e | ) |
|
|
override |
Definition at line 46 of file PtrMakerAnalyzer_module.cc.
48 std::cerr <<
"PtrMakerAnalyzer is running\n";
49 art::Handle<intptrvector_t>
h;
51 size_t sz = h->size();
53 throw cet::exception(
"SizeMismatch")
54 <<
"Expected a PtrVector of size " << nvalues
55 <<
" but the obtained size is " << sz
59 int eid =
e.id().event();
63 for (
int i = 0; i <
nvalues; ++i) {
64 assert(*
local[i] == eid*i);
BEGIN_PROLOG could also be cerr
art::PtrVector< int > intptrvector_t
std::string PtrMakerAnalyzer::fInputLabel |
|
private |
int PtrMakerAnalyzer::nvalues |
|
private |
The documentation for this class was generated from the following file: