10#ifndef CRIB_TMUXDATAMAPPINGPROCESSOR_H_
11#define CRIB_TMUXDATAMAPPINGPROCESSOR_H_
13#include <TProcessor.h>
18class TCategorizedData;
63 void Init(TEventCollection *col)
override;
A processor for mapping categorized data to TMUXData objects.
~TMUXDataMappingProcessor() override
Destructor.
Int_t fCatID
Category ID used for filtering input data.
void Init(TEventCollection *col) override
Initializes the processor with the provided event collection.
TCategorizedData ** fCategorizedData
! Pointer to the categorized data collection.
TString fOutputColName
Name of the output TMUXData collection.
TMUXDataMappingProcessor & operator=(const TMUXDataMappingProcessor &)=delete
TMUXDataMappingProcessor()
Constructor.
TClonesArray * fOutData
! Pointer to the output TMUXData array.
int ProcessDetectorData(const TObjArray *det_array, TMUXData *mux)
Processes data for a single detector.
void Process() override
Processes the categorized data and maps it to TMUXData.
TString fCategorizedDataName
Name of the input categorized data collection.
TMUXDataMappingProcessor(const TMUXDataMappingProcessor &)=delete
ClassDefOverride(TMUXDataMappingProcessor, 2)
ROOT macro for class definition.
Represents data from the MUX module (E1, E2, P1, P2, T).