Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-04-07 05:50:23

0001 #include "EventFilter/CSCRawToDigi/interface/CSCTMBHeader.h"
0002 #include "EventFilter/CSCRawToDigi/interface/CSCTMBData.h"
0003 #include "EventFilter/CSCRawToDigi/interface/CSCALCTHeader.h"
0004 #include "EventFilter/CSCRawToDigi/interface/CSCEventData.h"
0005 #include "EventFilter/CSCRawToDigi/interface/CSCAnodeData2006.h"
0006 #include "EventFilter/CSCRawToDigi/interface/CSCAnodeData2007.h"
0007 
0008 int main() {
0009   // For Run-1
0010   CSCTMBHeader::selfTest(2007, 0x50c3);
0011   // For Run-2
0012   CSCTMBHeader::selfTest(2013, 0x6200);
0013   // For Run-3 (O)TMB firmware and data format
0014 
0015   CSCTMBHeader::selfTest(2020, 0x401);  // OTMB MEx1 CCLUT/HMT Run3 format
0016   CSCTMBHeader::selfTest(2020, 0x601);  // OTMB MEx1 CCLUT/HMT+GEM Run3 format
0017   CSCTMBHeader::selfTest(2020, 0x801);  // copper TMB hybrid anode HMT-only CLCT Run2 LCT Run3 format
0018 
0019   CSCTMBHeader::selfTest(2020, 0x021);  // TMB CCLUT/HMT Run2 format
0020   CSCTMBHeader::selfTest(2020, 0x221);  // OTMB CCLUT/HMT Run2 format
0021   CSCTMBHeader::selfTest(2020, 0x421);  // OTMB MEx1 2020 Run2 format
0022   CSCTMBHeader::selfTest(2020, 0x621);  // OTMB ME11 2020 Run2 format
0023 
0024   CSCALCTHeader::selfTest(2007);
0025   CSCALCTHeader::selfTest(2006);
0026   CSCTMBData::selfTest();
0027   CSCTMBTrailer::selfTest();
0028   //CSCEventData::selfTest();
0029   CSCComparatorData::selfTest();
0030 
0031   CSCAnodeData2006::selfTest();
0032   CSCAnodeData2007::selfTest();
0033 }