CbmRoot
CbmMuchReadoutBuffer.h
Go to the documentation of this file.
1
/*
2
* CbmMuchReadoutBuffer.h
3
*
4
* Created on: 11.05.2016
5
* Author: vikas@vecc.gov.in
6
*/
7
8
#ifndef CBMMUCHREADOUTBUFFER_H
9
#define CBMMUCHREADOUTBUFFER_H 1
10
11
#include "
CbmMuchSignal.h
"
12
#include "
CbmReadoutBuffer.h
"
13
14
15
// The MUCH Signal Buffer class which is used for intermidiate Buffer for the CbmMuchSignal, for the Readout the Much Signal.
16
// methods
17
// Double_t GetTimeStart(),
18
// Double_t GetTimeStop(),
19
// void SetTimeStop(Double_t),
20
// copy constructor (default one is fine).
21
// This class inherted from CbmReadoutBuffer.h abstract class.
22
23
class
CbmMuchReadoutBuffer
:
public
CbmReadoutBuffer
<CbmMuchSignal> {
24
25
public
:
26
// Default constructor
27
CbmMuchReadoutBuffer
() :
fCounter
{0} {};
28
// ---------------------------------------------------------------------
29
30
31
// ---------------------------------------------------------------------
42
//Vikas Todo:- Create similar for the CbmMuchReadoutBuffe
43
CbmMuchReadoutBuffer
(TString branchName,
44
TString folderName,
45
Bool_t persistence = kTRUE)
46
:
CbmReadoutBuffer
(branchName, folderName, persistence),
fCounter
{0} {}
47
48
CbmMuchReadoutBuffer
(
const
CbmMuchReadoutBuffer
&) =
delete
;
49
CbmMuchReadoutBuffer
&
operator=
(
const
CbmMuchReadoutBuffer
&) =
delete
;
50
// ---------------------------------------------------------------------
55
static
CbmMuchReadoutBuffer
*
Instance
();
56
57
// ---------------------------------------------------------------------
58
virtual
Int_t
59
Merge
(
CbmMuchSignal
*,
CbmMuchSignal
*, std::vector<CbmMuchSignal*>&);
60
61
//For getting Event File name etc.
62
// void GetEventInfo(Int_t&, Int_t&, Double_t&);
63
64
65
// ---------------------------------------------------------------------
71
~CbmMuchReadoutBuffer
() {};
72
// ---------------------------------------------------------------------
73
74
private
:
76
static
CbmMuchReadoutBuffer
*
fgInstance
;
77
78
Int_t
fCounter
;
79
80
81
ClassDef
(
CbmMuchReadoutBuffer
, 1);
82
};
83
84
#endif
/* CBMMUCHREADOUTBUFFER_H_ */
CbmMuchReadoutBuffer::fCounter
Int_t fCounter
Definition:
CbmMuchReadoutBuffer.h:78
CbmMuchSignal.h
CbmMuchReadoutBuffer::fgInstance
static CbmMuchReadoutBuffer * fgInstance
Definition:
CbmMuchReadoutBuffer.h:71
CbmMuchReadoutBuffer::CbmMuchReadoutBuffer
CbmMuchReadoutBuffer(const CbmMuchReadoutBuffer &)=delete
CbmReadoutBuffer.h
CbmMuchReadoutBuffer::Instance
static CbmMuchReadoutBuffer * Instance()
Definition:
CbmMuchReadoutBuffer.cxx:82
CbmMuchReadoutBuffer::operator=
CbmMuchReadoutBuffer & operator=(const CbmMuchReadoutBuffer &)=delete
CbmMuchReadoutBuffer::Merge
virtual Int_t Merge(CbmMuchSignal *, CbmMuchSignal *, std::vector< CbmMuchSignal * > &)
Definition:
CbmMuchReadoutBuffer.cxx:21
CbmMuchSignal
Data class for an analog signal in the MUCH Simple data class used in the digitisation process of the...
Definition:
CbmMuchSignal.h:31
CbmMuchReadoutBuffer::CbmMuchReadoutBuffer
CbmMuchReadoutBuffer(TString branchName, TString folderName, Bool_t persistence=kTRUE)
Definition:
CbmMuchReadoutBuffer.h:43
CbmReadoutBuffer
Definition:
CbmReadoutBuffer.h:27
CbmMuchReadoutBuffer
Definition:
CbmMuchReadoutBuffer.h:23
CbmMuchReadoutBuffer::~CbmMuchReadoutBuffer
~CbmMuchReadoutBuffer()
Definition:
CbmMuchReadoutBuffer.h:71
CbmMuchReadoutBuffer::CbmMuchReadoutBuffer
CbmMuchReadoutBuffer()
Definition:
CbmMuchReadoutBuffer.h:27
CbmMuchReadoutBuffer::ClassDef
ClassDef(CbmMuchReadoutBuffer, 1)
sim
detectors
much
CbmMuchReadoutBuffer.h
Generated on Wed Oct 28 2020 15:11:42 for CbmRoot by
1.8.18