CbmRoot
Loading...
Searching...
No Matches
CbmMvdSensorBuffer.h
Go to the documentation of this file.
1/* Copyright (C) 2014-2016 Institut fuer Kernphysik, Goethe-Universitaet Frankfurt, Frankfurt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Michael Deveaux, Philipp Sitzmann [committer], Florian Uhlig */
4
5// ------------------------------------------------------------------------
6// ----- CbmMvdSensorBuffer header file -----
7// ----- Created 02/02/12 by M. Deveaux -----
8// ------------------------------------------------------------------------
9
20#ifndef CBMMVDSENSORBUFFER_H
21#define CBMMVDSENSORBUFFER_H 1
22
23#include "CbmMvdSensorPlugin.h" // for MvdSensorPluginType, CbmMvdSensorPlugin
24
25#include <Rtypes.h> // for ClassDef
26#include <RtypesCore.h> // for Double_t, Option_t
27
28class CbmMvdSensor;
29class TBuffer;
30class TClass;
31class TClonesArray;
32class TMemberInspector;
33
35
36public:
39
41 virtual ~CbmMvdSensorBuffer();
42
44 //=======================================================
45
49 virtual void SendInputEvent(TClonesArray* /*inputStream*/) { ; };
50
55 virtual TClonesArray* GetOutputArray() { return fCurrentEvent; };
56
58 //=======================================================
59 virtual void ExecChain() { ; }
60 virtual void InitBuffer(CbmMvdSensor* mySensor) { fSensor = mySensor; };
61 virtual void BuildTimeSlice(Double_t /*tStart*/, Double_t /*tStop*/) { ; };
62 virtual void Finish() { ; };
63
64
73 virtual void Clear(Option_t* = "");
74
80 virtual void ClearTimeSlice(Double_t /*tStart*/, Double_t /*tStop*/) { ; };
81
82
85
86protected:
87 TClonesArray* fBuffer; // full data buffer
88 TClonesArray* fCurrentEvent;
90
91
92 virtual void BufferReady() { ; };
93
94private:
97
99};
100
101
102#endif
MvdSensorPluginType
CbmMvdSensorBuffer operator=(const CbmMvdSensorBuffer &)
virtual void ExecChain()
virtual void SendInputEvent(TClonesArray *)
virtual void Clear(Option_t *="")
TClonesArray * fCurrentEvent
virtual void InitBuffer(CbmMvdSensor *mySensor)
virtual void BufferReady()
ClassDef(CbmMvdSensorBuffer, 1)
MvdSensorPluginType GetPluginType()
CbmMvdSensorBuffer(const CbmMvdSensorBuffer &)
virtual void BuildTimeSlice(Double_t, Double_t)
virtual TClonesArray * GetOutputArray()
virtual void ClearTimeSlice(Double_t, Double_t)