CMS 3D CMS Logo

SiStripCommissioningOfflineClient.h
Go to the documentation of this file.
1 
2 #ifndef DQM_SiStripCommissioningClients_SiStripCommissioningOfflineClient_H
3 #define DQM_SiStripCommissioningClients_SiStripCommissioningOfflineClient_H
4 
14 #include <string>
15 #include <vector>
16 #include <map>
17 
19 class TH1;
20 
30 public:
33 
36 
37  void beginRun(const edm::Run&, const edm::EventSetup&) override;
38  void analyze(const edm::Event&, const edm::EventSetup&) override;
39  void endJob() override;
40 
41 protected:
42  virtual void createHistos(const edm::ParameterSet&, const edm::EventSetup&);
43  virtual void uploadToConfigDb() { ; }
44  virtual void setInputFiles(std::vector<std::string>&, const std::string, const std::string, uint32_t, bool);
45 
46 protected:
49 
52 
54  std::vector<std::string> inputFiles_;
55 
58 
61 
64 
67 
70 
73 
76 
79 
81  uint32_t runNumber_;
82 
85 
87  typedef std::vector<TH1*> Histos;
88 
90  typedef std::map<uint32_t, Histos> HistosMap;
91 
94 
96  std::vector<SummaryPlot> plots_;
97 
100 };
101 
102 #endif // DQM_SiStripCommissioningClients_SiStripCommissioningOfflineClient_H
SiStripCommissioningOfflineClient::SiStripCommissioningOfflineClient
SiStripCommissioningOfflineClient(const edm::ParameterSet &)
Definition: SiStripCommissioningOfflineClient.cc:36
SiStripCommissioningOfflineClient
Class which reads a root file containing "commissioning histograms", analyzes the histograms to extra...
Definition: SiStripCommissioningOfflineClient.h:29
SummaryPlotXmlParser.h
SiStripCommissioningOfflineClient::runType_
sistrip::RunType runType_
Definition: SiStripCommissioningOfflineClient.h:78
edm::Run
Definition: Run.h:45
SiStripCommissioningOfflineClient::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: SiStripCommissioningOfflineClient.cc:344
DQMStore.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
EDAnalyzer.h
sistrip::RunType
RunType
Definition: ConstantsForRunType.h:70
SiStripCommissioningOfflineClient::uploadToDb_
bool uploadToDb_
Definition: SiStripCommissioningOfflineClient.h:75
SummaryPlot.h
SiStripCommissioningOfflineClient::analyzeHistos_
bool analyzeHistos_
Definition: SiStripCommissioningOfflineClient.h:63
SiStripCommissioningOfflineClient::inputFiles_
std::vector< std::string > inputFiles_
Definition: SiStripCommissioningOfflineClient.h:54
edm::EDAnalyzer
Definition: EDAnalyzer.h:29
SiStripCommissioningOfflineClient::histos_
CommissioningHistograms * histos_
Definition: SiStripCommissioningOfflineClient.h:51
SiStripCommissioningOfflineClient::outputFileName_
std::string outputFileName_
Definition: SiStripCommissioningOfflineClient.h:57
SiStripCommissioningOfflineClient::setInputFiles
virtual void setInputFiles(std::vector< std::string > &, const std::string, const std::string, uint32_t, bool)
Definition: SiStripCommissioningOfflineClient.cc:415
dqm::legacy::DQMStore
Definition: DQMStore.h:727
SiStripCommissioningOfflineClient::createHistos
virtual void createHistos(const edm::ParameterSet &, const edm::EventSetup &)
Definition: SiStripCommissioningOfflineClient.cc:357
SiStripCommissioningOfflineClient::createSummaryPlots_
bool createSummaryPlots_
Definition: SiStripCommissioningOfflineClient.h:69
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiStripCommissioningOfflineClient::partitionName_
std::string partitionName_
Definition: SiStripCommissioningOfflineClient.h:84
SiStripCommissioningOfflineClient::endJob
void endJob() override
Definition: SiStripCommissioningOfflineClient.cc:353
SiStripConstants.h
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
SiStripCommissioningOfflineClient::plots_
std::vector< SummaryPlot > plots_
Definition: SiStripCommissioningOfflineClient.h:96
edm::EventSetup
Definition: EventSetup.h:57
CommissioningHistograms
Definition: CommissioningHistograms.h:23
SiStripCommissioningOfflineClient::HistosMap
std::map< uint32_t, Histos > HistosMap
Definition: SiStripCommissioningOfflineClient.h:90
SiStripCommissioningOfflineClient::runNumber_
uint32_t runNumber_
Definition: SiStripCommissioningOfflineClient.h:81
SiStripCommissioningOfflineClient::map_
HistosMap map_
Definition: SiStripCommissioningOfflineClient.h:93
SiStripCommissioningOfflineClient::DQMStore
dqm::harvesting::DQMStore DQMStore
Definition: SiStripCommissioningOfflineClient.h:32
SiStripCommissioningOfflineClient::beginRun
void beginRun(const edm::Run &, const edm::EventSetup &) override
Definition: SiStripCommissioningOfflineClient.cc:72
SiStripCommissioningOfflineClient::MonitorElement
dqm::harvesting::MonitorElement MonitorElement
Definition: SiStripCommissioningOfflineClient.h:31
SiStripCommissioningOfflineClient::Histos
std::vector< TH1 * > Histos
Definition: SiStripCommissioningOfflineClient.h:87
SiStripCommissioningOfflineClient::collateHistos_
bool collateHistos_
Definition: SiStripCommissioningOfflineClient.h:60
EventSetup.h
SiStripCommissioningOfflineClient::xmlFile_
std::string xmlFile_
Definition: SiStripCommissioningOfflineClient.h:66
SiStripTFile.h
SiStripCommissioningOfflineClient::parameters_
edm::ParameterSet parameters_
Definition: SiStripCommissioningOfflineClient.h:99
ParameterSet.h
SiStripCommissioningOfflineClient::~SiStripCommissioningOfflineClient
~SiStripCommissioningOfflineClient() override
Definition: SiStripCommissioningOfflineClient.cc:65
edm::Event
Definition: Event.h:73
SiStripCommissioningOfflineClient::uploadToConfigDb
virtual void uploadToConfigDb()
Definition: SiStripCommissioningOfflineClient.h:43
SiStripCommissioningOfflineClient::bei_
DQMStore * bei_
Definition: SiStripCommissioningOfflineClient.h:48
SiStripCommissioningOfflineClient::clientHistos_
bool clientHistos_
Definition: SiStripCommissioningOfflineClient.h:72