1 #ifndef DTDigi_DTControlData_h 2 #define DTDigi_DTControlData_h 18 typedef std::pair<int, DTTDCMeasurementWord>
DTTDCData;
111 theDDUHeader(dduHeader),
112 theDDUTrailer(dduTrailer),
113 crcErrorBitSet(
false)
119 crcErrorBitSet(
false)
129 theROSStatusWords.push_back(word);
132 theDDUStatusWord = word;
143 return theROSStatusWords;}
145 return theDDUStatusWord;}
147 return crcErrorBitSet;
152 theROSStatusWords.clear();
std::vector< DTSectorCollectorData > theSCData
const std::vector< DTROBHeader > & getROBHeaders() const
void addSCData(const DTSectorCollectorData &scData)
void addDDUStatusWord(const DTDDUSecondStatusWord &word)
DTLocalTriggerTrailerWord theSCTrailer
int getROSID() const
Getters ////////////////////////.
std::vector< DTROBHeader > theROBHeaders
void addROSStatusWord(const DTDDUFirstStatusWord &word)
const std::vector< DTTDCData > & getTDCData() const
virtual ~DTROS25Data()
Destructor.
const DTLocalTriggerSectorCollectorHeaderWord & getSCPrivHeader() const
std::pair< int, DTROBHeaderWord > DTROBHeader
void addROBHeader(const DTROBHeader &robHeader)
virtual ~DTDDUData()
Destructor.
std::vector< DTDDUData > DTDDUCollection
void addSCPrivHeader(const DTLocalTriggerSectorCollectorHeaderWord &scPrivHeader)
void addSCTrailer(const DTLocalTriggerTrailerWord &scTrailer)
bool crcModified() const
True if the CRC value has been modified by the S-link sender card.
std::vector< std::vector< DTROS25Data > > DTROS25Collection
std::vector< DTROBTrailerWord > theROBTrailers
void addTDCMeasurement(const DTTDCMeasurementWord &word)
DTROS25Data(int ROSId=0)
Constructors.
const DTLocalTriggerTrailerWord & getSCTrailer() const
const std::vector< DTROSDebugWord > & getROSDebugs() const
const std::vector< DTSectorCollectorData > & getSCData() const
const std::vector< DTDDUFirstStatusWord > & getFirstStatusWord() const
std::pair< int, DTTDCErrorWord > DTTDCError
void addTDCError(const DTTDCError &tdcError)
void addSCPrivSubHeader(const DTLocalTriggerSectorCollectorSubHeaderWord &scPrivSubHeader)
const DTROSTrailerWord & getROSTrailer() const
const DTROSHeaderWord & getROSHeader() const
std::vector< DTTDCError > theTDCError
std::pair< DTLocalTriggerDataWord, int > DTSectorCollectorData
void setROSId(const int &ID)
Setters ///////////////////////.
void addDDUHeader(const FEDHeader &word)
Setters.
DTLocalTriggerSectorCollectorHeaderWord theSCPrivateHeader
void addDDUTrailer(const FEDTrailer &word)
DTROSHeaderWord theROSHeader
void checkCRCBit(const unsigned char *trailer)
std::vector< DTROSErrorWord > theROSErrors
const FEDTrailer & getDDUTrailer() const
DTDDUSecondStatusWord theDDUStatusWord
DTROSTrailerWord theROSTrailer
std::vector< DTDDUFirstStatusWord > theROSStatusWords
const FEDHeader & getDDUHeader() const
Getters.
void addROBTrailer(const DTROBTrailerWord &word)
const std::vector< DTROBTrailerWord > & getROBTrailers() const
std::vector< DTTDCMeasurementWord > theTDCMeasurements
void addROSHeader(const DTROSHeaderWord &word)
void addROSError(const DTROSErrorWord &word)
DTDDUData(const FEDHeader &dduHeader, const FEDTrailer &dduTrailer)
Constructor.
const DTLocalTriggerHeaderWord & getSCHeader() const
const std::vector< DTTDCMeasurementWord > & getTDCMeasurements() const
const std::vector< DTROSErrorWord > & getROSErrors() const
void addROSTrailer(const DTROSTrailerWord &word)
std::vector< DTTDCData > theTDCData
std::pair< int, DTTDCMeasurementWord > DTTDCData
void addSCHeader(const DTLocalTriggerHeaderWord &scHeader)
std::vector< DTROSDebugWord > theROSDebugs
DTLocalTriggerSectorCollectorSubHeaderWord theSCPrivateSubHeader
void addROSDebug(const DTROSDebugWord &word)
const std::vector< DTTDCError > & getTDCError() const
const DTDDUSecondStatusWord & getSecondStatusWord() const
void addTDCData(const DTTDCData &tdcData)
DTLocalTriggerHeaderWord theSCHeader
const DTLocalTriggerSectorCollectorSubHeaderWord & getSCPrivSubHeader() const