All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ICARUSPhotonMappingTransformations_tool.cc File Reference

A photon mapping identity transformation: toolification. More...

#include "icaruscode/PMT/LibraryMappingTools/ICARUSPhotonMappingTransformations.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
April 3, 2019
See Also
icaruscode/PMT/LibraryMappingTools/ICARUSPhotonMappingTransformations.h icaruscode/PMT/LibraryMappingTools/ICARUSPhotonMappingTransformations.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::ICARUSPhotonMappingTransformations 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 ICARUSPhotonMappingTransformations_tool.cc.