CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_1/src/CondFormats/CSCObjects/src/CSCReadoutMappingForSliceTest.cc

Go to the documentation of this file.
00001 #include <CondFormats/CSCObjects/interface/CSCReadoutMappingForSliceTest.h>
00002 #include <iostream>
00003 #include <fstream>
00004 #include <sstream>
00005 
00006 CSCReadoutMappingForSliceTest::CSCReadoutMappingForSliceTest(){}
00007 
00008 CSCReadoutMappingForSliceTest::~CSCReadoutMappingForSliceTest(){}
00009 
00010 int CSCReadoutMappingForSliceTest::hwId( int endcap, int station, int vmecrate, int dmb, int tmb ) const {
00011  
00012  int id = 0;
00013 
00014   // This is ONLY for Slice Test Nov-2005 and onwards... 
00015 
00016   id = vmecrate * 16 + dmb;
00017 
00018   // LogDebug("CSC") << " hardware id for endcap " << endcap <<
00019   // " station " << station << " vmecrate " << vmecrate << " dmb slot " << dmb <<
00020   // " tmb slot " << tmb << " = " << id;
00021   return id;
00022 }