12#ifndef RestCore_TRestRawReadoutAnalysisProcess
13#define RestCore_TRestRawReadoutAnalysisProcess
16#include <TRestDetectorGas.h>
17#include <TRestDetectorHitsEvent.h>
18#include <TRestDetectorReadout.h>
19#include <TRestRawSignalEvent.h>
21#include "TRestEventProcess.h"
36 std::string fModuleCanvasSave;
39 std::map<int, TH2D*> fModuleHitMaps;
56 RESTMetadata <<
"channel activity and hitmap histograms required for module: ";
57 auto iter2 = fModuleHitMaps.begin();
58 while (iter2 != fModuleHitMaps.end()) {
59 RESTMetadata << iter2->first <<
", ";
64 RESTMetadata <<
"path for output plots: " << fModuleCanvasSave <<
RESTendl;
69 const char* GetProcessName()
const override {
return "readoutAnalysis"; }
A metadata class to generate/store a readout description.
A base class for any REST event process.
void BeginPrintProcess()
[name, cut range]
A base class for any REST event.
void EndProcess() override
To be executed at the end of the run (outside event loop)
TRestEvent * ProcessEvent(TRestEvent *inputEvent) override
Process one event.
RESTValue GetOutputEvent() const override
Get pointer to output event. Must be implemented in the derived class.
void Initialize() override
Making default settings.
void PrintMetadata() override
Implemented it in the derived metadata class to print out specific metadata information.
void InitFromConfigFile() override
To make settings from rml file. This method must be implemented in the derived class.
std::map< int, TH1D * > fModuleActivityY
[MM id, channel activity]
std::map< int, TH2D * > fModuleBSLSigmaY
[MM id, channel activity]
RESTValue GetInputEvent() const override
[MM id, channel activity]
std::map< int, TH2D * > fModuleBSLSigmaX
[MM id, channel activity]
void InitProcess() override
To be executed at the beginning of the run (outside event loop)
std::map< int, TH1D * > fModuleActivityX
[MM id, channel activity]
An event container for time rawdata signals with fixed length.