Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:50:55

0001 #ifndef CondFormats_CSCTriggerElectronicsMappingFromFile_h
0002 #define CondFormats_CSCTriggerElectronicsMappingFromFile_h
0003 
0004 /** 
0005  * \class CSCTriggerElectronicsMappingFromFile
0006  * \author Lindsey Gray
0007  * A concrete CSCTriggerElectronicsMapping to read mapping from Ascii file.
0008  */
0009 
0010 #include <CondFormats/CSCObjects/interface/CSCTriggerElectronicsMapping.h>
0011 #include <string>
0012 
0013 class CSCTriggerElectronicsMappingFromFile : public CSCTriggerElectronicsMapping {
0014 public:
0015   /// Constructor
0016   explicit CSCTriggerElectronicsMappingFromFile(std::string filename);
0017   CSCTriggerElectronicsMappingFromFile() {}
0018 
0019   /// Destructor
0020   ~CSCTriggerElectronicsMappingFromFile() override;
0021 
0022   /// Fill mapping store
0023   void fill(void) override;
0024 
0025 private:
0026   std::string filename_;
0027 };
0028 
0029 #endif