CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
DTuROSFEDData Class Reference

#include <DTuROSControlData.h>

Public Member Functions

 DTuROSFEDData ()
 Constructor. More...
 
int getBXId () const
 
int getevtlgth () const
 
int getfed () const
 
long getheader1 () const
 
long getheader2 () const
 
int getnslots () const
 
int getslotsize (int slot) const
 
long gettrailer () const
 
int getTTS () const
 
DTuROSROSData getuROS (int slot) const
 
void setevtlgth (int evtLgth)
 
void setfed (int fed)
 
void setheader1 (long dword)
 
void setheader2 (long dword)
 
void setnslots (int nslots)
 
void setslotsize (int slot, int size)
 
void settrailer (long dword)
 
void setuROS (int slot, DTuROSROSData rwords)
 
 ~DTuROSFEDData ()
 Destructor. More...
 

Private Attributes

int evtLgth_
 
int fed_
 
long header1_
 
long header2_
 
int nslots_
 
DTuROSROSData rdata_ [DOCESLOTS]
 
int rsize_ [DOCESLOTS]
 
long trailer_
 

Detailed Description

Definition at line 103 of file DTuROSControlData.h.

Constructor & Destructor Documentation

DTuROSFEDData::DTuROSFEDData ( )
inline

Constructor.

Definition at line 106 of file DTuROSControlData.h.

References DOCESLOTS, mps_fire::i, and rsize_.

106  : header1_(0), header2_(0), trailer_(0), fed_(-1), nslots_(0), evtLgth_(0) {
107  for (int i = 0; i < DOCESLOTS; i++)
108  rsize_[i] = 0;
109  }
int rsize_[DOCESLOTS]
static const int DOCESLOTS
DTuROSFEDData::~DTuROSFEDData ( )
inline

Destructor.

Definition at line 112 of file DTuROSControlData.h.

112 {};

Member Function Documentation

int DTuROSFEDData::getBXId ( ) const
inline

Definition at line 144 of file DTuROSControlData.h.

References getheader1().

Referenced by DTDataIntegrityTask::processFED().

144 { return (getheader1() >> 20) & 0xFFF; }
long getheader1() const
int DTuROSFEDData::getevtlgth ( ) const
inline

Definition at line 140 of file DTuROSControlData.h.

References evtLgth_.

Referenced by DTDataIntegrityTask::processFED().

140 { return evtLgth_; }
int DTuROSFEDData::getfed ( ) const
inline

Definition at line 130 of file DTuROSControlData.h.

References fed_.

Referenced by DTDataIntegrityTask::analyze(), and DTuROSRawToDigi::fillRawData().

130 { return fed_; }
long DTuROSFEDData::getheader1 ( ) const
inline

Definition at line 132 of file DTuROSControlData.h.

References header1_.

Referenced by getBXId().

132 { return header1_; }
long DTuROSFEDData::getheader2 ( ) const
inline

Definition at line 134 of file DTuROSControlData.h.

References header2_.

134 { return header2_; }
int DTuROSFEDData::getnslots ( ) const
inline

Definition at line 138 of file DTuROSControlData.h.

References nslots_.

Referenced by DTDataIntegrityTask::processFED().

138 { return nslots_; }
int DTuROSFEDData::getslotsize ( int  slot) const
inline

Definition at line 142 of file DTuROSControlData.h.

References rsize_.

Referenced by DTDataIntegrityTask::analyze().

142 { return rsize_[slot - 1]; }
int rsize_[DOCESLOTS]
long DTuROSFEDData::gettrailer ( ) const
inline

Definition at line 136 of file DTuROSControlData.h.

References trailer_.

Referenced by getTTS().

136 { return trailer_; }
int DTuROSFEDData::getTTS ( ) const
inline

Definition at line 146 of file DTuROSControlData.h.

References gettrailer().

146 { return (gettrailer() >> 4) & 0xF; }
long gettrailer() const
DTuROSROSData DTuROSFEDData::getuROS ( int  slot) const
inline

Definition at line 148 of file DTuROSControlData.h.

References rdata_.

Referenced by DTDataIntegrityTask::analyze().

148 { return rdata_[slot - 1]; }
DTuROSROSData rdata_[DOCESLOTS]
void DTuROSFEDData::setevtlgth ( int  evtLgth)
inline

Definition at line 124 of file DTuROSControlData.h.

References evtLgth_.

Referenced by DTuROSRawToDigi::process().

124 { evtLgth_ = evtLgth; }
void DTuROSFEDData::setfed ( int  fed)
inline

Definition at line 114 of file DTuROSControlData.h.

References fed_.

Referenced by DTuROSRawToDigi::process().

114 { fed_ = fed; }
void DTuROSFEDData::setheader1 ( long  dword)
inline

Definition at line 116 of file DTuROSControlData.h.

References header1_.

Referenced by DTuROSRawToDigi::process().

116 { header1_ = dword; }
void DTuROSFEDData::setheader2 ( long  dword)
inline

Definition at line 118 of file DTuROSControlData.h.

References header2_.

Referenced by DTuROSRawToDigi::process().

118 { header2_ = dword; }
void DTuROSFEDData::setnslots ( int  nslots)
inline

Definition at line 122 of file DTuROSControlData.h.

References nslots_.

Referenced by DTuROSRawToDigi::process().

122 { nslots_ = nslots; }
void DTuROSFEDData::setslotsize ( int  slot,
int  size 
)
inline

Definition at line 126 of file DTuROSControlData.h.

References rsize_, and findQualityFiles::size.

Referenced by DTuROSRawToDigi::process().

126 { rsize_[slot - 1] = size; }
int rsize_[DOCESLOTS]
tuple size
Write out results.
void DTuROSFEDData::settrailer ( long  dword)
inline

Definition at line 120 of file DTuROSControlData.h.

References trailer_.

Referenced by DTuROSRawToDigi::process().

120 { trailer_ = dword; }
void DTuROSFEDData::setuROS ( int  slot,
DTuROSROSData  rwords 
)
inline

Definition at line 128 of file DTuROSControlData.h.

References rdata_.

Referenced by DTuROSRawToDigi::process().

128 { rdata_[slot - 1] = rwords; }
DTuROSROSData rdata_[DOCESLOTS]

Member Data Documentation

int DTuROSFEDData::evtLgth_
private

Definition at line 153 of file DTuROSControlData.h.

Referenced by getevtlgth(), and setevtlgth().

int DTuROSFEDData::fed_
private

Definition at line 153 of file DTuROSControlData.h.

Referenced by getfed(), and setfed().

long DTuROSFEDData::header1_
private

Definition at line 151 of file DTuROSControlData.h.

Referenced by getheader1(), and setheader1().

long DTuROSFEDData::header2_
private

Definition at line 151 of file DTuROSControlData.h.

Referenced by getheader2(), and setheader2().

int DTuROSFEDData::nslots_
private

Definition at line 153 of file DTuROSControlData.h.

Referenced by getnslots(), and setnslots().

DTuROSROSData DTuROSFEDData::rdata_[DOCESLOTS]
private

Definition at line 155 of file DTuROSControlData.h.

Referenced by getuROS(), and setuROS().

int DTuROSFEDData::rsize_[DOCESLOTS]
private

Definition at line 153 of file DTuROSControlData.h.

Referenced by DTuROSFEDData(), getslotsize(), and setslotsize().

long DTuROSFEDData::trailer_
private

Definition at line 151 of file DTuROSControlData.h.

Referenced by gettrailer(), and settrailer().