LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
A photon mapping identity transformation: toolification. More...
#include "larsim/PhotonPropagation/LibraryMappingTools/PhotonMappingIdentityTransformations.h"
#include "art/Utilities/ToolMacros.h"
Go to the source code of this file.
A photon mapping identity transformation: toolification.
larsim/PhotonPropagation/LibraryMappingTools/PhotonMappingIdentityTransformations.h
larsim/PhotonPropagation/LibraryMappingTools/PhotonMappingIdentityTransformations.cxx
Note that the separation of the code into a implementation and a tool part is not because of factorization to have art-independent code, but because we want this object to be customizable by inheritance. An art tool derived from phot::PhotonMappingIdentityTransformations
class must link with the library where its implementation is defined. When that library also contains the registration of the tool into the art framework (DEFINE_ART_CLASS_TOOL()
macro), the functions registering the base tool will conflict with the ones for the registration of the derived tool.
Definition in file PhotonMappingIdentityTransformations_tool.cc.