CMS 3D CMS Logo

SiStripActionExecutor Class Reference

#include <DQM/SiStripMonitorClient/interface/SiStripActionExecutor.h>

Inheritance diagram for SiStripActionExecutor:

SiStripActionExecutorQTest

List of all members.

Public Member Functions

void bookGlobalStatus (DQMStore *dqm_store)
void createSummary (DQMStore *dqm_store)
void createSummaryOffline (DQMStore *dqm_store)
void createTkMap (const edm::ParameterSet &tkmapPset, const edm::ESHandle< SiStripFedCabling > &fedcabling, DQMStore *dqm_store)
void fillDummyGlobalStatus ()
void fillGlobalStatusFromLayer (DQMStore *dqm_store)
void fillGlobalStatusFromModule (DQMStore *dqm_store)
bool readConfiguration (int &sum_freq)
bool readConfiguration ()
bool readTkMapConfiguration ()
void resetGlobalStatus ()
void saveMEs (DQMStore *dqm_store, std::string fname)
 SiStripActionExecutor ()
virtual ~SiStripActionExecutor ()

Private Member Functions

void fillClusterReport (DQMStore *dqm_store, std::string &dname, int xbin)
void fillSubDetStatusFromLayer (DQMStore *dqm_store, std::string &dname, int &tot_me_subdet, int &error_me_subdet, unsigned int xbin)
void fillSubDetStatusFromModule (DQMStore *dqm_store, std::string &dname, int &tot_me_subdet, int &error_me_subdet, unsigned int xbin)
bool goToDir (DQMStore *dqm_store, std::string name)

Private Attributes

bool bookedGlobalStatus_
MonitorElementOnTrackClusterReport
SiStripSummaryCreatorsummaryCreator_
MonitorElementSummaryReport
MonitorElementSummaryReportMap
MonitorElementSummaryTECB
MonitorElementSummaryTECF
MonitorElementSummaryTIB
MonitorElementSummaryTIDB
MonitorElementSummaryTIDF
MonitorElementSummaryTOB
SiStripTrackerMapCreatortkMapCreator_
std::vector< std::string > tkMapMENames


Detailed Description

Definition at line 20 of file SiStripActionExecutor.h.


Constructor & Destructor Documentation

SiStripActionExecutor::SiStripActionExecutor (  ) 

Definition at line 28 of file SiStripActionExecutor.cc.

References bookedGlobalStatus_, summaryCreator_, and tkMapCreator_.

00028                                              {
00029   edm::LogInfo("SiStripActionExecutor") << 
00030     " Creating SiStripActionExecutor " << "\n" ;
00031   summaryCreator_= 0;
00032   tkMapCreator_ = 0; 
00033 
00034   bookedGlobalStatus_ = false;
00035 }

SiStripActionExecutor::~SiStripActionExecutor (  )  [virtual]

Definition at line 39 of file SiStripActionExecutor.cc.

References summaryCreator_, and tkMapCreator_.

00039                                               {
00040   edm::LogInfo("SiStripActionExecutor") << 
00041     " Deleting SiStripActionExecutor " << "\n" ;
00042   if (summaryCreator_) delete   summaryCreator_;
00043   if (tkMapCreator_) delete   tkMapCreator_;
00044 }


Member Function Documentation

void SiStripActionExecutor::bookGlobalStatus ( DQMStore dqm_store  ) 

Definition at line 112 of file SiStripActionExecutor.cc.

References DQMStore::book1D(), DQMStore::book2D(), bookedGlobalStatus_, DQMStore::bookFloat(), DQMStore::cd(), fillDummyGlobalStatus(), OnTrackClusterReport, MonitorElement::setAxisTitle(), MonitorElement::setBinLabel(), DQMStore::setCurrentFolder(), SummaryReport, SummaryReportMap, SummaryTECB, SummaryTECF, SummaryTIB, SummaryTIDB, SummaryTIDF, and SummaryTOB.

Referenced by SiStripOfflineDQM::beginJob(), SiStripAnalyser::beginJob(), fillGlobalStatusFromLayer(), and fillGlobalStatusFromModule().

