Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:01:59

0001 #ifndef CondFormats_CSCReadoutMappingForSliceTest_h
0002 #define CondFormats_CSCReadoutMappingForSliceTest_h
0003 
0004 /** 
0005  * \class CSCReadoutMappingForSliceTest
0006  * \author Tim Cox
0007  * A CSCReadoutMapping using encoding of hardware labels
0008  * appropriate for CSC Slice Test from Winter 2005 to Summer 2006 (at least).
0009  */
0010 
0011 #include <CondFormats/CSCObjects/interface/CSCReadoutMapping.h>
0012 
0013 class CSCReadoutMappingForSliceTest : public CSCReadoutMapping {
0014 public:
0015   /// Constructor
0016   CSCReadoutMappingForSliceTest();
0017 
0018   /// Destructor
0019   ~CSCReadoutMappingForSliceTest() override;
0020 
0021 private:
0022   /**
0023      * Build a unique integer out of the readout electronics labels.
0024      *
0025      * In general this must depend on endcap and station, as well as
0026      * vme crate number and dmb slot number. In principle perhaps tmb slot
0027      * number might not be neighbour of dmb?
0028      * But for slice test (Nov-2005 on) only relevant labels are vme and dmb.
0029      */
0030   int hwId(int endcap, int station, int vme, int dmb, int tmb) const override;
0031 };
0032 
0033 #endif