CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
DTROS25Data Class Reference

#include <DTControlData.h>

Public Member Functions

void addROBHeader (const DTROBHeader &robHeader)
 
void addROBTrailer (const DTROBTrailerWord &word)
 
void addROSDebug (const DTROSDebugWord &word)
 
void addROSError (const DTROSErrorWord &word)
 
void addROSHeader (const DTROSHeaderWord &word)
 
void addROSTrailer (const DTROSTrailerWord &word)
 
void addSCData (const DTSectorCollectorData &scData)
 
void addSCHeader (const DTLocalTriggerHeaderWord &scHeader)
 
void addSCPrivHeader (const DTLocalTriggerSectorCollectorHeaderWord &scPrivHeader)
 
void addSCPrivSubHeader (const DTLocalTriggerSectorCollectorSubHeaderWord &scPrivSubHeader)
 
void addSCTrailer (const DTLocalTriggerTrailerWord &scTrailer)
 
void addTDCData (const DTTDCData &tdcData)
 
void addTDCError (const DTTDCError &tdcError)
 
void addTDCMeasurement (const DTTDCMeasurementWord &word)
 
void clean ()
 
 DTROS25Data (int ROSId=0)
 Constructors. More...
 
const std::vector< DTROBHeader > & getROBHeaders () const
 
const std::vector< DTROBTrailerWord > & getROBTrailers () const
 
const std::vector< DTROSDebugWord > & getROSDebugs () const
 
const std::vector< DTROSErrorWord > & getROSErrors () const
 
const DTROSHeaderWordgetROSHeader () const
 
int getROSID () const
 Getters ////////////////////////. More...
 
const DTROSTrailerWordgetROSTrailer () const
 
const std::vector< DTSectorCollectorData > & getSCData () const
 
const DTLocalTriggerHeaderWordgetSCHeader () const
 
const DTLocalTriggerSectorCollectorHeaderWordgetSCPrivHeader () const
 
const DTLocalTriggerSectorCollectorSubHeaderWordgetSCPrivSubHeader () const
 
const DTLocalTriggerTrailerWordgetSCTrailer () const
 
const std::vector< DTTDCData > & getTDCData () const
 
const std::vector< DTTDCError > & getTDCError () const
 
const std::vector< DTTDCMeasurementWord > & getTDCMeasurements () const
 
void setROSId (const int &ID)
 Setters ///////////////////////. More...
 
virtual ~DTROS25Data ()
 Destructor. More...
 

Private Attributes

std::vector< DTROBHeadertheROBHeaders
 
std::vector< DTROBTrailerWordtheROBTrailers
 
std::vector< DTROSDebugWordtheROSDebugs
 
std::vector< DTROSErrorWordtheROSErrors
 
DTROSHeaderWord theROSHeader
 
int theROSId
 
DTROSTrailerWord theROSTrailer
 
std::vector< DTSectorCollectorDatatheSCData
 
DTLocalTriggerHeaderWord theSCHeader
 
DTLocalTriggerSectorCollectorHeaderWord theSCPrivateHeader
 
DTLocalTriggerSectorCollectorSubHeaderWord theSCPrivateSubHeader
 
DTLocalTriggerTrailerWord theSCTrailer
 
std::vector< DTTDCDatatheTDCData
 
std::vector< DTTDCErrortheTDCError
 
std::vector< DTTDCMeasurementWordtheTDCMeasurements
 

Detailed Description

The collection containing DT ROS25 status data.

Author
M. Zanetti - INFN Padova I. Josa - Ciemat Madrid

Definition at line 22 of file DTControlData.h.

Constructor & Destructor Documentation

◆ DTROS25Data()

DTROS25Data::DTROS25Data ( int  ROSId = 0)
inline

Constructors.

Definition at line 25 of file DTControlData.h.

25 : theROSId(ROSId) {}

◆ ~DTROS25Data()

virtual DTROS25Data::~DTROS25Data ( )
inlinevirtual

Destructor.

Definition at line 28 of file DTControlData.h.