00112                                                                 {
00113 
00114   if (!bookedGlobalStatus_) {
00115     dqm_store->cd();
00116     
00117     dqm_store->setCurrentFolder("SiStrip/EventInfo");    
00118     SummaryReport = dqm_store->bookFloat("reportSummary");
00119     
00120     SummaryReportMap = dqm_store->book2D("reportSummaryMap","SiStrip Report Summary Map",6,0.5,6.5,9,0.5,9.5);
00121     SummaryReportMap->setAxisTitle("Sub Detector Type", 1);
00122     SummaryReportMap->setAxisTitle("Layer/Disc Number", 2);
00123     SummaryReportMap->setBinLabel(1, "TIB");
00124     SummaryReportMap->setBinLabel(2, "TOB");
00125     SummaryReportMap->setBinLabel(3, "TIDF");
00126     SummaryReportMap->setBinLabel(4, "TIDB");
00127     SummaryReportMap->setBinLabel(5, "TECF");
00128     SummaryReportMap->setBinLabel(6, "TECB");
00129     
00130     dqm_store->setCurrentFolder("SiStrip/EventInfo/reportSummaryContents");      
00131     
00132     SummaryTIB  = dqm_store->bookFloat("SiStrip_TIB");
00133     SummaryTOB  = dqm_store->bookFloat("SiStrip_TOB");
00134     SummaryTIDF = dqm_store->bookFloat("SiStrip_TIDF");
00135     SummaryTIDB = dqm_store->bookFloat("SiStrip_TIDB");
00136     SummaryTECF = dqm_store->bookFloat("SiStrip_TECF");
00137     SummaryTECB = dqm_store->bookFloat("SiStrip_TECB");
00138 
00139     dqm_store->setCurrentFolder("SiStrip/Tracks");      
00140     OnTrackClusterReport = dqm_store->book1D("OnTrackClustersReport", "OnTrackClusterReport",34,0.5,34.5);
00141     OnTrackClusterReport->setAxisTitle("# of On Track Clusters", 2);
00142     OnTrackClusterReport->setBinLabel(1,"TIB_L1");
00143     OnTrackClusterReport->setBinLabel(2,"TIB_L2");
00144     OnTrackClusterReport->setBinLabel(3,"TIB_L3");
00145     OnTrackClusterReport->setBinLabel(4,"TOB_L4");
00146     OnTrackClusterReport->setBinLabel(5,"TOB_L1");
00147     OnTrackClusterReport->setBinLabel(6,"TOB_L2");
00148     OnTrackClusterReport->setBinLabel(7,"TOB_L3");
00149     OnTrackClusterReport->setBinLabel(8,"TOB_L4");
00150     OnTrackClusterReport->setBinLabel(9,"TOB_L5");
00151     OnTrackClusterReport->setBinLabel(10,"TOB_L6");
00152     OnTrackClusterReport->setBinLabel(11,"TIDF_W1");
00153     OnTrackClusterReport->setBinLabel(12,"TIDF_W2");
00154     OnTrackClusterReport->setBinLabel(13,"TIDF_W2");
00155     OnTrackClusterReport->setBinLabel(14,"TIDB_W1");
00156     OnTrackClusterReport->setBinLabel(15,"TIDB_W2");
00157     OnTrackClusterReport->setBinLabel(16,"TIDB_W2");
00158     OnTrackClusterReport->setBinLabel(17,"TECF_W1");
00159     OnTrackClusterReport->setBinLabel(18,"TECF_W2");
00160     OnTrackClusterReport->setBinLabel(19,"TECF_W3");
00161     OnTrackClusterReport->setBinLabel(20,"TECF_W4");
00162     OnTrackClusterReport->setBinLabel(21,"TECF_W5");
00163     OnTrackClusterReport->setBinLabel(22,"TECF_W6");
00164     OnTrackClusterReport->setBinLabel(23,"TECF_W7");
00165     OnTrackClusterReport->setBinLabel(24,"TECF_W8");
00166     OnTrackClusterReport->setBinLabel(25,"TECF_W9");
00167     OnTrackClusterReport->setBinLabel(26,"TECB_W1");
00168     OnTrackClusterReport->setBinLabel(27,"TECB_W2");
00169     OnTrackClusterReport->setBinLabel(28,"TECB_W3");
00170     OnTrackClusterReport->setBinLabel(29,"TECB_W4");
00171     OnTrackClusterReport->setBinLabel(30,"TECB_W5");
00172     OnTrackClusterReport->setBinLabel(31,"TECB_W6");
00173     OnTrackClusterReport->setBinLabel(32,"TECB_W7");
00174     OnTrackClusterReport->setBinLabel(33,"TECB_W8");
00175     OnTrackClusterReport->setBinLabel(34,"TECB_W9");
00176     
00177     bookedGlobalStatus_ = true;
00178     fillDummyGlobalStatus();
00179   }
00180 }

