Skip to content
Snippets Groups Projects
Commit 51ca041b authored by lintao@ihep.ac.cn's avatar lintao@ihep.ac.cn
Browse files

WIP: add an implementation.

parent 8c308f63
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,9 @@ gaudi_add_module(GenAlgo
src/SLCIORdr.cpp
src/HepMCRdr.cpp
src/GtGunTool.cpp
# ------- Beam Background -------
src/GtBeamBackgroundTool.cpp
src/BeamBackgroundFileParserV0.cpp
LINK ${ROOT_LIBRARIES}
k4FWCore::k4FWCore
Gaudi::GaudiAlgLib
......
#include "BeamBackgroundFileParserV0.h"
BeamBackgroundFileParserV0::BeamBackgroundFileParserV0(const std::string& filename) {
m_input.open(filename.c_str());
}
bool BeamBackgroundFileParserV0::load(IBeamBackgroundFileParser::BeamBackgroundData& result) {
return true;
}
#ifndef BeamBackgroundFileParserV0_h
#define BeamBackgroundFileParserV0_h
#include "IBeamBackgroundFileParser.h"
#include <fstream>
class BeamBackgroundFileParserV0: public IBeamBackgroundFileParser {
public:
BeamBackgroundFileParserV0(const std::string& filename);
bool load(IBeamBackgroundFileParser::BeamBackgroundData&);
private:
std::ifstream m_input;
};
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment