CbmRoot
CbmMvdSensorBuffer.cxx
Go to the documentation of this file.
1
// -------------------------------------------------------------------------
2
// ----- CbmMvdSensorBuffer source file -----
3
// ----- Created 02.02.2012 by M. Deveaux -----
4
// -------------------------------------------------------------------------
5
#include "
CbmMvdSensorBuffer.h
"
6
7
#include "TClonesArray.h"
8
#include "TObjArray.h"
9
10
11
// ----- Default constructor -------------------------------------------
12
CbmMvdSensorBuffer::CbmMvdSensorBuffer
()
13
:
CbmMvdSensorPlugin
(), fBuffer(NULL), fCurrentEvent(NULL), fSensor(NULL) {}
14
// -------------------------------------------------------------------------
15
16
// ----- Destructor ----------------------------------------------------
17
CbmMvdSensorBuffer::~CbmMvdSensorBuffer
() {
18
fBuffer
->Delete();
19
delete
fBuffer
;
20
}
21
// -------------------------------------------------------------------------
22
23
void
CbmMvdSensorBuffer::Clear
(Option_t* opt) {
24
if
(
fBuffer
) {
fBuffer
->Clear(); }
25
if
(
fCurrentEvent
) {
fCurrentEvent
->Clear(); }
26
}
27
28
ClassImp
(
CbmMvdSensorBuffer
)
CbmMvdSensorBuffer::CbmMvdSensorBuffer
CbmMvdSensorBuffer()
Definition:
CbmMvdSensorBuffer.cxx:12
CbmMvdSensorBuffer::fCurrentEvent
TClonesArray * fCurrentEvent
Definition:
CbmMvdSensorBuffer.h:82
CbmMvdSensorPlugin
Definition:
CbmMvdSensorPlugin.h:24
CbmMvdSensorBuffer::Clear
virtual void Clear(Option_t *="")
Definition:
CbmMvdSensorBuffer.cxx:23
CbmMvdSensorBuffer::fBuffer
TClonesArray * fBuffer
Definition:
CbmMvdSensorBuffer.h:78
ClassImp
ClassImp(CbmConverterManager) InitStatus CbmConverterManager
Definition:
CbmConverterManager.cxx:12
CbmMvdSensorBuffer.h
CbmMvdSensorBuffer::~CbmMvdSensorBuffer
virtual ~CbmMvdSensorBuffer()
Definition:
CbmMvdSensorBuffer.cxx:17
CbmMvdSensorBuffer
Definition:
CbmMvdSensorBuffer.h:28
mvd
plugins
buffers
CbmMvdSensorBuffer.cxx
Generated on Wed Oct 28 2020 15:11:43 for CbmRoot by
1.8.18