void SiStripActionExecutor::createSummary ( DQMStore dqm_store  ) 

Definition at line 80 of file SiStripActionExecutor.cc.

References DQMStore::cd(), SiStripSummaryCreator::createSummary(), DQMStore::dirExists(), and summaryCreator_.

Referenced by SiStripAnalyser::endLuminosityBlock().

00080                                                              {
00081   if (summaryCreator_) {
00082     dqm_store->cd();
00083     string dname = "SiStrip/MechanicalView";
00084     if (dqm_store->dirExists(dname)) {
00085       dqm_store->cd(dname);
00086       summaryCreator_->createSummary(dqm_store);
00087     }
00088   }
00089 }

void SiStripActionExecutor::createSummaryOffline ( DQMStore dqm_store  ) 

Definition at line 93 of file SiStripActionExecutor.cc.

References DQMStore::cd(), SiStripSummaryCreator::createSummary(), goToDir(), and summaryCreator_.

Referenced by SiStripOfflineDQM::endLuminosityBlock().

00093                                                                     {
00094   if (summaryCreator_) {
00095     dqm_store->cd();
00096     string dname = "MechanicalView";
00097     if (goToDir(dqm_store, dname)) {
00098       summaryCreator_->createSummary(dqm_store);
00099     }
00100   }
00101 }

void SiStripActionExecutor::createTkMap ( const edm::ParameterSet tkmapPset,
const edm::ESHandle< SiStripFedCabling > &  fedcabling,
DQMStore dqm_store 
)

Definition at line 105 of file SiStripActionExecutor.cc.

References SiStripTrackerMapCreator::create(), and tkMapCreator_.

Referenced by SiStripAnalyser::endLuminosityBlock().

00106                                                                                   {
00107   if (tkMapCreator_) tkMapCreator_->create(tkmapPset, fedcabling, dqm_store);
00108 }

void SiStripActionExecutor::fillClusterReport ( DQMStore dqm_store,
std::string &  dname,
int  xbin 
) [private]

Referenced by fillGlobalStatusFromLayer(), and fillGlobalStatusFromModule().

void SiStripActionExecutor::fillDummyGlobalStatus (  ) 

Definition at line 184 of file SiStripActionExecutor.cc.

References MonitorElement::Fill(), resetGlobalStatus(), SummaryReport, SummaryReportMap, SummaryTECB, SummaryTECF, SummaryTIB, SummaryTIDB, SummaryTIDF, and SummaryTOB.

Referenced by SiStripAnalyser::analyze(), bookGlobalStatus(), fillGlobalStatusFromLayer(), and fillGlobalStatusFromModule().

00184                                                  {
00185   
00186   resetGlobalStatus();
00187 
00188   SummaryReport->Fill(-1.0);
00189 
00190   SummaryTIB->Fill(-1.0);
00191   SummaryTOB->Fill(-1.0);
00192   SummaryTIDF->Fill(-1.0);
00193   SummaryTIDB->Fill(-1.0);
00194   SummaryTECF->Fill(-1.0);
00195   SummaryTECB->Fill(-1.0);
00196   
00197   for (unsigned int xbin = 1; xbin < 7; xbin++) {
00198     for (unsigned int ybin = 1; ybin < 10; ybin++) {
00199       SummaryReportMap->Fill(xbin, ybin, -1.0);
00200     }
00201   }
00202 }

