LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
GroupQueryResult.cc
Go to the documentation of this file.
1
// ======================================================================
2
//
3
// GroupQueryResult: A pointer-to-const-Group satisfying a query, or an
4
// exception object explaining a failed query.
5
//
6
// ======================================================================
7
8
#include "
art/Persistency/Common/GroupQueryResult.h
"
9
10
#include <cassert>
11
12
using
art::GroupQueryResult
;
13
14
// ----------------------------------------------------------------------
15
// c'tors:
16
17
GroupQueryResult::GroupQueryResult(cet::exempt_ptr<Group const> g) : result_{g}
18
{
19
assert(
invariant
());
20
}
21
22
GroupQueryResult::GroupQueryResult
(std::shared_ptr<art::Exception const>
e
)
23
:
whyFailed_
{e}
24
{
25
assert(
invariant
());
26
}
27
28
// ======================================================================
art::GroupQueryResult::invariant
bool invariant() const
Definition:
GroupQueryResult.h:62
art::GroupQueryResult
Definition:
GroupQueryResult.h:27
art::GroupQueryResult::GroupQueryResult
GroupQueryResult(cet::exempt_ptr< Group const >)
Definition:
GroupQueryResult.cc:17
art::GroupQueryResult::whyFailed_
std::shared_ptr< art::Exception const > whyFailed_
Definition:
GroupQueryResult.h:59
e
Float_t e
Definition:
plot.C:34
GroupQueryResult.h
art
Persistency
Common
GroupQueryResult.cc
Generated on Thu Jul 26 2018 13:09:43 for LArSoft by
1.8.11