CbmRoot
CbmMvdSensorTrackingBuffer.h
Go to the documentation of this file.
1 // ------------------------------------------------------------------------
2 // ----- CbmMvdSensorTrackingBuffer header file -----
3 // ----- Created 14/02/12 by P. Stizmann -----
4 // ------------------------------------------------------------------------
5 
12 #ifndef CBMMVDSENSORTRACKINGBUFFER_H
13 #define CBMMVDSENSORTRACKINGBUFFER_H 1
14 
15 
16 #include "CbmMvdSensor.h"
17 #include "CbmMvdSensorBuffer.h"
18 #include "TObject.h"
19 
20 #include "CbmMvdHit.h"
21 
22 class TClonesArray;
23 class CbmMvdSensor;
24 
26 
27 public:
30 
33 
35  //=======================================================
36 
40  virtual void SetInputArray(TClonesArray* inputStream);
41 
42  virtual TClonesArray* GetOutputArray() {
43  SetPluginReady(false);
44  return fCurrentEvent;
45  };
46 
47 
49  //=======================================================
50 
51  virtual void InitBuffer(CbmMvdSensor* mySensor);
52  virtual void ExecChain();
53  virtual void BuildTimeSlice(Double_t tStart, Double_t tStop);
54  virtual void Finish() { ; };
55 
56 
57  virtual void ClearTimeSlice(Double_t tStart, Double_t tStop);
58 
59 
60 private:
61  Int_t ftimeStart;
62  Int_t ftimeStop;
63  Int_t ftimestep;
65 };
66 
67 
68 #endif
CbmMvdSensorTrackingBuffer::ftimeStop
Int_t ftimeStop
Definition: CbmMvdSensorTrackingBuffer.h:62
CbmMvdSensorTrackingBuffer
Definition: CbmMvdSensorTrackingBuffer.h:25
CbmMvdSensorBuffer::fCurrentEvent
TClonesArray * fCurrentEvent
Definition: CbmMvdSensorBuffer.h:82
CbmMvdSensor.h
CbmMvdSensorTrackingBuffer::GetOutputArray
virtual TClonesArray * GetOutputArray()
Definition: CbmMvdSensorTrackingBuffer.h:42
CbmMvdSensorTrackingBuffer::Finish
virtual void Finish()
Definition: CbmMvdSensorTrackingBuffer.h:54
CbmMvdSensorTrackingBuffer::ftimestep
Int_t ftimestep
Definition: CbmMvdSensorTrackingBuffer.h:63
CbmMvdSensorTrackingBuffer::InitBuffer
virtual void InitBuffer(CbmMvdSensor *mySensor)
Definition: CbmMvdSensorTrackingBuffer.cxx:22
CbmMvdSensor
Definition: CbmMvdSensor.h:40
CbmMvdSensorTrackingBuffer::ClassDef
ClassDef(CbmMvdSensorTrackingBuffer, 1)
CbmMvdSensorTrackingBuffer::ftimeStart
Int_t ftimeStart
Definition: CbmMvdSensorTrackingBuffer.h:61
CbmMvdSensorTrackingBuffer::~CbmMvdSensorTrackingBuffer
virtual ~CbmMvdSensorTrackingBuffer()
Definition: CbmMvdSensorTrackingBuffer.cxx:14
CbmMvdSensorTrackingBuffer::ExecChain
virtual void ExecChain()
Definition: CbmMvdSensorTrackingBuffer.cxx:35
CbmMvdSensorTrackingBuffer::SetInputArray
virtual void SetInputArray(TClonesArray *inputStream)
Definition: CbmMvdSensorTrackingBuffer.cxx:114
CbmMvdSensorPlugin::SetPluginReady
void SetPluginReady(bool flag)
Definition: CbmMvdSensorPlugin.h:60
CbmMvdHit.h
CbmMvdSensorTrackingBuffer::BuildTimeSlice
virtual void BuildTimeSlice(Double_t tStart, Double_t tStop)
Definition: CbmMvdSensorTrackingBuffer.cxx:70
CbmMvdSensorTrackingBuffer::CbmMvdSensorTrackingBuffer
CbmMvdSensorTrackingBuffer()
Definition: CbmMvdSensorTrackingBuffer.cxx:9
CbmMvdSensorBuffer.h
CbmMvdSensorTrackingBuffer::ClearTimeSlice
virtual void ClearTimeSlice(Double_t tStart, Double_t tStop)
Definition: CbmMvdSensorTrackingBuffer.cxx:95
CbmMvdSensorBuffer
Definition: CbmMvdSensorBuffer.h:28