void SiStripActionExecutor::fillGlobalStatusFromLayer ( DQMStore dqm_store  ) 

Definition at line 276 of file SiStripActionExecutor.cc.

References bookedGlobalStatus_, bookGlobalStatus(), GenMuonPlsPt100GeV_cfg::cout, lat::endl(), MonitorElement::Fill(), fillClusterReport(), fillDummyGlobalStatus(), fillSubDetStatusFromLayer(), SummaryReport, SummaryTECB, SummaryTECF, SummaryTIB, SummaryTIDB, SummaryTIDF, and SummaryTOB.

Referenced by SiStripAnalyser::analyze(), SiStripOfflineDQM::endLuminosityBlock(), and SiStripAnalyser::endLuminosityBlock().

00276                                                                          {
00277   if (!bookedGlobalStatus_) bookGlobalStatus(dqm_store);
00278   float gStatus = -1.0;
00279   int nDetErr = 0;
00280   int nDetTot = 0;
00281   int nDetTIBErr, nDetTOBErr, nDetTIDFErr, nDetTIDBErr, nDetTECFErr, nDetTECBErr;
00282   int nDetTIBTot, nDetTOBTot, nDetTIDFTot, nDetTIDBTot, nDetTECFTot, nDetTECBTot;
00283   float statusTIB, statusTOB,  statusTIDF,  statusTIDB,  statusTECF,  statusTECB;
00284 
00285   statusTIB  = statusTOB  = statusTIDF  = statusTIDB  = statusTECF  = statusTECB  = -1;
00286   nDetTIBErr = nDetTOBErr = nDetTIDFErr = nDetTIDBErr = nDetTECFErr = nDetTECBErr = 0;
00287   nDetTIBTot = nDetTOBTot = nDetTIDFTot = nDetTIDBTot = nDetTECFTot = nDetTECBTot = 0;
00288 
00289   fillDummyGlobalStatus();
00290 
00291   string dname;
00292   dname = "SiStrip/MechanicalView/TIB";
00293   fillSubDetStatusFromLayer(dqm_store, dname, nDetTIBTot, nDetTIBErr, 1);
00294   fillClusterReport(dqm_store, dname, 0);  
00295   dname = "SiStrip/MechanicalView/TOB";
00296   fillSubDetStatusFromLayer(dqm_store, dname, nDetTOBTot, nDetTOBErr, 2);  
00297   fillClusterReport(dqm_store, dname, 4);
00298   dname = "SiStrip/MechanicalView/TID/side_2";
00299   fillSubDetStatusFromLayer(dqm_store, dname,  nDetTIDFTot, nDetTIDFErr, 3);  
00300   fillClusterReport(dqm_store, dname, 10);
00301   dname = "SiStrip/MechanicalView/TID/side_1";
00302   fillSubDetStatusFromLayer(dqm_store, dname,  nDetTIDBTot, nDetTIDBErr, 4);  
00303   fillClusterReport(dqm_store, dname, 13);
00304   dname = "SiStrip/MechanicalView/TEC/side_2";
00305   fillSubDetStatusFromLayer(dqm_store, dname,  nDetTECFTot, nDetTECFErr, 5);  
00306   fillClusterReport(dqm_store, dname, 16);
00307   dname = "SiStrip/MechanicalView/TEC/side_1";
00308   fillSubDetStatusFromLayer(dqm_store, dname,  nDetTECBTot, nDetTECBErr, 6);  
00309   fillClusterReport(dqm_store, dname, 25);
00310   
00311   nDetTot = nDetTIBTot + nDetTOBTot + nDetTIDFTot + nDetTIDBTot + nDetTECFTot + nDetTECBTot;
00312   nDetErr = nDetTIBErr + nDetTOBErr + nDetTIDFErr + nDetTIDBErr + nDetTECFErr + nDetTECBErr;
00313   if (nDetTot > 0) gStatus = (1 - nDetErr*1.0/nDetTot);
00314   
00315   if (nDetTIBTot  > 0) statusTIB  = (1 - nDetTIBErr*1.0/nDetTIBTot);
00316   if (nDetTOBTot  > 0) statusTOB  = (1 - nDetTOBErr*1.0/nDetTOBTot);
00317   if (nDetTIDFTot > 0) statusTIDF = (1 - nDetTIDFErr*1.0/nDetTIDFTot);
00318   if (nDetTIDBTot > 0) statusTIDB = (1 - nDetTIDBErr*1.0/nDetTIDBTot);
00319   if (nDetTECFTot > 0) statusTECF = (1 - nDetTECFErr*1.0/nDetTECFTot);
00320   if (nDetTECBTot > 0) statusTECB = (1 - nDetTECBErr*1.0/nDetTECBTot);
00321   
00322 
00323   SummaryReport->Fill(gStatus);
00324   
00325   SummaryTIB->Fill(statusTIB);
00326   SummaryTOB->Fill(statusTOB);
00327   SummaryTIDF->Fill(statusTIDF);
00328   SummaryTIDB->Fill(statusTIDB);
00329   SummaryTECF->Fill(statusTECF);
00330   SummaryTECB->Fill(statusTECB);
00331 
00332   cout <<"# of Det TIB : (tot)"<<setw(5)<<nDetTIBTot<< " (error) "<<nDetTIBErr <<" ==> "<<statusTIB<< endl; 
00333   cout <<"# of Det TOB : (tot)"<<setw(5)<<nDetTOBTot<< " (error) "<<nDetTOBErr <<" ==> "<<statusTOB<< endl; 
00334   cout <<"# of Det TIDF: (tot)"<<setw(5)<<nDetTIDFTot<<" (error) "<<nDetTIDFErr<<" ==> "<<statusTIDF<< endl; 
00335   cout <<"# of Det TIDB: (tot)"<<setw(5)<<nDetTIDBTot<<" (error) "<<nDetTIDBErr<<" ==> "<<statusTIDB<< endl; 
00336   cout <<"# of Det TECF: (tot)"<<setw(5)<<nDetTECFTot<<" (error) "<<nDetTECFErr<<" ==> "<<statusTECF<< endl; 
00337   cout <<"# of Det TECB: (tot)"<<setw(5)<<nDetTECBTot<<" (error) "<<nDetTECBErr<<" ==> "<<statusTECB<< endl; 
00338 }