28 {}

Member Function Documentation

◆ addROBHeader()

void DTROS25Data::addROBHeader ( const DTROBHeader robHeader)
inline

Definition at line 37 of file DTControlData.h.

References theROBHeaders.

Referenced by DTROS25Unpacker::interpretRawData().

37 { theROBHeaders.push_back(robHeader); } // IJ
std::vector< DTROBHeader > theROBHeaders
Definition: DTControlData.h:92

◆ addROBTrailer()

void DTROS25Data::addROBTrailer ( const DTROBTrailerWord word)
inline

Definition at line 38 of file DTControlData.h.

References theROBTrailers.

Referenced by DTROS25Unpacker::interpretRawData().

38 { theROBTrailers.push_back(word); }
std::vector< DTROBTrailerWord > theROBTrailers
Definition: DTControlData.h:93
uint64_t word

◆ addROSDebug()

void DTROS25Data::addROSDebug ( const DTROSDebugWord word)
inline

Definition at line 36 of file DTControlData.h.

References theROSDebugs.

Referenced by DTROS25Unpacker::interpretRawData().

36 { theROSDebugs.push_back(word); }
uint64_t word
std::vector< DTROSDebugWord > theROSDebugs
Definition: DTControlData.h:91

◆ addROSError()

void DTROS25Data::addROSError ( const DTROSErrorWord word)
inline

Definition at line 35 of file DTControlData.h.

References theROSErrors.

Referenced by DTROS25Unpacker::interpretRawData().

35 { theROSErrors.push_back(word); }
uint64_t word
std::vector< DTROSErrorWord > theROSErrors
Definition: DTControlData.h:90

◆ addROSHeader()

void DTROS25Data::addROSHeader ( const DTROSHeaderWord word)
inline

Definition at line 33 of file DTControlData.h.

References theROSHeader.

Referenced by DTROS25Unpacker::interpretRawData().

uint64_t word
DTROSHeaderWord theROSHeader
Definition: DTControlData.h:88

◆ addROSTrailer()

void DTROS25Data::addROSTrailer ( const DTROSTrailerWord word)
inline

Definition at line 34 of file DTControlData.h.

References theROSTrailer.

Referenced by DTROS25Unpacker::interpretRawData().

uint64_t word
DTROSTrailerWord theROSTrailer
Definition: DTControlData.h:89

◆ addSCData()

void DTROS25Data::addSCData ( const DTSectorCollectorData scData)
inline

Definition at line 42 of file DTControlData.h.

References theSCData.

Referenced by DTROS25Unpacker::interpretRawData().

42 { theSCData.push_back(scData); }
std::vector< DTSectorCollectorData > theSCData
Definition: DTControlData.h:97

◆ addSCHeader()

void DTROS25Data::addSCHeader ( const DTLocalTriggerHeaderWord scHeader)
inline

Definition at line 43 of file DTControlData.h.

References theSCHeader.

Referenced by DTROS25Unpacker::interpretRawData().

43 { theSCHeader = scHeader; }
DTLocalTriggerHeaderWord theSCHeader
Definition: DTControlData.h:98

◆ addSCPrivHeader()

void DTROS25Data::addSCPrivHeader ( const DTLocalTriggerSectorCollectorHeaderWord scPrivHeader)
inline

Definition at line 44 of file DTControlData.h.

References theSCPrivateHeader.

Referenced by DTROS25Unpacker::interpretRawData().

44  {
45  theSCPrivateHeader = scPrivHeader;
46  }
DTLocalTriggerSectorCollectorHeaderWord theSCPrivateHeader
Definition: DTControlData.h:99

◆ addSCPrivSubHeader()

void DTROS25Data::addSCPrivSubHeader ( const DTLocalTriggerSectorCollectorSubHeaderWord scPrivSubHeader)
inline

Definition at line 47 of file DTControlData.h.

References theSCPrivateSubHeader.

Referenced by DTROS25Unpacker::interpretRawData().

