CMS 3D CMS Logo

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 108 of file DTuROSControlData.h.

References DOCESLOTS, and mps_fire::i.

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

Destructor.

Definition at line 113 of file DTuROSControlData.h.

113 {};

Member Function Documentation

int DTuROSFEDData::getBXId ( ) const
inline

Definition at line 145 of file DTuROSControlData.h.

References DTuROSROSData::getheader1().

Referenced by DTDataIntegrityTask::processFED().

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

Definition at line 141 of file DTuROSControlData.h.

Referenced by DTDataIntegrityTask::processFED().

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

Definition at line 131 of file DTuROSControlData.h.

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

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

Definition at line 133 of file DTuROSControlData.h.

References DTuROSROSData::header1_.

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

Definition at line 135 of file DTuROSControlData.h.

References DTuROSROSData::header2_.

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

Definition at line 139 of file DTuROSControlData.h.

Referenced by DTDataIntegrityTask::processFED().

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

Definition at line 143 of file DTuROSControlData.h.

Referenced by DTDataIntegrityTask::analyze().

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

Definition at line 137 of file DTuROSControlData.h.

References DTuROSROSData::trailer_.

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

Definition at line 147 of file DTuROSControlData.h.

References DTuROSROSData::gettrailer().

Referenced by DTDataIntegrityTask::processFED().

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

Definition at line 149 of file DTuROSControlData.h.

Referenced by DTDataIntegrityTask::analyze().

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

Definition at line 125 of file DTuROSControlData.h.

Referenced by DTuROSRawToDigi::process().

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

Definition at line 115 of file DTuROSControlData.h.

Referenced by DTuROSRawToDigi::process().

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

Definition at line 117 of file DTuROSControlData.h.

References DTuROSROSData::header1_.

Referenced by DTuROSRawToDigi::process().

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

Definition at line 119 of file DTuROSControlData.h.

References DTuROSROSData::header2_.

Referenced by DTuROSRawToDigi::process().

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

Definition at line 123 of file DTuROSControlData.h.

Referenced by DTuROSRawToDigi::process().

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

Definition at line 127 of file DTuROSControlData.h.

References findQualityFiles::size.

Referenced by DTuROSRawToDigi::process().

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

Definition at line 121 of file DTuROSControlData.h.

References DTuROSROSData::trailer_.

Referenced by DTuROSRawToDigi::process().

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

Definition at line 129 of file DTuROSControlData.h.

Referenced by DTuROSRawToDigi::process().

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

Member Data Documentation

int DTuROSFEDData::evtLgth_
private

Definition at line 155 of file DTuROSControlData.h.

int DTuROSFEDData::fed_
private

Definition at line 155 of file DTuROSControlData.h.

long DTuROSFEDData::header1_
private

Definition at line 153 of file DTuROSControlData.h.

long DTuROSFEDData::header2_
private

Definition at line 153 of file DTuROSControlData.h.

int DTuROSFEDData::nslots_
private

Definition at line 155 of file DTuROSControlData.h.

DTuROSROSData DTuROSFEDData::rdata_[DOCESLOTS]
private

Definition at line 157 of file DTuROSControlData.h.

int DTuROSFEDData::rsize_[DOCESLOTS]
private

Definition at line 155 of file DTuROSControlData.h.

long DTuROSFEDData::trailer_
private

Definition at line 153 of file DTuROSControlData.h.