void SiStripActionExecutor::fillGlobalStatusFromModule ( DQMStore dqm_store  ) 

Definition at line 206 of file SiStripActionExecutor.cc.

References bookedGlobalStatus_, bookGlobalStatus(), GenMuonPlsPt100GeV_cfg::cout, lat::endl(), MonitorElement::Fill(), fillClusterReport(), fillDummyGlobalStatus(), fillSubDetStatusFromModule(), SummaryReport, SummaryTECB, SummaryTECF, SummaryTIB, SummaryTIDB, SummaryTIDF, and SummaryTOB.

Referenced by SiStripAnalyser::analyze(), SiStripOfflineDQM::endLuminosityBlock(), and SiStripAnalyser::endLuminosityBlock().

00206                                                                           {
00207   if (!bookedGlobalStatus_) bookGlobalStatus(dqm_store);
00208   float gStatus = -1.0;
00209   int nDetErr = 0;
00210   int nDetTot = 0;
00211   int nDetTIBErr, nDetTOBErr, nDetTIDFErr, nDetTIDBErr, nDetTECFErr, nDetTECBErr;
00212   int nDetTIBTot, nDetTOBTot, nDetTIDFTot, nDetTIDBTot, nDetTECFTot, nDetTECBTot;
00213   float statusTIB, statusTOB,  statusTIDF,  statusTIDB,  statusTECF,  statusTECB;
00214 
00215   statusTIB  = statusTOB  = statusTIDF  = statusTIDB  = statusTECF  = statusTECB  = -1;
00216   nDetTIBErr = nDetTOBErr = nDetTIDFErr = nDetTIDBErr = nDetTECFErr = nDetTECBErr = 0;
00217   nDetTIBTot = nDetTOBTot = nDetTIDFTot = nDetTIDBTot = nDetTECFTot = nDetTECBTot = 0;
00218 
00219   fillDummyGlobalStatus();
00220   string dname;
00221   // Get Status for TIB
00222   dname = "SiStrip/MechanicalView/TIB";
00223   fillSubDetStatusFromModule(dqm_store, dname, nDetTIBTot, nDetTIBErr, 1);
00224   fillClusterReport(dqm_store, dname, 0);
00225   // Get Status for TOB
00226   dname = "SiStrip/MechanicalView/TOB";
00227   fillSubDetStatusFromModule(dqm_store, dname, nDetTOBTot, nDetTOBErr, 2);  
00228   fillClusterReport(dqm_store, dname, 4);
00229   // Get Status for TIDF
00230   dname = "SiStrip/MechanicalView/TID/side_2";
00231   fillSubDetStatusFromModule(dqm_store, dname, nDetTIDFTot, nDetTIDFErr, 3);  
00232   fillClusterReport(dqm_store, dname, 10);
00233   // Get Status for TIDB 
00234   dname = "SiStrip/MechanicalView/TID/side_1";
00235   fillSubDetStatusFromModule(dqm_store, dname, nDetTIDBTot, nDetTIDBErr, 4);  
00236   fillClusterReport(dqm_store, dname, 13);
00237   // Get Status for TECF 
00238   dname = "SiStrip/MechanicalView/TEC/side_2";
00239   fillSubDetStatusFromModule(dqm_store, dname, nDetTECFTot, nDetTECFErr, 5);  
00240   fillClusterReport(dqm_store, dname, 16);
00241   // Get Status for TECB
00242   dname = "SiStrip/MechanicalView/TEC/side_1";
00243   fillSubDetStatusFromModule(dqm_store, dname, nDetTECBTot, nDetTECBErr, 6);  
00244   fillClusterReport(dqm_store, dname, 25);
00245 
00246   nDetTot = nDetTIBTot + nDetTOBTot + nDetTIDFTot + nDetTIDBTot + nDetTECFTot + nDetTECBTot;
00247   nDetErr = nDetTIBErr + nDetTOBErr + nDetTIDFErr + nDetTIDBErr + nDetTECFErr + nDetTECBErr;
00248   if (nDetTot > 0) gStatus = (1 - nDetErr*1.0/nDetTot);
00249   
00250   if (nDetTIBTot  > 0) statusTIB  = (1 - nDetTIBErr*1.0/nDetTIBTot);
00251   if (nDetTOBTot  > 0) statusTOB  = (1 - nDetTOBErr*1.0/nDetTOBTot);
00252   if (nDetTIDFTot > 0) statusTIDF = (1 - nDetTIDFErr*1.0/nDetTIDFTot);
00253   if (nDetTIDBTot > 0) statusTIDB = (1 - nDetTIDBErr*1.0/nDetTIDBTot);
00254   if (nDetTECFTot > 0) statusTECF = (1 - nDetTECFErr*1.0/nDetTECFTot);
00255   if (nDetTECBTot > 0) statusTECB = (1 - nDetTECBErr*1.0/nDetTECBTot);
00256   
00257   SummaryReport->Fill(gStatus);
00258     
00259   SummaryTIB->Fill(statusTIB);
00260   SummaryTOB->Fill(statusTOB);
00261   SummaryTIDF->Fill(statusTIDF);
00262   SummaryTIDB->Fill(statusTIDB);
00263   SummaryTECF->Fill(statusTECF);
00264   SummaryTECB->Fill(statusTECB);
00265     
00266   cout <<"# of Det TIB : (tot)"<<setw(5)<<nDetTIBTot<< " (error) "<<nDetTIBErr <<" ==> "<<statusTIB<< endl; 
00267   cout <<"# of Det TOB : (tot)"<<setw(5)<<nDetTOBTot<< " (error) "<<nDetTOBErr <<" ==> "<<statusTOB<< endl; 
00268   cout <<"# of Det TIDF: (tot)"<<setw(5)<<nDetTIDFTot<<" (error) "<<nDetTIDFErr<<" ==> "<<statusTIDF<< endl; 
00269   cout <<"# of Det TIDB: (tot)"<<setw(5)<<nDetTIDBTot<<" (error) "<<nDetTIDBErr<<" ==> "<<statusTIDB<< endl; 
00270   cout <<"# of Det TECF: (tot)"<<setw(5)<<nDetTECFTot<<" (error) "<<nDetTECFErr<<" ==> "<<statusTECF<< endl; 
00271   cout <<"# of Det TECB: (tot)"<<setw(5)<<nDetTECBTot<<" (error) "<<nDetTECBErr<<" ==> "<<statusTECB<< endl; 
00272 }

