Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
art
art
test
Integration
fastclonefail
v11
ClonedProdAnalyzer_module.cc
Go to the documentation of this file.
1
#include "
art/Framework/Core/EDAnalyzer.h
"
2
#include "
art/Framework/Core/ModuleMacros.h
"
3
#include "
art/Framework/Principal/Event.h
"
4
#include "
art/Framework/Principal/Handle.h
"
5
#include "
art/test/Integration/fastclonefail/v11/ClonedProd.h
"
6
#include "
fhiclcpp/ParameterSet.h
"
7
8
using namespace
art
;
9
using namespace
fhicl
;
10
using namespace
std
;
11
12
namespace
arttest
{
13
14
class
ClonedProdAnalyzer
:
public
EDAnalyzer
{
15
16
public
:
17
explicit
ClonedProdAnalyzer
(
ParameterSet
const
&);
18
void
analyze
(
Event
const
&)
override
;
19
};
20
21
ClonedProdAnalyzer::ClonedProdAnalyzer(
ParameterSet
const
& pset)
22
:
EDAnalyzer
(pset)
23
{}
24
25
void
26
ClonedProdAnalyzer::analyze
(
Event
const
&
e
)
27
{
28
Handle<ClonedProd>
h
;
29
e.
getByLabel
(
"ClonedProdProducer"
, h);
30
}
31
32
}
// namespace arttest
33
34
DEFINE_ART_MODULE
(
arttest::ClonedProdAnalyzer
)
rootstat.analyze
def analyze(root, level, gtrees, gbranches, doprint)
Definition:
rootstat.py:67
Handle.h
std
STL namespace.
art::Handle
Definition:
fwd.h:19
arttest::ClonedProdAnalyzer::analyze
void analyze(Event const &) override
Definition:
ClonedProdAnalyzer_module.cc:26
arttest::ClonedProdAnalyzer
Definition:
ClonedProdAnalyzer_module.cc:14
ParameterSet.h
art::DataViewImpl::getByLabel
bool getByLabel(std::string const &label, std::string const &instance, Handle< PROD > &result) const
Definition:
DataViewImpl.h:435
e
const double e
Definition:
gUpMuFluxGen.cxx:165
DEFINE_ART_MODULE
#define DEFINE_ART_MODULE(klass)
Definition:
ModuleMacros.h:68
fhicl
parameter set interface
Definition:
prune_configuration.h:9
arttest
Definition:
GroupSelector_t.h:4
ClonedProd.h
EDAnalyzer.h
ModuleMacros.h
art::Event
Definition:
Event.h:40
art::EDAnalyzer
Definition:
EDAnalyzer.h:22
art
Definition:
BasicOptionsHandler.h:11
Event.h
train_cnn.h
h
training ###############################
Definition:
train_cnn.py:186
fhicl::ParameterSet
Definition:
ParameterSet.h:34
Generated by
1.8.11