- add cython .cpp files to .gitignore

- raweat.hpp: add empty constructor and introduce "set_file"
- rawmerge.hpp: add initial channel and write_table method
- add rawmeat example to pyt/example.py
- add raw_merger.hpp to main.cpp
This commit is contained in:
Mario Fink
2020-08-10 14:54:15 +02:00
parent 23f933f68e
commit 7316d59c2c
5 changed files with 120 additions and 8 deletions

View File

@@ -83,6 +83,27 @@ public:
this->setup_and_conversion(showlog);
}
raw_eater()
{
}
// provide/set new raw file
void set_file(std::string rawfile)
{
std::cout<<"raw_eater::set_file "<<rawfile<<"\n";
// set file
rawfile_ = rawfile;
// reset arrays
datasec_.clear();
segments_.clear();
datmes_.clear();
// do setup and conversion
setup_and_conversion(true);
}
// set up and conversion
void setup_and_conversion(bool showlog)
{