Skip to content
Snippets Groups Projects
CEPCDataSvc.cpp 609 B
Newer Older
#include "CEPCDataSvc.h"

#include "GaudiKernel/IConversionSvc.h"
#include "GaudiKernel/ISvcLocator.h"
#include "GaudiKernel/SvcFactory.h"

// Instantiation of a static factory class used by clients to create
// instances of this service
DECLARE_SERVICE_FACTORY(CEPCDataSvc)

/// Standard Constructor
CEPCDataSvc::CEPCDataSvc(const std::string& name, ISvcLocator* svc)
    : PodioDataSvc(name, svc)
{
  declareProperty("inputs", m_filenames = {}, "Names of the files to read");
  declareProperty("input", m_filename = "", "Name of the file to read");
}

/// Standard Destructor
CEPCDataSvc::~CEPCDataSvc() {}