BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
BmnZdcDigi.h
Go to the documentation of this file.
1
/*************************************************************************************
2
*
3
* BmnZdcDigi
4
* Class for digital data taken from BmnZdc detector
5
*
6
* Author: Elena Litvinenko
7
* e-mail: litvin@nf.jinr.ru
8
* Version: 18-11-2015
9
*
10
************************************************************************************/
11
12
#ifndef BMNZDCDIGI_H
13
#define BMNZDCDIGI_H
14
15
#include "
BmnZdcPoint.h
"
16
17
class
BmnZdcDigi
:
public
TObject
18
{
19
public
:
20
BmnZdcDigi
();
21
BmnZdcDigi
(
Int_t
pfGroupID,
Int_t
pfModuleID,
Int_t
pfChannelID,
Double_t
pfELoss,
Double_t
pfELossDigi = 0);
22
BmnZdcDigi
(
BmnZdcPoint
* p);
23
24
virtual
~BmnZdcDigi
();
25
void
Clear
();
26
27
void
InitStatic
();
28
virtual
void
Print
(
const
Option_t
* opt =
""
);
29
30
inline
Int_t
GetGroupID
() {
return
fGroupID
; }
31
inline
Int_t
GetModuleID
() {
return
fModuleID
; }
32
inline
Int_t
GetChannelID
() {
return
fChannelID
; }
33
inline
Double_t
GetELossDigi
() {
return
fELossDigi
; }
34
inline
Double_t
GetELoss
() {
return
fELoss
; }
35
36
inline
Int_t
SetGroupID
(UInt_t pfGroupID)
37
{
38
fGroupID
= pfGroupID;
39
return
fGroupID
;
40
}
41
inline
Int_t
SetChannelID
(UInt_t pfChannelID)
42
{
43
fChannelID
= pfChannelID;
44
return
fChannelID
;
45
}
46
47
inline
Double_t
AddEloss
(
Double_t
pfELoss)
48
{
49
fELoss
+= pfELoss;
50
return
fELoss
;
51
}
52
UInt_t
AddZdcPoint
(
BmnZdcPoint
* p);
53
54
protected
:
55
Int_t
fGroupID
;
// Module Group number = "size" (1: central small, 2 - periferal big, can be also 0 - for hardware
56
// summators)
57
Int_t
fModuleID
;
// Module number inside module group (36 central small modules, up to 58 periferal big modules)
58
Int_t
fChannelID
;
// Hardware ZDC channel number (corresponds to the ascii map file)
59
Double_t
fELossDigi
;
// Digital response of the ZDC channel (taken from experimental data)
60
Double_t
fELoss
;
// Sum of the energy losses from MC or from experimental data after calibration
61
62
ClassDef
(
BmnZdcDigi
, 1);
63
};
64
65
#endif
// BMNZDCDIGI_H
Int_t
int Int_t
UInt_t
unsigned int UInt_t
Double_t
double Double_t
Option_t
const char Option_t
ClassDef
#define ClassDef(name, id)
BmnZdcDigi::fModuleID
Int_t fModuleID
Definition
BmnZdcDigi.h:57
BmnZdcDigi::GetELossDigi
Double_t GetELossDigi()
Definition
BmnZdcDigi.h:33
BmnZdcDigi::~BmnZdcDigi
virtual ~BmnZdcDigi()
Definition
BmnZdcDigi.cxx:78
BmnZdcDigi::AddEloss
Double_t AddEloss(Double_t pfELoss)
Definition
BmnZdcDigi.h:47
BmnZdcDigi::GetModuleID
Int_t GetModuleID()
Definition
BmnZdcDigi.h:31
BmnZdcDigi::fChannelID
Int_t fChannelID
Definition
BmnZdcDigi.h:58
BmnZdcDigi::fELossDigi
Double_t fELossDigi
Definition
BmnZdcDigi.h:59
BmnZdcDigi::GetGroupID
Int_t GetGroupID()
Definition
BmnZdcDigi.h:30
BmnZdcDigi::GetELoss
Double_t GetELoss()
Definition
BmnZdcDigi.h:34
BmnZdcDigi::fGroupID
Int_t fGroupID
Definition
BmnZdcDigi.h:55
BmnZdcDigi::Clear
void Clear()
Definition
BmnZdcDigi.cxx:82
BmnZdcDigi::GetChannelID
Int_t GetChannelID()
Definition
BmnZdcDigi.h:32
BmnZdcDigi::SetChannelID
Int_t SetChannelID(UInt_t pfChannelID)
Definition
BmnZdcDigi.h:41
BmnZdcDigi::SetGroupID
Int_t SetGroupID(UInt_t pfGroupID)
Definition
BmnZdcDigi.h:36
BmnZdcDigi::fELoss
Double_t fELoss
Definition
BmnZdcDigi.h:60
BmnZdcDigi::Print
virtual void Print(const Option_t *opt="")
Definition
BmnZdcDigi.cxx:107
BmnZdcDigi::AddZdcPoint
UInt_t AddZdcPoint(BmnZdcPoint *p)
Definition
BmnZdcDigi.cxx:115
BmnZdcDigi::BmnZdcDigi
BmnZdcDigi()
Definition
BmnZdcDigi.cxx:23
BmnZdcDigi::InitStatic
void InitStatic()
Definition
BmnZdcDigi.cxx:91
BmnZdcPoint
Definition
BmnZdcPoint.h:20
TObject::TObject
TObject()
BmnZdcPoint.h
detectors
zdc
BmnZdcDigi.h
Generated on
for BmnRoot by
1.17.0