CbmRoot
Loading...
Searching...
No Matches
CbmMvdSensorBuffer.cxx
Go to the documentation of this file.
1
/* Copyright (C) 2012-2015 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 source file -----
7
// ----- Created 02.02.2012 by M. Deveaux -----
8
// -------------------------------------------------------------------------
9
#include "
CbmMvdSensorBuffer.h
"
10
11
#include "TClonesArray.h"
12
13
// ----- Default constructor -------------------------------------------
14
CbmMvdSensorBuffer::CbmMvdSensorBuffer
()
15
:
CbmMvdSensorPlugin
()
16
, fBuffer(nullptr)
17
, fCurrentEvent(nullptr)
18
, fSensor(nullptr)
19
{
20
}
21
// -------------------------------------------------------------------------
22
23
// ----- Destructor ----------------------------------------------------
24
CbmMvdSensorBuffer::~CbmMvdSensorBuffer
()
25
{
26
fBuffer
->Delete();
27
delete
fBuffer
;
28
}
29
// -------------------------------------------------------------------------
30
31
void
CbmMvdSensorBuffer::Clear
(Option_t*
/*opt*/
)
32
{
33
if
(
fBuffer
) {
fBuffer
->Clear(); }
34
if
(
fCurrentEvent
) {
fCurrentEvent
->Clear(); }
35
}
36
37
ClassImp
(
CbmMvdSensorBuffer
)
ClassImp
ClassImp(CbmConverterManager)
CbmMvdSensorBuffer.h
CbmMvdSensorBuffer
Definition
CbmMvdSensorBuffer.h:34
CbmMvdSensorBuffer::Clear
virtual void Clear(Option_t *="")
Definition
CbmMvdSensorBuffer.cxx:31
CbmMvdSensorBuffer::fCurrentEvent
TClonesArray * fCurrentEvent
Definition
CbmMvdSensorBuffer.h:88
CbmMvdSensorBuffer::fBuffer
TClonesArray * fBuffer
Definition
CbmMvdSensorBuffer.h:87
CbmMvdSensorBuffer::~CbmMvdSensorBuffer
virtual ~CbmMvdSensorBuffer()
Definition
CbmMvdSensorBuffer.cxx:24
CbmMvdSensorBuffer::CbmMvdSensorBuffer
CbmMvdSensorBuffer()
Definition
CbmMvdSensorBuffer.cxx:14
CbmMvdSensorPlugin
Definition
CbmMvdSensorPlugin.h:39
core
detectors
mvd
plugins
buffers
CbmMvdSensorBuffer.cxx
Generated on Sun Dec 22 2024 23:04:09 for CbmRoot by
1.12.0