Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
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
private
:
12
unsigned
long
bunchCrossing_
;
13
unsigned
long
numberOfChannels_
;
14
unsigned
long
numberOfSamples_
;
15
unsigned
long
fedType_
;
16
unsigned
long
fedId_
;
17
unsigned
long
fedEventNumber_
;
18
19
public
:
20
void
setBunchCrossing
(
unsigned
long
t
) {
bunchCrossing_
=
t
; }
21
void
setNumberOfChannels
(
unsigned
long
t
) {
numberOfChannels_
=
t
; }
22
void
setNumberOfSamples
(
unsigned
long
t
) {
numberOfSamples_
=
t
; }
23
void
setFedType
(
unsigned
long
t
) {
fedType_
=
t
; }
24
void
setFedId
(
unsigned
long
t
) {
fedId_
=
t
; }
25
void
setFedEventNumber
(
unsigned
long
t
) {
fedEventNumber_
=
t
; }
26
unsigned
long
getBunchCrossing
()
const
{
return
bunchCrossing_
; }
27
unsigned
long
getNumberOfChannels
()
const
{
return
numberOfChannels_
; }
28
unsigned
long
getNumberOfSamples
()
const
{
return
numberOfSamples_
; }
29
unsigned
long
getFedType
()
const
{
return
fedType_
; }
30
unsigned
long
getFedId
()
const
{
return
fedId_
; }
31
unsigned
long
getFedEventNumber
()
const
{
return
fedEventNumber_
; }
32
void
Print
()
const
{
33
printf
(
34
"Bunch crossing %lx \n Number Of Channels %ld \n Number of Samples %ld \n Fed Type %lx \n Fed Id %lx \n Fed "
35
"Event Number %ld \n"
,
36
bunchCrossing_
,
37
numberOfChannels_
,
38
numberOfSamples_
,
39
fedType_
,
40
fedId_
,
41
fedEventNumber_
);
42
}
43
};
44
45
#endif
TFHeaderDescription::setNumberOfChannels
void setNumberOfChannels(unsigned long t)
Definition:
TFHeaderDescription.h:21
TFHeaderDescription::numberOfSamples_
unsigned long numberOfSamples_
Definition:
TFHeaderDescription.h:14
TFHeaderDescription::setFedEventNumber
void setFedEventNumber(unsigned long t)
Definition:
TFHeaderDescription.h:25
submitPVValidationJobs.t
string t
Definition:
submitPVValidationJobs.py:644
TFHeaderDescription::numberOfChannels_
unsigned long numberOfChannels_
Definition:
TFHeaderDescription.h:13
TFHeaderDescription::bunchCrossing_
unsigned long bunchCrossing_
Definition:
TFHeaderDescription.h:12
TFHeaderDescription::getFedId
unsigned long getFedId() const
Definition:
TFHeaderDescription.h:30
TFHeaderDescription::setNumberOfSamples
void setNumberOfSamples(unsigned long t)
Definition:
TFHeaderDescription.h:22
TFHeaderDescription::setFedId
void setFedId(unsigned long t)
Definition:
TFHeaderDescription.h:24
TFHeaderDescription::fedEventNumber_
unsigned long fedEventNumber_
Definition:
TFHeaderDescription.h:17
TFHeaderDescription::setBunchCrossing
void setBunchCrossing(unsigned long t)
Definition:
TFHeaderDescription.h:20
gpuVertexFinder::printf
printf("params %d %f %f %f\n", minT, eps, errmax, chi2max)
TFHeaderDescription::getFedEventNumber
unsigned long getFedEventNumber() const
Definition:
TFHeaderDescription.h:31
TFHeaderDescription
Definition:
TFHeaderDescription.h:10
TFHeaderDescription::getFedType
unsigned long getFedType() const
Definition:
TFHeaderDescription.h:29
TFHeaderDescription::fedType_
unsigned long fedType_
Definition:
TFHeaderDescription.h:15
TFHeaderDescription::getBunchCrossing
unsigned long getBunchCrossing() const
Definition:
TFHeaderDescription.h:26
TFHeaderDescription::fedId_
unsigned long fedId_
Definition:
TFHeaderDescription.h:16
TFHeaderDescription::setFedType
void setFedType(unsigned long t)
Definition:
TFHeaderDescription.h:23
TFHeaderDescription::Print
void Print() const
Definition:
TFHeaderDescription.h:32
TFHeaderDescription::getNumberOfSamples
unsigned long getNumberOfSamples() const
Definition:
TFHeaderDescription.h:28
TFHeaderDescription::getNumberOfChannels
unsigned long getNumberOfChannels() const
Definition:
TFHeaderDescription.h:27
Generated for CMSSW Reference Manual by
1.8.5