LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
ToolMacros.h File Reference
#include "cetlib/PluginTypeDeducer.h"
#include "cetlib/ProvideFilePathMacro.h"
#include "cetlib/compiler_macros.h"
#include "fhiclcpp/ParameterSet.h"
#include "fhiclcpp/types/AllowedConfigurationMacro.h"
#include "fhiclcpp/types/Atom.h"
#include <memory>
#include <string>
#include <type_traits>

Go to the source code of this file.

Classes

struct  art::detail::ToolConfig
 

Namespaces

 art
 HLT enums.
 
 art::detail
 

Macros

#define ART_PROVIDE_ALLOWED_CONFIGURATION_FUNCTION_TOOL()
 
#define DEFINE_ART_CLASS_TOOL(tool)
 
#define DEFINE_ART_FUNCTION_TOOL(tool, type)
 

Macro Definition Documentation

#define ART_PROVIDE_ALLOWED_CONFIGURATION_FUNCTION_TOOL ( )
Value:
std::unique_ptr<fhicl::ConfigurationTable> allowed_configuration( \
std::string const& name) \
{ \
return std::make_unique<fhicl::WrappedTable<art::detail::ToolConfig>>( \
fhicl::Name{name}); \
}

Definition at line 36 of file ToolMacros.h.

#define DEFINE_ART_CLASS_TOOL (   tool)
Value:
EXTERN_C_FUNC_DECLARE_START \
CET_PROVIDE_FILE_PATH() \
std::string toolType() { return "class"; } \
makeTool(fhicl::ParameterSet const& pset) \
{ \
return std::make_unique<tool>(pset); \
} \
EXTERN_C_FUNC_DECLARE_END
std::string value(boost::any const &)
#define FHICL_PROVIDE_ALLOWED_CONFIGURATION(klass)

Definition at line 45 of file ToolMacros.h.

Referenced by lar_cluster3d::MinSpanTreeAlg::CheckHitSorting(), lar_cluster3d::ClusterMergeAlg::closestApproach(), lar_cluster3d::ClusterPathFinder::closestApproach(), lar_cluster3d::StandardHit3DBuilder::CollectArtHits(), t0::IndirectHitParticleAssns::CreateHitParticleAssociations(), t0::DirectHitParticleAssns::CreateHitParticleAssociations(), evd_tool::StandardDrawer::DrawAxes(), evd_tool::MicroBooNEDrawer::DrawBadChannels(), evd_tool::ICARUSDrawer::DrawBadChannels(), lar_cluster3d::DBScanAlg::expandCluster(), lar_cluster3d::ConvexHullPathFinder::findConvexHullEndPoints(), lar_cluster3d::VoronoiPathFinder::findConvexHullEndPoints(), reco_tool::PeakFitterGaussElimination::findPeakParameters(), reco_tool::PeakFitterGaussian::findPeakParameters(), reco_tool::CandHitDerivative::findStopTick(), reco_tool::CandHitMorphological::findStopTick(), reco_tool::WaveformTools::getOpeningAndClosing(), lar_cluster3d::SpacePointHit3DBuilder::Hit3DBuilder(), reco_tool::CandHitStandard::MergeHitCandidates(), and trkmkr::KalmanFilterFitTrackMaker::restoreInputPoints().

#define DEFINE_ART_FUNCTION_TOOL (   tool,
  type 
)
Value:
EXTERN_C_FUNC_DECLARE_START \
CET_PROVIDE_FILE_PATH() \
std::string toolType() { return type; } \
auto toolFunction = tool; \
EXTERN_C_FUNC_DECLARE_END
#define ART_PROVIDE_ALLOWED_CONFIGURATION_FUNCTION_TOOL()
Definition: ToolMacros.h:36

Definition at line 57 of file ToolMacros.h.