47  {
48  theSCPrivateSubHeader = scPrivSubHeader;
49  }
DTLocalTriggerSectorCollectorSubHeaderWord theSCPrivateSubHeader

◆ addSCTrailer()

void DTROS25Data::addSCTrailer ( const DTLocalTriggerTrailerWord scTrailer)
inline

Definition at line 50 of file DTControlData.h.

References theSCTrailer.

Referenced by DTROS25Unpacker::interpretRawData().

50 { theSCTrailer = scTrailer; }
DTLocalTriggerTrailerWord theSCTrailer

◆ addTDCData()

void DTROS25Data::addTDCData ( const DTTDCData tdcData)
inline

Definition at line 40 of file DTControlData.h.

References theTDCData.

Referenced by DTROS25Unpacker::interpretRawData().

40 { theTDCData.push_back(tdcData); }
std::vector< DTTDCData > theTDCData
Definition: DTControlData.h:95

◆ addTDCError()

void DTROS25Data::addTDCError ( const DTTDCError tdcError)
inline

Definition at line 41 of file DTControlData.h.

References theTDCError.

Referenced by DTROS25Unpacker::interpretRawData().

41 { theTDCError.push_back(tdcError); }
std::vector< DTTDCError > theTDCError
Definition: DTControlData.h:96

◆ addTDCMeasurement()

void DTROS25Data::addTDCMeasurement ( const DTTDCMeasurementWord word)
inline

Definition at line 39 of file DTControlData.h.

References theTDCMeasurements.

39 { theTDCMeasurements.push_back(word); }
uint64_t word
std::vector< DTTDCMeasurementWord > theTDCMeasurements
Definition: DTControlData.h:94

◆ clean()

void DTROS25Data::clean ( )
inline

Definition at line 70 of file DTControlData.h.

References theROBHeaders, theROBTrailers, theROSDebugs, theROSErrors, theROSHeader, theROSTrailer, theSCData, theSCHeader, theSCTrailer, theTDCData, theTDCError, and theTDCMeasurements.

Referenced by DTROS25Unpacker::interpretRawData().

70  {
71  theROSHeader = 0;
72  theROSTrailer = 0;
73  theROSErrors.clear();
74  theROSDebugs.clear();
75  theROBHeaders.clear();
76  theROBTrailers.clear();
77  theTDCMeasurements.clear();
78  theTDCData.clear();
79  theTDCError.clear();
80  theSCData.clear();
81  theSCHeader = 0;
82  theSCTrailer = 0;
83  }
std::vector< DTSectorCollectorData > theSCData
Definition: DTControlData.h:97
DTLocalTriggerTrailerWord theSCTrailer
std::vector< DTROBHeader > theROBHeaders
Definition: DTControlData.h:92
std::vector< DTROBTrailerWord > theROBTrailers
Definition: DTControlData.h:93
std::vector< DTTDCError > theTDCError
Definition: DTControlData.h:96
DTROSHeaderWord theROSHeader
Definition: DTControlData.h:88
std::vector< DTROSDebugWord > theROSDebugs
Definition: DTControlData.h:91
std::vector< DTROSErrorWord > theROSErrors
Definition: DTControlData.h:90
DTROSTrailerWord theROSTrailer
Definition: DTControlData.h:89
std::vector< DTTDCData > theTDCData
Definition: DTControlData.h:95
std::vector< DTTDCMeasurementWord > theTDCMeasurements
Definition: DTControlData.h:94
DTLocalTriggerHeaderWord theSCHeader
Definition: DTControlData.h:98

◆ getROBHeaders()

const std::vector<DTROBHeader>& DTROS25Data::getROBHeaders ( ) const
inline

Definition at line 59 of file DTControlData.h.

References theROBHeaders.

59 { return theROBHeaders; }
std::vector< DTROBHeader > theROBHeaders
Definition: DTControlData.h:92

◆ getROBTrailers()

const std::vector<DTROBTrailerWord>& DTROS25Data::getROBTrailers ( ) const
inline

Definition at line 60 of file DTControlData.h.