void SiStripActionExecutor::fillSubDetStatusFromLayer ( DQMStore dqm_store,
std::string &  dname,
int tot_me_subdet,
int error_me_subdet,
unsigned int  xbin 
) [private]

Referenced by fillGlobalStatusFromLayer().

void SiStripActionExecutor::fillSubDetStatusFromModule ( DQMStore dqm_store,
std::string &  dname,
int tot_me_subdet,
int error_me_subdet,
unsigned int  xbin 
) [private]

Referenced by fillGlobalStatusFromModule().

bool SiStripActionExecutor::goToDir ( DQMStore dqm_store,
std::string  name 
) [private]

Referenced by createSummaryOffline().

bool SiStripActionExecutor::readConfiguration ( int sum_freq  ) 

Definition at line 69 of file SiStripActionExecutor.cc.

References SiStripSummaryCreator::getFrequency(), readConfiguration(), HLT_VtxMuL3::result, and summaryCreator_.

00069                                                            {
00070   bool result = false;
00071   if (readConfiguration()) {
00072     sum_freq = summaryCreator_->getFrequency();
00073     if (sum_freq != -1) result = true;
00074   }
00075   return result;
00076 }

bool SiStripActionExecutor::readConfiguration (  ) 

Definition at line 48 of file SiStripActionExecutor.cc.

