LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
SelectorBase.h
Go to the documentation of this file.
1
#ifndef art_Framework_Principal_SelectorBase_h
2
#define art_Framework_Principal_SelectorBase_h
3
4
/*----------------------------------------------------------------------
5
6
Selector: Base class for all "selector" objects, used to select
7
EDProducts based on information in the associated Provenance.
8
9
Developers who make their own Selectors should inherit from SelectorBase.
10
11
----------------------------------------------------------------------*/
12
13
#include "
art/Framework/Principal/fwd.h
"
14
15
namespace
art
{
16
class
BranchDescription;
17
}
18
19
class
art::SelectorBase
{
20
public
:
21
virtual
~SelectorBase
();
22
bool
23
match
(
BranchDescription
const
& p)
const
24
{
25
return
doMatch
(p);
26
}
27
virtual
SelectorBase
*
clone
()
const
= 0;
28
29
private
:
30
virtual
bool
doMatch
(
BranchDescription
const
& p)
const
= 0;
31
};
32
33
#endif
/* art_Framework_Principal_SelectorBase_h */
34
35
// Local Variables:
36
// mode: c++
37
// End:
art::SelectorBase::~SelectorBase
virtual ~SelectorBase()
Definition:
SelectorBase.cc:15
fwd.h
art::BranchDescription
Definition:
BranchDescription.h:52
art::SelectorBase::doMatch
virtual bool doMatch(BranchDescription const &p) const =0
art::SelectorBase::clone
virtual SelectorBase * clone() const =0
art
HLT enums.
Definition:
ServiceProviderWrappers.h:36
art::SelectorBase::match
bool match(BranchDescription const &p) const
Definition:
SelectorBase.h:23
art::SelectorBase
Definition:
SelectorBase.h:19
art
Framework
Principal
SelectorBase.h
Generated on Wed Dec 12 2018 14:42:33 for LArSoft by
1.8.11