References theROBTrailers.

60 { return theROBTrailers; }
std::vector< DTROBTrailerWord > theROBTrailers
Definition: DTControlData.h:93

◆ getROSDebugs()

const std::vector<DTROSDebugWord>& DTROS25Data::getROSDebugs ( ) const
inline

Definition at line 58 of file DTControlData.h.

References theROSDebugs.

58 { return theROSDebugs; }
std::vector< DTROSDebugWord > theROSDebugs
Definition: DTControlData.h:91

◆ getROSErrors()

const std::vector<DTROSErrorWord>& DTROS25Data::getROSErrors ( ) const
inline

Definition at line 57 of file DTControlData.h.

References theROSErrors.

57 { return theROSErrors; }
std::vector< DTROSErrorWord > theROSErrors
Definition: DTControlData.h:90

◆ getROSHeader()

const DTROSHeaderWord& DTROS25Data::getROSHeader ( ) const
inline

Definition at line 56 of file DTControlData.h.

References theROSHeader.

56 { return theROSHeader; }
DTROSHeaderWord theROSHeader
Definition: DTControlData.h:88

◆ getROSID()

int DTROS25Data::getROSID ( ) const
inline

Getters ////////////////////////.

Definition at line 53 of file DTControlData.h.

References theROSId.

53 { return theROSId; }

◆ getROSTrailer()

const DTROSTrailerWord& DTROS25Data::getROSTrailer ( ) const
inline

Definition at line 55 of file DTControlData.h.

References theROSTrailer.

55 { return theROSTrailer; }
DTROSTrailerWord theROSTrailer
Definition: DTControlData.h:89

◆ getSCData()

const std::vector<DTSectorCollectorData>& DTROS25Data::getSCData ( ) const
inline

Definition at line 64 of file DTControlData.h.

References theSCData.

64 { return theSCData; }
std::vector< DTSectorCollectorData > theSCData
Definition: DTControlData.h:97

◆ getSCHeader()

const DTLocalTriggerHeaderWord& DTROS25Data::getSCHeader ( ) const
inline

Definition at line 65 of file DTControlData.h.

References theSCHeader.

65 { return theSCHeader; }
DTLocalTriggerHeaderWord theSCHeader
Definition: DTControlData.h:98

◆ getSCPrivHeader()

const DTLocalTriggerSectorCollectorHeaderWord& DTROS25Data::getSCPrivHeader ( ) const
inline

Definition at line 66 of file DTControlData.h.

References theSCPrivateHeader.

66 { return theSCPrivateHeader; }
DTLocalTriggerSectorCollectorHeaderWord theSCPrivateHeader
Definition: DTControlData.h:99

◆ getSCPrivSubHeader()

const DTLocalTriggerSectorCollectorSubHeaderWord& DTROS25Data::getSCPrivSubHeader ( ) const
inline

Definition at line 68 of file DTControlData.h.

References theSCPrivateSubHeader.

68 { return theSCPrivateSubHeader; }
DTLocalTriggerSectorCollectorSubHeaderWord theSCPrivateSubHeader

◆ getSCTrailer()

const DTLocalTriggerTrailerWord& DTROS25Data::getSCTrailer ( ) const
inline

Definition at line 67 of file DTControlData.h.

References theSCTrailer.

67 { return theSCTrailer; }
DTLocalTriggerTrailerWord theSCTrailer

◆ getTDCData()

const std::vector<DTTDCData>& DTROS25Data::getTDCData ( ) const
inline

Definition at line 62 of file DTControlData.h.

References theTDCData.

62 { return theTDCData; }
std::vector< DTTDCData > theTDCData
Definition: DTControlData.h:95

◆ getTDCError()

const std::vector<DTTDCError>& DTROS25Data::getTDCError ( ) const
inline

Definition at line 63 of file DTControlData.h.

References theTDCError.

63 { return theTDCError; }
std::vector< DTTDCError > theTDCError
Definition: DTControlData.h:96

◆ getTDCMeasurements()