References SiStripSummaryCreator::readConfiguration(), and summaryCreator_.

Referenced by SiStripOfflineDQM::beginJob(), SiStripAnalyser::beginJob(), and readConfiguration().

00048                                               {
00049   
00050   if (!summaryCreator_) {
00051     summaryCreator_ = new SiStripSummaryCreator();
00052   }
00053   if (summaryCreator_->readConfiguration()) return true;
00054   else return false;
00055 }

bool SiStripActionExecutor::readTkMapConfiguration (  ) 

Definition at line 59 of file SiStripActionExecutor.cc.

References SiStripTrackerMapCreator::readConfiguration(), and tkMapCreator_.

Referenced by SiStripAnalyser::beginRun().

00059                                                    {
00060   
00061   if (tkMapCreator_) delete tkMapCreator_;
00062   tkMapCreator_ = new SiStripTrackerMapCreator();
00063   if (tkMapCreator_->readConfiguration()) return true;
00064   else return false;
00065 }

void SiStripActionExecutor::resetGlobalStatus (  ) 

Definition at line 457 of file SiStripActionExecutor.cc.

References bookedGlobalStatus_, OnTrackClusterReport, MonitorElement::Reset(), SummaryReport, SummaryReportMap, SummaryTECB, SummaryTECF, SummaryTIB, SummaryTIDB, SummaryTIDF, and SummaryTOB.

Referenced by fillDummyGlobalStatus().

00457                                               {
00458   if (bookedGlobalStatus_) {
00459     
00460     SummaryReport->Reset();
00461     
00462     SummaryReportMap->Reset();
00463     
00464     SummaryTIB->Reset();
00465     SummaryTOB->Reset();
00466     SummaryTIDF->Reset();
00467     SummaryTIDB->Reset();
00468     SummaryTECF->Reset();
00469     SummaryTECB->Reset();
00470 
00471     OnTrackClusterReport->Reset();
00472   }
00473 }

