Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
EventFilter
SiStripRawToDigi
interface
TFHeaderDescription.h
Go to the documentation of this file.
1
#ifndef TFHeaderDescription_h
2
#define TFHeaderDescription_h
3
4
#define FEDPMC_TYPE 0xDEF00001
5
#define FEDEMU_TYPE 0xDEF00003
6
#define FED9U_TYPE 0xDEF00002
7
#define FEDTRG_TYPE 0xDEF0DEF0
8
#include <cstdio>
9
10
class
TFHeaderDescription
{
11
12
private
:
13
14
unsigned
long
bunchCrossing_
;
15
unsigned
long
numberOfChannels_
;
16
unsigned
long
numberOfSamples_
;
17
unsigned
long
fedType_
;
18
unsigned
long
fedId_
;
19
unsigned
long
fedEventNumber_
;
20
21
public
:
22
23
void
setBunchCrossing
(
unsigned
long
t
){
bunchCrossing_
=
t
;}
24
void
setNumberOfChannels
(
unsigned
long
t
){
numberOfChannels_
=
t
;}
25
void
setNumberOfSamples
(
unsigned
long
t
){
numberOfSamples_
=
t
;}
26
void
setFedType
(
unsigned
long
t
){
fedType_
=
t
;}
27
void
setFedId
(
unsigned
long
t
){
fedId_
=
t
;}
28
void
setFedEventNumber
(
unsigned
long
t
){
fedEventNumber_
=
t
;}
29
unsigned
long
getBunchCrossing
(){
return
bunchCrossing_
;}
30
unsigned
long
getNumberOfChannels
(){
return
numberOfChannels_
;}
31
unsigned
long
getNumberOfSamples
(){
return
numberOfSamples_
;}
32
unsigned
long
getFedType
(){
return
fedType_
;}
33
unsigned
long
getFedId
(){
return
fedId_
;}
34
unsigned
long
getFedEventNumber
(){
return
fedEventNumber_
;}
35
void
Print
()
36
{
37
printf(
"Bunch crossing %lx \n Number Of Channels %ld \n Number of Samples %ld \n Fed Type %lx \n Fed Id %lx \n Fed Event Number %ld \n"
,
bunchCrossing_
,
numberOfChannels_
,
numberOfSamples_
,
fedType_
,
fedId_
,
fedEventNumber_
);
38
}
39
40
};
41
42
#endif
TFHeaderDescription::Print
void Print()
Definition:
TFHeaderDescription.h:35
TFHeaderDescription::getFedId
unsigned long getFedId()
Definition:
TFHeaderDescription.h:33
TFHeaderDescription::getNumberOfChannels
unsigned long getNumberOfChannels()
Definition:
TFHeaderDescription.h:30
TFHeaderDescription::setNumberOfChannels
void setNumberOfChannels(unsigned long t)
Definition:
TFHeaderDescription.h:24
TFHeaderDescription::numberOfSamples_
unsigned long numberOfSamples_
Definition:
TFHeaderDescription.h:16
TFHeaderDescription::setFedEventNumber
void setFedEventNumber(unsigned long t)
Definition:
TFHeaderDescription.h:28
TFHeaderDescription::getNumberOfSamples
unsigned long getNumberOfSamples()
Definition:
TFHeaderDescription.h:31
TFHeaderDescription::numberOfChannels_
unsigned long numberOfChannels_
Definition:
TFHeaderDescription.h:15
TFHeaderDescription::bunchCrossing_
unsigned long bunchCrossing_
Definition:
TFHeaderDescription.h:14
TFHeaderDescription::getBunchCrossing
unsigned long getBunchCrossing()
Definition:
TFHeaderDescription.h:29
TFHeaderDescription::setNumberOfSamples
void setNumberOfSamples(unsigned long t)
Definition:
TFHeaderDescription.h:25
TFHeaderDescription::setFedId
void setFedId(unsigned long t)
Definition:
TFHeaderDescription.h:27
TFHeaderDescription::getFedEventNumber
unsigned long getFedEventNumber()
Definition:
TFHeaderDescription.h:34
TFHeaderDescription::fedEventNumber_
unsigned long fedEventNumber_
Definition:
TFHeaderDescription.h:19
edmStreamStallGrapher.t
tuple t
Definition:
edmStreamStallGrapher.py:108
TFHeaderDescription::setBunchCrossing
void setBunchCrossing(unsigned long t)
Definition:
TFHeaderDescription.h:23
TFHeaderDescription::getFedType
unsigned long getFedType()
Definition:
TFHeaderDescription.h:32
TFHeaderDescription
Definition:
TFHeaderDescription.h:10
TFHeaderDescription::fedType_
unsigned long fedType_
Definition:
TFHeaderDescription.h:17
TFHeaderDescription::fedId_
unsigned long fedId_
Definition:
TFHeaderDescription.h:18
TFHeaderDescription::setFedType
void setFedType(unsigned long t)
Definition:
TFHeaderDescription.h:26
Generated for CMSSW Reference Manual by
1.8.5