BOSS
7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
Emc/EmcRecEventModel/EmcRecEventModel-01-01-18/EmcRecEventModel/RecEmcDigit.h
Go to the documentation of this file.
1
//
2
// Bes EMC Rec Hit
3
//
4
// Created by Wang.Zhe 2003, 12, 15
5
//
6
7
#ifndef REC_EMC_DIGIT_H
8
#define REC_EMC_DIGIT_H
9
10
#include <map>
11
12
#include "EmcRecEventModel/RecEmcDataType.h"
13
14
using namespace
std
;
15
16
class
RecEmcDigit
17
{
18
public
:
19
//Constructors and destructors
20
RecEmcDigit
();
21
RecEmcDigit
(
const
RecEmcID
&
CellId
,
22
const
RecEmcADC
&
ADC
,
23
const
RecEmcTDC
&
TDC
);
24
~RecEmcDigit
();
25
26
//Copy and assignment
27
RecEmcDigit
(
const
RecEmcDigit
& aDigit);
28
RecEmcDigit
&
operator=
(
const
RecEmcDigit
& aDigit);
29
30
//Access
31
//Read
32
RecEmcID
CellId
()
const
;
33
RecEmcADC
ADC
()
const
;
34
RecEmcTDC
TDC
()
const
;
35
36
//Write
37
RecEmcID
CellId
(
const
RecEmcID
&
CellId
);
38
RecEmcADC
ADC
(
const
RecEmcADC
&
ADC
);
39
RecEmcTDC
TDC
(
const
RecEmcTDC
&
TDC
);
40
41
void
Assign
(
const
RecEmcID
&
CellId
,
42
const
RecEmcADC
&
ADC
,
43
const
RecEmcTDC
&
TDC
);
44
45
void
Assign
(
const
RecEmcDigit
& aDigit);
46
47
//others
48
void
Dump
()
const
;
49
50
protected
:
51
//Data members
52
RecEmcID
fCellId
;
53
RecEmcADC
fADC
;
54
RecEmcTDC
fTDC
;
55
};
56
57
ostream&
operator<<
(ostream & os,
const
RecEmcDigit
& aDigit);
58
59
typedef
map<RecEmcID,RecEmcDigit,less<RecEmcID> >
RecEmcDigitMap
;
60
61
#endif
/* REC_EMC_DIGIT_H */
RecEmcADC
double RecEmcADC
Definition:
Emc/EmcRecEventModel/EmcRecEventModel-01-01-18/EmcRecEventModel/RecEmcDataType.h:25
RecEmcTDC
double RecEmcTDC
Definition:
Emc/EmcRecEventModel/EmcRecEventModel-01-01-18/EmcRecEventModel/RecEmcDataType.h:26
RecEmcDigitMap
map< RecEmcID, RecEmcDigit, less< RecEmcID > > RecEmcDigitMap
Definition:
Emc/EmcRecEventModel/EmcRecEventModel-01-01-18/EmcRecEventModel/RecEmcDigit.h:59
operator<<
ostream & operator<<(ostream &os, const RecEmcDigit &aDigit)
Definition:
RecEmcDigit.cxx:120
Identifier
Definition:
DetectorDescription/Identifier/Identifier-00-02-17/Identifier/Identifier.h:20
RecEmcDigit
Definition:
Emc/EmcRecEventModel/EmcRecEventModel-01-01-18/EmcRecEventModel/RecEmcDigit.h:17
RecEmcDigit::operator=
RecEmcDigit & operator=(const RecEmcDigit &aDigit)
Definition:
RecEmcDigit.cxx:41
RecEmcDigit::ADC
RecEmcADC ADC() const
Definition:
RecEmcDigit.cxx:59
RecEmcDigit::~RecEmcDigit
~RecEmcDigit()
Definition:
RecEmcDigit.cxx:28
RecEmcDigit::fCellId
RecEmcID fCellId
Definition:
Emc/EmcRecEventModel/EmcRecEventModel-01-01-18/EmcRecEventModel/RecEmcDigit.h:52
RecEmcDigit::fADC
RecEmcADC fADC
Definition:
Emc/EmcRecEventModel/EmcRecEventModel-01-01-18/EmcRecEventModel/RecEmcDigit.h:53
RecEmcDigit::fTDC
RecEmcTDC fTDC
Definition:
Emc/EmcRecEventModel/EmcRecEventModel-01-01-18/EmcRecEventModel/RecEmcDigit.h:54
RecEmcDigit::Dump
void Dump() const
Definition:
RecEmcDigit.cxx:105
RecEmcDigit::RecEmcDigit
RecEmcDigit()
Definition:
RecEmcDigit.cxx:12
RecEmcDigit::TDC
RecEmcTDC TDC() const
Definition:
RecEmcDigit.cxx:64
RecEmcDigit::Assign
void Assign(const RecEmcID &CellId, const RecEmcADC &ADC, const RecEmcTDC &TDC)
Definition:
RecEmcDigit.cxx:88
RecEmcDigit::CellId
RecEmcID CellId() const
Definition:
RecEmcDigit.cxx:54
std
Definition:
Event/RootEventData/RootEventData-00-03-81/RootEventData/RootEventData_rootcint.cxx:16
source
Emc
EmcRecEventModel
EmcRecEventModel-01-01-18
EmcRecEventModel
RecEmcDigit.h
Generated by
1.9.6