CbmRoot
Loading...
Searching...
No Matches
CbmMvdSensorTask.h
Go to the documentation of this file.
1/* Copyright (C) 2014-2017 Institut fuer Kernphysik, Goethe-Universitaet Frankfurt, Frankfurt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Michael Deveaux, Philipp Sitzmann [committer] */
4
5// ------------------------------------------------------------------------
6// ----- CbmMvdSensorTask header file -----
7// ----- Created 02/02/12 by M. Deveaux -----
8// ------------------------------------------------------------------------
9
17#ifndef CBMMVDSENSORTASK_H
18#define CBMMVDSENSORTASK_H 1
19
20#include "CbmMvdSensorPlugin.h" // for MvdSensorPluginType, CbmMvdSensorPlugin
21
22#include <Rtypes.h> // for ClassDef
23
24class CbmMvdDigi;
25class CbmMvdSensor;
26class TBuffer;
27class TClass;
28class TClonesArray;
29class TMemberInspector;
30
32
33public:
36 CbmMvdSensorTask(const char* name);
37
39 virtual ~CbmMvdSensorTask();
40
41
42 virtual void SendInputBuffer(TClonesArray* inputBuffer) { fInputBuffer = inputBuffer; };
43 virtual void SetInputDigi(CbmMvdDigi*) { ; };
44 virtual void CallBufferForInputData() { ; }; //See comment in ExecChain() in .cxx
45 virtual TClonesArray* GetOutputArray() { return fOutputBuffer; };
46
47 virtual void InitTask(CbmMvdSensor* mySensor) { fSensor = mySensor; };
48 virtual void Exec() { ; };
49 virtual void Finish() { ; };
50 virtual void ExecChain() { ; };
51 virtual bool PluginReady() { return (true); };
54
55
56protected:
57 TClonesArray* fInputBuffer; // Buffer of background events
58 TClonesArray* fOutputBuffer;
60
61private:
64
66};
67
68
69#endif
MvdSensorPluginType
ClassDef(CbmMvdSensorTask, 1)
virtual void Exec()
virtual void SetInputDigi(CbmMvdDigi *)
CbmMvdSensorTask operator=(const CbmMvdSensorTask &)
virtual void Finish()
MvdSensorPluginType GetPluginType()
virtual void SendInputBuffer(TClonesArray *inputBuffer)
CbmMvdSensor * fSensor
virtual bool PluginReady()
TClonesArray * fOutputBuffer
virtual void CallBufferForInputData()
virtual void ExecChain()
TClonesArray * fInputBuffer
virtual TClonesArray * GetOutputArray()
CbmMvdSensorTask(const CbmMvdSensorTask &)
virtual void InitTask(CbmMvdSensor *mySensor)