|
pflib v3.15.1-5-ge6391b0
Pretty Fine HGCROC Interaction Library
|
decoder for data files written by rogue More...
Public Member Functions | |
| CaloCSVWriter (const std::string &filepath, int nlinks, int contrib_id, int only_econd=-1, bool with_cm=false, std::unique_ptr< pflib::packing::SingleECONDRocErxMapping > mapping={}, bool kept_only=false) | |
| void | acceptFrame (std::shared_ptr< rogue::interfaces::stream::Frame > frame) override |
| void | write_kept () |
| only channels the ECON-D kept (ZS runs): ADC or TOT above 0 | |
Private Attributes | |
| pflib::logging::logger | the_log_ {pflib::logging::get("CaloCSVWriter")} |
| std::ofstream | output_ |
| int | contrib_id_ {0} |
| int | only_econd_ {-1} |
| bool | with_cm_ {false} |
| bool | kept_only_ {false} |
| std::unique_ptr< pflib::packing::SingleECONDRocErxMapping > | mapping_ |
| pflib::packing::MultiSampleECONDEventPacket | ep_ |
decoder for data files written by rogue
Accept frames from the rogue stream reader, filtering out non-Ecal stuff and then write out the ECOND event packet to the CSV