CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC4_patch1/src/CalibFormats/SiPixelObjects/interface/PixelConfigurationVerifier.h

Go to the documentation of this file.
00001 #ifndef PixelConfigurationVerifier_h
00002 #define PixelConfigurationVerifier_h
00003 
00008 #include <iostream>
00009 #include <vector>
00010 #include <string>
00011 #include <cassert>
00012 #include "CalibFormats/SiPixelObjects/interface/PixelFEDCard.h"
00013 #include "CalibFormats/SiPixelObjects/interface/PixelNameTranslation.h"
00014 #include "CalibFormats/SiPixelObjects/interface/PixelDetectorConfig.h"
00015 
00016 namespace pos{
00017 
00023   class PixelConfigurationVerifier {
00024 
00025   public:
00026 
00027     PixelConfigurationVerifier(){}
00028     virtual ~PixelConfigurationVerifier(){}
00029     
00030     //This method verifies that the right channels
00031     //are enabled on the set of FED card.
00032     //Warning messages are printed if a mismatch is found
00033     //and the fedcards are modified.
00034     void checkChannelEnable(PixelFEDCard *theFEDCard,
00035                             PixelNameTranslation *theNameTranslation,
00036                             PixelDetectorConfig *theDetConfig);
00037  
00038   private:
00039 
00040   };
00041 }
00042 #endif