Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
larsim
larsim
PhotonPropagation
LibraryMappingTools
PhotonMappingIdentityTransformations_tool.cc
Go to the documentation of this file.
1
/**
2
* @file larsim/PhotonPropagation/LibraryMappingTools/PhotonMappingIdentityTransformations_tool.cc
3
* @brief A photon mapping identity transformation: toolification.
4
* @author Gianluca Petrillo (petrillo@slac.stanford.edu)
5
* @date March 20, 2019
6
* @see `larsim/PhotonPropagation/LibraryMappingTools/PhotonMappingIdentityTransformations.h`
7
* `larsim/PhotonPropagation/LibraryMappingTools/PhotonMappingIdentityTransformations.cxx`
8
*
9
* Note that the separation of the code into a implementation and a tool part
10
* is not because of factorization to have art-independent code, but because
11
* we want this object to be customizable by inheritance.
12
* An _art_ tool derived from `phot::PhotonMappingIdentityTransformations` class
13
* must link with the library where its implementation is defined. When that
14
* library also contains the registration of the tool into the _art_ framework
15
* (`DEFINE_ART_CLASS_TOOL()` macro), the functions registering the base tool
16
* will conflict with the ones for the registration of the derived tool.
17
*
18
*/
19
20
21
// LArSoft libraries
22
#include "
larsim/PhotonPropagation/LibraryMappingTools/PhotonMappingIdentityTransformations.h
"
23
24
// framework libraries
25
#include "
art/Utilities/ToolMacros.h
"
26
27
28
//------------------------------------------------------------------------------
29
DEFINE_ART_CLASS_TOOL
(
phot::PhotonMappingIdentityTransformations
)
30
31
32
//------------------------------------------------------------------------------
33
DEFINE_ART_CLASS_TOOL
#define DEFINE_ART_CLASS_TOOL(tool)
Definition:
ToolMacros.h:42
phot::PhotonMappingIdentityTransformations
Trivial photon mapping transformation.
Definition:
PhotonMappingIdentityTransformations.h:39
ToolMacros.h
PhotonMappingIdentityTransformations.h
A photon mapping identity transformation.
Generated by
1.8.11