Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:26:16

0001 #include "EventFilter/RPCRawToDigi/interface/RPCMP7Record.h"
0002 
0003 namespace rpcmp7 {
0004 
0005   Header::Header() {
0006     record_[0] = 0x0;
0007     record_[1] = (std::uint64_t)(l1a_type_) << event_type_offset_;
0008   }
0009 
0010   Header::Header(std::uint64_t const record[2]) : rpcamc::Header(record) {}
0011 
0012   Header::Header(unsigned int amc_number,
0013                  unsigned int event_counter,
0014                  unsigned int bx_counter,
0015                  unsigned int data_length,
0016                  unsigned int orbit_counter,
0017                  unsigned int board_id,
0018                  unsigned int event_type)
0019       : rpcamc::Header(amc_number, event_counter, bx_counter, data_length, orbit_counter, board_id) {
0020     setEventType(event_type);
0021   }
0022 
0023   Header::~Header() {}
0024 
0025   SubHeader::SubHeader(std::uint64_t const record) : record_(record) {}
0026 
0027   BlockHeader::BlockHeader(std::uint32_t const record) : record_(record) {}
0028 
0029   BXHeader::BXHeader(std::uint32_t const record) : record_(record) {}
0030 
0031 }  // namespace rpcmp7