CMS 3D CMS Logo

CSCReadoutMappingForSliceTest Class Reference

Author:
Tim Cox A CSCReadoutMapping using encoding of hardware labels appropriate for CSC Slice Test from Winter 2005 to Summer 2006 (at least).
More...

#include <CondFormats/CSCObjects/interface/CSCReadoutMappingForSliceTest.h>

Inheritance diagram for CSCReadoutMappingForSliceTest:

CSCReadoutMapping CSCReadoutMappingFromFile

List of all members.

Public Member Functions

 CSCReadoutMappingForSliceTest ()
 Constructor.
virtual ~CSCReadoutMappingForSliceTest ()
 Destructor.

Private Member Functions

int hwId (int endcap, int station, int vme, int dmb, int tmb) const
 Build a unique integer out of the readout electronics labels.


Detailed Description

Author:
Tim Cox A CSCReadoutMapping using encoding of hardware labels appropriate for CSC Slice Test from Winter 2005 to Summer 2006 (at least).

Definition at line 13 of file CSCReadoutMappingForSliceTest.h.


Constructor & Destructor Documentation

CSCReadoutMappingForSliceTest::CSCReadoutMappingForSliceTest (  ) 

Constructor.

Definition at line 6 of file CSCReadoutMappingForSliceTest.cc.

00006 {}

CSCReadoutMappingForSliceTest::~CSCReadoutMappingForSliceTest (  )  [virtual]

Destructor.

Definition at line 8 of file CSCReadoutMappingForSliceTest.cc.

00008 {}


Member Function Documentation

int CSCReadoutMappingForSliceTest::hwId ( int  endcap,
int  station,
int  vme,
int  dmb,
int  tmb 
) const [private, virtual]

Build a unique integer out of the readout electronics labels.

In general this must depend on endcap and station, as well as vme crate number and dmb slot number. In principle perhaps tmb slot number might not be neighbour of dmb? But for slice test (Nov-2005 on) only relevant labels are vme and dmb.

Implements CSCReadoutMapping.

Definition at line 10 of file CSCReadoutMappingForSliceTest.cc.

00010                                                                                                        {
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 }


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:17:24 2009 for CMSSW by  doxygen 1.5.4