Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:58:12

0001 #ifndef PixelConfigurationVerifier_h
0002 #define PixelConfigurationVerifier_h
0003 /*! \file CalibFormats/SiPixelObjects/interface/PixelConfigurationVerifier.h
0004 *   \brief This class performs various tests to make sure that configurations are consistent
0005 *
0006 *   A longer explanation will be placed here later
0007 */
0008 #include <iostream>
0009 #include <vector>
0010 #include <string>
0011 #include <cassert>
0012 #include "CalibFormats/SiPixelObjects/interface/PixelFEDCard.h"
0013 #include "CalibFormats/SiPixelObjects/interface/PixelNameTranslation.h"
0014 #include "CalibFormats/SiPixelObjects/interface/PixelDetectorConfig.h"
0015 
0016 namespace pos {
0017 
0018   /*! \class PixelConfigurationVerifier PixelConfigurationVerifier.h "interface/PixelConfigurationVerifier.h"
0019 *   \brief This class performs various tests to make sure that configurations are consistent
0020 *
0021 *   A longer explanation will be placed here later
0022 */
0023   class PixelConfigurationVerifier {
0024   public:
0025     PixelConfigurationVerifier() {}
0026     virtual ~PixelConfigurationVerifier() {}
0027 
0028     //This method verifies that the right channels
0029     //are enabled on the set of FED card.
0030     //Warning messages are printed if a mismatch is found
0031     //and the fedcards are modified.
0032     void checkChannelEnable(PixelFEDCard *theFEDCard,
0033                             PixelNameTranslation *theNameTranslation,
0034                             PixelDetectorConfig *theDetConfig);
0035 
0036   private:
0037   };
0038 }  // namespace pos
0039 #endif