void SiStripActionExecutor::saveMEs ( DQMStore dqm_store,
std::string  fname 
)


Member Data Documentation

bool SiStripActionExecutor::bookedGlobalStatus_ [private]

Definition at line 71 of file SiStripActionExecutor.h.

Referenced by bookGlobalStatus(), fillGlobalStatusFromLayer(), fillGlobalStatusFromModule(), resetGlobalStatus(), and SiStripActionExecutor().

MonitorElement* SiStripActionExecutor::OnTrackClusterReport [private]

Definition at line 69 of file SiStripActionExecutor.h.

Referenced by bookGlobalStatus(), and resetGlobalStatus().

SiStripSummaryCreator* SiStripActionExecutor::summaryCreator_ [private]

Definition at line 57 of file SiStripActionExecutor.h.

Referenced by createSummary(), createSummaryOffline(), readConfiguration(), SiStripActionExecutor(), and ~SiStripActionExecutor().

MonitorElement* SiStripActionExecutor::SummaryReport [private]

Definition at line 60 of file SiStripActionExecutor.h.

Referenced by bookGlobalStatus(), fillDummyGlobalStatus(), fillGlobalStatusFromLayer(), fillGlobalStatusFromModule(), and resetGlobalStatus().

MonitorElement* SiStripActionExecutor::SummaryReportMap [private]

Definition at line 61 of file SiStripActionExecutor.h.

Referenced by bookGlobalStatus(), fillDummyGlobalStatus(), and resetGlobalStatus().

MonitorElement* SiStripActionExecutor::SummaryTECB [private]

Definition at line 67 of file SiStripActionExecutor.h.

Referenced by bookGlobalStatus(), fillDummyGlobalStatus(), fillGlobalStatusFromLayer(), fillGlobalStatusFromModule(), and resetGlobalStatus().

MonitorElement* SiStripActionExecutor::SummaryTECF [private]

Definition at line 66 of file SiStripActionExecutor.h.

Referenced by bookGlobalStatus(), fillDummyGlobalStatus(), fillGlobalStatusFromLayer(), fillGlobalStatusFromModule(), and resetGlobalStatus().

MonitorElement* SiStripActionExecutor::SummaryTIB [private]

Definition at line 62 of file SiStripActionExecutor.h.

Referenced by bookGlobalStatus(), fillDummyGlobalStatus(), fillGlobalStatusFromLayer(), fillGlobalStatusFromModule(), and resetGlobalStatus().

MonitorElement* SiStripActionExecutor::SummaryTIDB [private]

Definition at line 65 of file SiStripActionExecutor.h.

Referenced by bookGlobalStatus(), fillDummyGlobalStatus(), fillGlobalStatusFromLayer(), fillGlobalStatusFromModule(), and resetGlobalStatus().

MonitorElement* SiStripActionExecutor::SummaryTIDF [private]

Definition at line 64 of file SiStripActionExecutor.h.

Referenced by bookGlobalStatus(), fillDummyGlobalStatus(), fillGlobalStatusFromLayer(), fillGlobalStatusFromModule(), and resetGlobalStatus().

MonitorElement* SiStripActionExecutor::SummaryTOB [private]

Definition at line 63 of file SiStripActionExecutor.h.

Referenced by bookGlobalStatus(), fillDummyGlobalStatus(), fillGlobalStatusFromLayer(), fillGlobalStatusFromModule(), and resetGlobalStatus().

SiStripTrackerMapCreator* SiStripActionExecutor::tkMapCreator_ [private]

Definition at line 58 of file SiStripActionExecutor.h.

Referenced by createTkMap(), readTkMapConfiguration(), SiStripActionExecutor(), and ~SiStripActionExecutor().

std::vector<std::string> SiStripActionExecutor::tkMapMENames [private]

Definition at line 55 of file SiStripActionExecutor.h.


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:32:10 2009 for CMSSW by  doxygen 1.5.4