DDASToys for NSCLDAQ  6.2-000
Functions
FitEditorTemplate.cpp File Reference

Implementation of the FitEditor class for template fitting. More...

#include "FitEditorTemplate.h"
#include <iostream>
#include <fstream>
#include <DDASHit.h>
#include <DDASHitUnpacker.h>
#include "Configuration.h"
#include "lmfit_template.h"
Include dependency graph for FitEditorTemplate.cpp:

Functions

ddastoys::FitEditorTemplatecreateEditor ()
 Factory method to create this FitEditor. More...
 

Detailed Description

Implementation of the FitEditor class for template fitting.

Function Documentation

◆ createEditor()

ddastoys::FitEditorTemplate* createEditor ( )

Factory method to create this FitEditor.

$DAQBIN/EventEditor expects a symbol called createEditor to exist in the plugin library it loads at runtime. Wrapping the factory method in extern "C" prevents namespace mangling by the C++ compiler.