CMS 3D CMS Logo

CommissioningAlgorithm.cc

Go to the documentation of this file.
00001 #include "DQM/SiStripCommissioningAnalysis/interface/CommissioningAlgorithm.h"
00002 #include "CondFormats/SiStripObjects/interface/CommissioningAnalysis.h"
00003 #include "DataFormats/SiStripCommon/interface/SiStripHistoTitle.h"
00004 #include "DataFormats/SiStripCommon/interface/SiStripEnumsAndStrings.h"
00005 #include "DataFormats/SiStripCommon/interface/SiStripConstants.h"
00006 #include "TProfile.h"
00007 #include <iomanip>
00008 
00009 // ----------------------------------------------------------------------------
00010 // 
00011 CommissioningAlgorithm::CommissioningAlgorithm( CommissioningAnalysis* const anal )
00012   : anal_( anal )
00013 {;}
00014 
00015 // ----------------------------------------------------------------------------
00016 // 
00017 CommissioningAlgorithm::CommissioningAlgorithm()
00018   : anal_(0)
00019 {;}
00020 
00021 // ----------------------------------------------------------------------------
00022 // 
00023 void CommissioningAlgorithm::analysis( const std::vector<TH1*>& histos ) { 
00024   if ( anal_ ) { anal()->reset(); }
00025   extract( histos );
00026   analyse();
00027 }
00028 
00029 // ----------------------------------------------------------------------------
00030 // 
00031 uint32_t CommissioningAlgorithm::extractFedKey( const TH1* const his ) {
00032   SiStripHistoTitle title( his->GetName() );
00033   return title.keyValue();
00034 }

Generated on Tue Jun 9 17:33:27 2009 for CMSSW by  doxygen 1.5.4