10#ifndef CRIB_TBRANCHCOPYPROCESSOR_H_
11#define CRIB_TBRANCHCOPYPROCESSOR_H_
13#include <TProcessor.h>
53 void Init(TEventCollection *col)
override;
Processor for copying data from one TClonesArray to another.
TBranchCopyProcessor()
Constructor.
~TBranchCopyProcessor() override
Destructor.
TString fInputColName
Name of the input collection.
ClassDefOverride(TBranchCopyProcessor, 2)
ROOT class definition macro.
TClonesArray ** fInData
! Pointer to the input data
TClonesArray * fOutData
! Pointer to the output data.
TBranchCopyProcessor(const TBranchCopyProcessor &)=delete
TString fOutputColName
Name of the output collection.
void Process() override
Processes the data by copying from input to output collection.
TBranchCopyProcessor & operator=(const TBranchCopyProcessor &)=delete
void Init(TEventCollection *col) override
Initializes the processor with the given event collection.