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

Constructor & Destructor Documentation

DTuROSFEDData::DTuROSFEDData ( )
inline

Constructor.

Definition at line 109 of file DTuROSControlData.h.

References DOCESLOTS, and mps_fire::i.

109 {for (int i=0; i<DOCESLOTS; i++) rsize_[i] = 0;}
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 DTuROSROSData::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.

Referenced by DTDataIntegrityTask::processFED().

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

Definition at line 130 of file DTuROSControlData.h.

Referenced by DTDataIntegrityTask::analyze().

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

Definition at line 132 of file DTuROSControlData.h.

References DTuROSROSData::header1_.

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

Definition at line 134 of file DTuROSControlData.h.

References DTuROSROSData::header2_.

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

Definition at line 138 of file DTuROSControlData.h.

Referenced by DTDataIntegrityTask::processFED().

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

Definition at line 142 of file DTuROSControlData.h.

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 DTuROSROSData::trailer_.

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

Definition at line 146 of file DTuROSControlData.h.

References DTuROSROSData::gettrailer().

Referenced by DTDataIntegrityTask::processFED().

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

Definition at line 148 of file DTuROSControlData.h.

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.

Referenced by DTuROSRawToDigi::process().

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

Definition at line 114 of file DTuROSControlData.h.

Referenced by DTuROSRawToDigi::process().

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

Definition at line 116 of file DTuROSControlData.h.

References DTuROSROSData::header1_.

Referenced by DTuROSRawToDigi::process().

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

Definition at line 118 of file DTuROSControlData.h.

References DTuROSROSData::header2_.

Referenced by DTuROSRawToDigi::process().

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

Definition at line 122 of file DTuROSControlData.h.

Referenced by DTuROSRawToDigi::process().

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

Definition at line 126 of file DTuROSControlData.h.

References findQualityFiles::size.

Referenced by DTuROSRawToDigi::process().

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

Definition at line 120 of file DTuROSControlData.h.

References DTuROSROSData::trailer_.

Referenced by DTuROSRawToDigi::process().

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

Definition at line 128 of file DTuROSControlData.h.

Referenced by DTuROSRawToDigi::process().

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

Member Data Documentation

int DTuROSFEDData::evtLgth_
private

Definition at line 154 of file DTuROSControlData.h.

int DTuROSFEDData::fed_
private

Definition at line 154 of file DTuROSControlData.h.

long DTuROSFEDData::header1_
private

Definition at line 152 of file DTuROSControlData.h.

long DTuROSFEDData::header2_
private

Definition at line 152 of file DTuROSControlData.h.

int DTuROSFEDData::nslots_
private

Definition at line 154 of file DTuROSControlData.h.

DTuROSROSData DTuROSFEDData::rdata_[DOCESLOTS]
private

Definition at line 156 of file DTuROSControlData.h.

int DTuROSFEDData::rsize_[DOCESLOTS]
private

Definition at line 154 of file DTuROSControlData.h.

long DTuROSFEDData::trailer_
private

Definition at line 152 of file DTuROSControlData.h.