Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:02:00

0001 #include <CondFormats/CSCObjects/interface/CSCReadoutMappingForSliceTest.h>
0002 #include <iostream>
0003 #include <fstream>
0004 #include <sstream>
0005 
0006 CSCReadoutMappingForSliceTest::CSCReadoutMappingForSliceTest() {}
0007 
0008 CSCReadoutMappingForSliceTest::~CSCReadoutMappingForSliceTest() {}
0009 
0010 int CSCReadoutMappingForSliceTest::hwId(int endcap, int station, int vmecrate, int dmb, int tmb) const {
0011   int id = 0;
0012 
0013   // This is ONLY for Slice Test Nov-2005 and onwards...
0014 
0015   id = vmecrate * 16 + dmb;
0016 
0017   // LogDebug("CSC") << " hardware id for endcap " << endcap <<
0018   // " station " << station << " vmecrate " << vmecrate << " dmb slot " << dmb <<
0019   // " tmb slot " << tmb << " = " << id;
0020   return id;
0021 }