PhotonMappingIdentityTransformations_tool.cc File Reference

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.

Detailed Description

A photon mapping identity transformation: toolification.

Author
Gianluca Petrillo (petri.nosp@m.llo@.nosp@m.slac..nosp@m.stan.nosp@m.ford..nosp@m.edu)
Date
March 20, 2019
See also
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.