1 #ifndef EventFilter_CSCRawToDigi_CSCALCTHeader_h
2 #define EventFilter_CSCRawToDigi_CSCALCTHeader_h
20 #include <boost/dynamic_bitset.hpp>
36 std::vector<CSCALCTDigi>
ALCTDigis()
const;
55 <<
"trying to access NTBINs: ALCT firmware version is bad/not defined!";
74 <<
"trying to access BXNcount: ALCT firmware version is bad/not defined!";
93 <<
"trying to set BXNcount: ALCT firmware version is bad/not defined!";
98 unsigned short int L1Acc()
const {
110 <<
"trying to access L1Acc: ALCT firmware version is bad/not defined!";
128 edm::LogError(
"CSCALCTHeader|CSCRawToDigi") <<
"trying to set L1Acc: ALCT firmware version is bad/not defined!";
151 <<
"trying to access ALCT firmware revision bits: ALCT firmware version is bad/not defined!";
157 std::vector<CSCShowerDigi>
results;
179 <<
"trying to access ALCT HMT Shower Digis bits: ALCT firmware version is bad/not defined!";
185 std::vector<unsigned short int>
results;
199 results.push_back(
theALCTs[
bx * 2].reserved & 0x3);
207 <<
"trying to access ALCT HMT bits: ALCT firmware version is bad/not defined!";
235 edm::LogError(
"CSCALCTHeader|CSCRawToDigi") <<
"SizeInWords(): ALCT firmware version is bad/not defined!";
251 edm::LogError(
"CSCALCTHeader|CSCRawToDigi") <<
"check(): ALCT firmware version is bad/not defined!";
256 void add(
const std::vector<CSCALCTDigi> &digis);
258 void addShower(
const std::vector<CSCShowerDigi> &digis);
260 boost::dynamic_bitset<>
pack();
Log< level::Error, false > LogError
std::ostream & operator<<(std::ostream &out, const ALILine &li)