ATTPCROOT  0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
AtFilter.cxx
Go to the documentation of this file.
1 #include "AtFilter.h"
2 
3 #include "AtRawEvent.h"
4 
5 #include <TClonesArray.h>
6 
7 AtRawEvent *AtFilter::ConstructOutputEvent(TClonesArray *fOutputEventArray, AtRawEvent *inputEvent)
8 {
9  return new ((*fOutputEventArray)[0]) AtRawEvent(*inputEvent); // NOLINT (ROOT owns memory)
10 }
AtRawEvent.h
AtRawEvent
Definition: AtRawEvent.h:34
AtFilter.h
AtFilter::ConstructOutputEvent
virtual AtRawEvent * ConstructOutputEvent(TClonesArray *outputEventArray, AtRawEvent *inputEvent)
Construct output event from input event array.
Definition: AtFilter.cxx:7