1 #ifndef DTDigi_DTControlData_h
2 #define DTDigi_DTControlData_h
19 typedef std::pair<int, DTTDCMeasurementWord>
DTTDCData;
136 const fedt_struct* theTrailer(reinterpret_cast<const fedt_t*>(trailer));
137 if(((theTrailer->
conscheck & 0x00000004) >> 2) == 1) {
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)
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
volatile std::atomic< bool > shutdown_flag false
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