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// -------------------------------------------------------------------------
10
11#include "TClonesArray.h"
12
13// ----- Default constructor -------------------------------------------
16 , fBuffer(nullptr)
17 , fCurrentEvent(nullptr)
18 , fSensor(nullptr)
19{
20}
21// -------------------------------------------------------------------------
22
23// ----- Destructor ----------------------------------------------------
25{
26 fBuffer->Delete();
27 delete fBuffer;
28}
29// -------------------------------------------------------------------------
30
31void CbmMvdSensorBuffer::Clear(Option_t* /*opt*/)
32{
33 if (fBuffer) { fBuffer->Clear(); }
34 if (fCurrentEvent) { fCurrentEvent->Clear(); }
35}
36
ClassImp(CbmConverterManager)
virtual void Clear(Option_t *="")
TClonesArray * fCurrentEvent