Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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