CbmRoot
CbmMvdSensorTask.h
Go to the documentation of this file.
1 // ------------------------------------------------------------------------
2 // ----- CbmMvdSensorTask header file -----
3 // ----- Created 02/02/12 by M. Deveaux -----
4 // ------------------------------------------------------------------------
5 
13 #ifndef CBMMVDSENSORTASK_H
14 #define CBMMVDSENSORTASK_H 1
15 
16 #include "TObject.h"
18 #include <iostream>
19 
20 
21 class TClonesArray;
22 class CbmMvdSensor;
23 class CbmMvdPoint;
24 class CbmMvdDigi;
25 
27 
28 public:
31  CbmMvdSensorTask(const char* name);
32 
34  virtual ~CbmMvdSensorTask();
35 
36 
37  virtual void SendInputBuffer(TClonesArray* inputBuffer) {
38  fInputBuffer = inputBuffer;
39  };
40  virtual void SetInput(CbmMvdPoint*) { ; };
41  virtual void SetInputDigi(CbmMvdDigi*) { ; };
42  virtual void CallBufferForInputData() {
43  ;
44  }; //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 
56 protected:
57  TClonesArray* fInputBuffer; // Buffer of background events
58  TClonesArray* fOutputBuffer;
60 
61 private:
64 
66 };
67 
68 
69 #endif
CbmMvdSensorTask::GetPluginType
MvdSensorPluginType GetPluginType()
Definition: CbmMvdSensorTask.h:53
CbmMvdSensorTask::fSensor
CbmMvdSensor * fSensor
Definition: CbmMvdSensorTask.h:59
CbmMvdSensorTask::Exec
virtual void Exec()
Definition: CbmMvdSensorTask.h:48
CbmMvdSensorTask::SetInput
virtual void SetInput(CbmMvdPoint *)
Definition: CbmMvdSensorTask.h:40
CbmMvdSensorTask::CallBufferForInputData
virtual void CallBufferForInputData()
Definition: CbmMvdSensorTask.h:42
CbmMvdSensorPlugin
Definition: CbmMvdSensorPlugin.h:24
CbmMvdSensorPlugin.h
CbmMvdSensorTask::fOutputBuffer
TClonesArray * fOutputBuffer
Definition: CbmMvdSensorTask.h:58
CbmMvdSensorTask::InitTask
virtual void InitTask(CbmMvdSensor *mySensor)
Definition: CbmMvdSensorTask.h:47
CbmMvdSensorTask::ExecChain
virtual void ExecChain()
Definition: CbmMvdSensorTask.h:50
CbmMvdSensorTask
Definition: CbmMvdSensorTask.h:26
CbmMvdSensor
Definition: CbmMvdSensor.h:40
CbmMvdPoint
Definition: CbmMvdPoint.h:28
CbmMvdSensorTask::CbmMvdSensorTask
CbmMvdSensorTask(const CbmMvdSensorTask &)
CbmMvdSensorTask::SendInputBuffer
virtual void SendInputBuffer(TClonesArray *inputBuffer)
Definition: CbmMvdSensorTask.h:37
MvdSensorPluginType
MvdSensorPluginType
Definition: CbmMvdSensorPlugin.h:22
task
@ task
Definition: CbmMvdSensorPlugin.h:22
CbmMvdSensorTask::ClassDef
ClassDef(CbmMvdSensorTask, 1)
CbmMvdSensorTask::fInputBuffer
TClonesArray * fInputBuffer
Definition: CbmMvdSensorTask.h:53
CbmMvdSensorTask::operator=
CbmMvdSensorTask operator=(const CbmMvdSensorTask &)
CbmMvdSensorTask::~CbmMvdSensorTask
virtual ~CbmMvdSensorTask()
Definition: CbmMvdSensorTask.cxx:27
CbmMvdDigi
Definition: CbmMvdDigi.h:21
CbmMvdSensorTask::PluginReady
virtual bool PluginReady()
Definition: CbmMvdSensorTask.h:51
CbmMvdSensorTask::SetInputDigi
virtual void SetInputDigi(CbmMvdDigi *)
Definition: CbmMvdSensorTask.h:41
CbmMvdSensorTask::Finish
virtual void Finish()
Definition: CbmMvdSensorTask.h:49
CbmMvdSensorTask::CbmMvdSensorTask
CbmMvdSensorTask()
Definition: CbmMvdSensorTask.cxx:12
CbmMvdSensorTask::GetOutputArray
virtual TClonesArray * GetOutputArray()
Definition: CbmMvdSensorTask.h:45