FairRoot/PandaRoot
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
pnddata
SdsData
PndSdsDigiTopix4Header.h
Go to the documentation of this file.
1
// --------------------------------------------------------
2
// ---- PndSdsDigiTopix4Header header file ---
3
// ---- Created 21.11.14 by S.Esch ---
4
// --------------------------------------------------------
5
11
#ifndef PndSdsDigiTopix4Header_H
12
#define PndSdsDigiTopix4Header_H
13
14
#include "
PndSdsDigiPixel.h
"
15
#include "
PndDetectorList.h
"
16
17
#include "TObject.h"
18
#include "TString.h"
19
#include <iostream>
20
#include <vector>
21
22
23
class
PndSdsDigiTopix4Header
:
public
TObject
24
{
25
friend
std::ostream
&
operator<<
(
std::ostream
&
out
,
PndSdsDigiTopix4Header
&
digi
)
26
{
27
out <<
"PndSdsDigiTopix4Header : Frame Count"
<< digi.
GetFrameCount
()
28
<<
" FE: "
<< digi.
GetFE
()
29
<<
" Chip Address "
<< digi.
GetChipAddress
()
30
<<
" Error Correction Code "
<< digi.
GetECC
()
31
<<
" Frame Count Independent "
<< digi.
GetFrameCountIndependent
()
32
<< std::endl;
33
34
return
out
;
35
}
36
37
public
:
38
PndSdsDigiTopix4Header
();
39
PndSdsDigiTopix4Header
(UInt_t framecount, Int_t
fe
, UInt_t chipaddress, UInt_t ecc, UInt_t framecountindependent, Int_t deltaframecount, UInt_t numberofevents, UInt_t numberofeventsinframe);
40
41
PndSdsDigiTopix4Header
&
operator=
(
const
PndSdsDigiTopix4Header
& pix){
42
43
SetFrameCount
(pix.
GetFrameCount
());
44
SetFE
(pix.
GetFE
());
45
SetChipAddress
(pix.
GetChipAddress
());
46
SetECC
(pix.
GetECC
());
47
SetFrameCountIndependent
(pix.
GetFrameCountIndependent
());
48
SetDeltaFrameCount
(pix.
GetDeltaFrameCount
());
49
SetNumberOfEvents
(pix.
GetNumberOfEvents
());
50
SetNumberOfEventsInFrame
(pix.
GetNumberOfEventsInFrame
());
51
return
*
this
;
52
}
53
54
UInt_t
GetFrameCount
()
const
{
return
fFrameCount
;}
55
UInt_t
GetFE
()
const
{
return
fFE
;}
56
UInt_t
GetChipAddress
()
const
{
return
fChipAddress
;}
57
UInt_t
GetECC
()
const
{
return
fECC
;}
58
UInt_t
GetFrameCountIndependent
()
const
{
return
fFrameCountIndependent
;}
59
Int_t
GetDeltaFrameCount
()
const
{
return
fDeltaFrameCount
;}
60
UInt_t
GetNumberOfEvents
()
const
{
return
fNumberOfEvents
;}
61
UInt_t
GetNumberOfEventsInFrame
()
const
{
return
fNumberOfEvents
;}
62
63
void
SetFrameCount
(UInt_t fc) {
fFrameCount
= fc;}
64
void
SetFE
(Int_t
fe
) {
fFE
=
fe
;}
65
void
SetChipAddress
(UInt_t ca) {
fChipAddress
= ca;}
66
void
SetECC
(UInt_t ecc) {
fECC
= ecc;}
67
void
SetFrameCountIndependent
(UInt_t fc) {
fFrameCountIndependent
= fc;}
68
void
SetDeltaFrameCount
(Int_t dfc) {
fDeltaFrameCount
= dfc;}
69
void
SetNumberOfEvents
(UInt_t noe) {
fNumberOfEvents
= noe;}
70
void
SetNumberOfEventsInFrame
(UInt_t noe) {
fNumberOfEventsInFrame
= noe;}
71
72
~PndSdsDigiTopix4Header
(){};
73
74
void
Print
() {
75
std::cout << *
this
;
76
}
77
78
79
private
:
80
UInt_t
fFrameCount
;
81
Int_t
fFE
;
82
UInt_t
fChipAddress
;
83
UInt_t
fECC
;
84
UInt_t
fFrameCountIndependent
;
85
Int_t
fDeltaFrameCount
;
86
UInt_t
fNumberOfEvents
;
87
UInt_t
fNumberOfEventsInFrame
;
88
89
ClassDef
(
PndSdsDigiTopix4Header
,1);
90
};
91
92
#endif
PndSdsDigiTopix4Header::PndSdsDigiTopix4Header
PndSdsDigiTopix4Header()
Definition:
PndSdsDigiTopix4Header.cxx:3
PndSdsDigiTopix4Header::Print
void Print()
Definition:
PndSdsDigiTopix4Header.h:74
PndSdsDigiTopix4Header::SetNumberOfEvents
void SetNumberOfEvents(UInt_t noe)
Definition:
PndSdsDigiTopix4Header.h:69
PndSdsDigiTopix4Header::GetNumberOfEvents
UInt_t GetNumberOfEvents() const
Definition:
PndSdsDigiTopix4Header.h:60
digi
TClonesArray * digi
Definition:
checkdedx_helixhit.C:20
PndSdsDigiTopix4Header::GetFrameCountIndependent
UInt_t GetFrameCountIndependent() const
Definition:
PndSdsDigiTopix4Header.h:58
PndSdsDigiTopix4Header::GetFrameCount
UInt_t GetFrameCount() const
Definition:
PndSdsDigiTopix4Header.h:54
PndSdsDigiTopix4Header::fNumberOfEvents
UInt_t fNumberOfEvents
Definition:
PndSdsDigiTopix4Header.h:86
PndSdsDigiTopix4Header::SetNumberOfEventsInFrame
void SetNumberOfEventsInFrame(UInt_t noe)
Definition:
PndSdsDigiTopix4Header.h:70
PndSdsDigiTopix4Header::operator<<
friend std::ostream & operator<<(std::ostream &out, PndSdsDigiTopix4Header &digi)
Definition:
PndSdsDigiTopix4Header.h:25
PndDetectorList.h
PndSdsDigiTopix4Header::ClassDef
ClassDef(PndSdsDigiTopix4Header, 1)
PndSdsDigiTopix4Header::~PndSdsDigiTopix4Header
~PndSdsDigiTopix4Header()
Definition:
PndSdsDigiTopix4Header.h:72
PndSdsDigiTopix4Header::fECC
UInt_t fECC
Definition:
PndSdsDigiTopix4Header.h:83
PndSdsDigiTopix4Header::SetFrameCount
void SetFrameCount(UInt_t fc)
Definition:
PndSdsDigiTopix4Header.h:63
PndSdsDigiTopix4Header::SetDeltaFrameCount
void SetDeltaFrameCount(Int_t dfc)
Definition:
PndSdsDigiTopix4Header.h:68
PndSdsDigiTopix4Header::GetNumberOfEventsInFrame
UInt_t GetNumberOfEventsInFrame() const
Definition:
PndSdsDigiTopix4Header.h:61
out
TFile * out
Definition:
reco_muo.C:20
PndSdsDigiTopix4Header
Data class to store the header of topix4 frames.
Definition:
PndSdsDigiTopix4Header.h:23
PndSdsDigiTopix4Header::SetFrameCountIndependent
void SetFrameCountIndependent(UInt_t fc)
Definition:
PndSdsDigiTopix4Header.h:67
PndSdsDigiTopix4Header::fDeltaFrameCount
Int_t fDeltaFrameCount
Definition:
PndSdsDigiTopix4Header.h:85
PndSdsDigiTopix4Header::operator=
PndSdsDigiTopix4Header & operator=(const PndSdsDigiTopix4Header &pix)
Definition:
PndSdsDigiTopix4Header.h:41
PndSdsDigiTopix4Header::fChipAddress
UInt_t fChipAddress
Definition:
PndSdsDigiTopix4Header.h:82
fe
int fe
Definition:
anaLmdDigi.C:67
PndSdsDigiTopix4Header::fNumberOfEventsInFrame
UInt_t fNumberOfEventsInFrame
Definition:
PndSdsDigiTopix4Header.h:87
PndSdsDigiTopix4Header::GetECC
UInt_t GetECC() const
Definition:
PndSdsDigiTopix4Header.h:57
PndSdsDigiTopix4Header::GetChipAddress
UInt_t GetChipAddress() const
Definition:
PndSdsDigiTopix4Header.h:56
PndSdsDigiTopix4Header::fFE
Int_t fFE
Definition:
PndSdsDigiTopix4Header.h:81
PndSdsDigiTopix4Header::SetChipAddress
void SetChipAddress(UInt_t ca)
Definition:
PndSdsDigiTopix4Header.h:65
PndSdsDigiTopix4Header::fFrameCount
UInt_t fFrameCount
Definition:
PndSdsDigiTopix4Header.h:80
PndSdsDigiTopix4Header::GetDeltaFrameCount
Int_t GetDeltaFrameCount() const
Definition:
PndSdsDigiTopix4Header.h:59
std::basic_ostream
Definition:
PndFTSCATrackParamVector.h:1258
PndSdsDigiPixel.h
PndSdsDigiTopix4Header::SetECC
void SetECC(UInt_t ecc)
Definition:
PndSdsDigiTopix4Header.h:66
PndSdsDigiTopix4Header::fFrameCountIndependent
UInt_t fFrameCountIndependent
Definition:
PndSdsDigiTopix4Header.h:84
PndSdsDigiTopix4Header::SetFE
void SetFE(Int_t fe)
Definition:
PndSdsDigiTopix4Header.h:64
PndSdsDigiTopix4Header::GetFE
UInt_t GetFE() const
Definition:
PndSdsDigiTopix4Header.h:55
Generated on Sun Aug 18 2019 03:01:44 for FairRoot/PandaRoot by
1.8.8