LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Dummy.cc
Go to the documentation of this file.
1
// Common materials used throughout the simulation
2
3
#include "
art/Framework/Core/ProducesCollector.h
"
4
#include "
artg4tk/services/Dummy_service.hh
"
5
#include "
messagefacility/MessageLogger/MessageLogger.h
"
6
7
#include <iostream>
8
9
artg4tk::DummyService::DummyService
(
fhicl::ParameterSet
const
&)
10
{
11
std::cout <<
"DummyService has been constructed!"
<< std::endl;
12
}
13
14
// Destructor
15
artg4tk::DummyService::~DummyService
() {}
16
17
void
18
artg4tk::DummyService::notifyArtOfProduction
(
art::ProducesCollector
& prod)
19
{
20
mf::LogDebug
(
"DummyService"
) <<
"running produces<int>()..."
;
21
prod.
produces
<
int
>();
22
mf::LogDebug
(
"DummyService"
) <<
"done!"
;
23
}
artg4tk::DummyService::DummyService
DummyService(fhicl::ParameterSet const &)
Definition:
Dummy.cc:9
artg4tk::DummyService::~DummyService
~DummyService()
Definition:
Dummy.cc:15
ProducesCollector.h
art::ProducesCollector
Definition:
ProducesCollector.h:55
MessageLogger.h
artg4tk::DummyService::notifyArtOfProduction
void notifyArtOfProduction(art::ProducesCollector &prod)
Definition:
Dummy.cc:18
Dummy_service.hh
art::ProducesCollector::produces
void produces(std::string const &instanceName={}, Persistable const persistable=Persistable::Yes)
Definition:
ProducesCollector.h:88
mf::LogDebug
MaybeLogger_< ELseverityLevel::ELsev_success, false > LogDebug
Definition:
MessageLogger.h:208
fhicl::ParameterSet
Definition:
ParameterSet.h:36
artg4tk
v12_00_03
source
artg4tk
services
Dummy.cc
Generated on Thu May 2 2024 20:59:30 for LArSoft by
1.8.11