const std::vector<DTTDCMeasurementWord>& DTROS25Data::getTDCMeasurements ( ) const
inline

Definition at line 61 of file DTControlData.h.

References theTDCMeasurements.

61 { return theTDCMeasurements; }
std::vector< DTTDCMeasurementWord > theTDCMeasurements
Definition: DTControlData.h:94

◆ setROSId()

void DTROS25Data::setROSId ( const int &  ID)
inline

Setters ///////////////////////.

Definition at line 31 of file DTControlData.h.

References theROSId.

Referenced by DTROS25Unpacker::interpretRawData().

31 { theROSId = ID; }
uint32_t ID
Definition: Definitions.h:24

Member Data Documentation

◆ theROBHeaders

std::vector<DTROBHeader> DTROS25Data::theROBHeaders
private

Definition at line 92 of file DTControlData.h.

Referenced by addROBHeader(), clean(), and getROBHeaders().

◆ theROBTrailers

std::vector<DTROBTrailerWord> DTROS25Data::theROBTrailers
private

Definition at line 93 of file DTControlData.h.

Referenced by addROBTrailer(), clean(), and getROBTrailers().

◆ theROSDebugs

std::vector<DTROSDebugWord> DTROS25Data::theROSDebugs
private

Definition at line 91 of file DTControlData.h.

Referenced by addROSDebug(), clean(), and getROSDebugs().

◆ theROSErrors

std::vector<DTROSErrorWord> DTROS25Data::theROSErrors
private

Definition at line 90 of file DTControlData.h.

Referenced by addROSError(), clean(), and getROSErrors().

◆ theROSHeader

DTROSHeaderWord DTROS25Data::theROSHeader
private

Definition at line 88 of file DTControlData.h.

Referenced by addROSHeader(), clean(), and getROSHeader().

◆ theROSId

int DTROS25Data::theROSId
private

Definition at line 86 of file DTControlData.h.

Referenced by getROSID(), and setROSId().

◆ theROSTrailer

DTROSTrailerWord DTROS25Data::theROSTrailer
private

Definition at line 89 of file DTControlData.h.

Referenced by addROSTrailer(), clean(), and getROSTrailer().

◆ theSCData

std::vector<DTSectorCollectorData> DTROS25Data::theSCData
private

Definition at line 97 of file DTControlData.h.

Referenced by addSCData(), clean(), and getSCData().

◆ theSCHeader

DTLocalTriggerHeaderWord DTROS25Data::theSCHeader
private

Definition at line 98 of file DTControlData.h.

Referenced by addSCHeader(), clean(), and getSCHeader().

◆ theSCPrivateHeader

DTLocalTriggerSectorCollectorHeaderWord DTROS25Data::theSCPrivateHeader
private

Definition at line 99 of file DTControlData.h.

Referenced by addSCPrivHeader(), and getSCPrivHeader().

◆ theSCPrivateSubHeader

DTLocalTriggerSectorCollectorSubHeaderWord DTROS25Data::theSCPrivateSubHeader
private

Definition at line 101 of file DTControlData.h.

Referenced by addSCPrivSubHeader(), and getSCPrivSubHeader().

◆ theSCTrailer

DTLocalTriggerTrailerWord DTROS25Data::theSCTrailer
private

Definition at line 100 of file DTControlData.h.

Referenced by addSCTrailer(), clean(), and getSCTrailer().

◆ theTDCData

std::vector<DTTDCData> DTROS25Data::theTDCData
private

Definition at line 95 of file DTControlData.h.

Referenced by addTDCData(), clean(), and getTDCData().

◆ theTDCError

std::vector<DTTDCError> DTROS25Data::theTDCError
private

Definition at line 96 of file DTControlData.h.

Referenced by addTDCError(), clean(), and getTDCError().

◆ theTDCMeasurements

std::vector<DTTDCMeasurementWord> DTROS25Data::theTDCMeasurements
private

Definition at line 94 of file DTControlData.h.

Referenced by addTDCMeasurement(), clean(), and getTDCMeasurements().