Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:36:54

0001 #ifndef CondFormats_CSCTriggerElectronicsMapping_h
0002 #define CondFormats_CSCTriggerElectronicsMapping_h
0003 
0004 /** 
0005  * \class CSCReadoutElectronicsMapping
0006  * \author Lindsey Gray
0007  * A CSCTriggerMapping that encodes the eletronics labels into a unique label,
0008  * appropriate for most situations including slicetest.
0009  */
0010 
0011 #include <CondFormats/CSCObjects/interface/CSCTriggerMapping.h>
0012 
0013 class CSCTriggerElectronicsMapping : public CSCTriggerMapping {
0014 public:
0015   /// Constructor
0016   CSCTriggerElectronicsMapping();
0017 
0018   /// Destructor
0019   ~CSCTriggerElectronicsMapping() override;
0020 
0021 private:
0022   /**
0023      * Build a unique integer out of labels present in or easily derivable from the 
0024      * readout.
0025      *
0026      */
0027   int hwId(int SPboardId, int FPGA, int cscid, int zero1 = 0, int zero2 = 0) const override;
0028 };
0029 
0030 #endif