Main Page
Namespaces
Classes
Package Documentation
CondTools
Ecal
interface
EcalTPGBadTTHandler.h
Go to the documentation of this file.
1
#ifndef ECAL_TPG_BADTT_HANDLER_H
2
#define ECAL_TPG_BADTT_HANDLER_H
3
4
#include <vector>
5
#include <typeinfo>
6
#include <string>
7
#include <map>
8
#include <iostream>
9
#include <ctime>
10
11
#include "
CondCore/PopCon/interface/PopConSourceHandler.h
"
12
#include "
FWCore/ParameterSet/interface/ParameterSetfwd.h
"
13
14
15
#include "
FWCore/ServiceRegistry/interface/Service.h
"
16
#include "
CondCore/DBOutputService/interface/PoolDBOutputService.h
"
17
#include "
FWCore/Framework/interface/ESHandle.h
"
18
#include "
FWCore/Framework/interface/Event.h
"
19
#include "
FWCore/Framework/interface/MakerMacros.h
"
20
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
21
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
22
#include "
DataFormats/Common/interface/Handle.h
"
23
#include "
FWCore/Framework/interface/EventSetup.h
"
24
#include "
FWCore/Framework/interface/EventSetupRecordKey.h
"
25
26
27
28
#include "
CondFormats/EcalObjects/interface/EcalTPGTowerStatus.h
"
29
#include "
CondFormats/DataRecord/interface/EcalTPGTowerStatusRcd.h
"
30
31
#include "
OnlineDB/EcalCondDB/interface/all_monitoring_types.h
"
32
#include "
OnlineDB/Oracle/interface/Oracle.h
"
33
#include "
OnlineDB/EcalCondDB/interface/EcalCondDBInterface.h
"
34
35
#include "
DataFormats/EcalDetId/interface/EEDetId.h
"
36
#include "
DataFormats/EcalDetId/interface/EBDetId.h
"
37
#include "
DataFormats/Provenance/interface/Timestamp.h
"
38
39
namespace
edm
{
40
class
ParameterSet
;
41
class
Event
;
42
class
EventSetup
;
43
}
44
45
namespace
popcon
46
{
47
48
49
class
EcalTPGBadTTHandler
:
public
popcon::PopConSourceHandler
<EcalTPGTowerStatus>
50
{
51
52
public
:
53
EcalTPGBadTTHandler
(
edm::ParameterSet
const
& );
54
~
EcalTPGBadTTHandler
()
override
;
55
56
void
getNewObjects()
override
;
57
58
std::map<std::string, int> makeTTEEDetId();
59
60
std::string
id
()
const override
{
return
m_name;}
61
62
void
readFromFile(
const
char
*
inputFile
) ;
63
void
writeFile(
const
char
* inputFile);
64
65
EcalCondDBInterface
*
econn
;
66
67
private
:
68
std::string
to_string
(
char
value
[]) {
69
std::ostringstream streamOut;
70
streamOut <<
value
;
71
return
streamOut.str();
72
}
73
74
const
EcalTPGTowerStatus
*
mytowerStat
;
75
76
unsigned
int
m_firstRun
;
77
unsigned
int
m_lastRun
;
78
std::map <std::string, int>
mapDetEEId
;
79
80
std::string
m_location
;
81
std::string
m_gentag
;
82
std::string
m_sid
;
83
std::string
m_user
;
84
std::string
m_pass
;
85
std::string
m_locationsource
;
86
std::string
m_name
;
87
unsigned
int
m_runnr
;
88
std::string
m_runtype
;
89
std::string
m_i_tag
;
90
int
m_i_version
;
91
unsigned
int
m_i_run_number
;
92
int
m_i_badTT
;
93
};
94
}
95
#endif
96
popcon::EcalTPGBadTTHandler::mapDetEEId
std::map< std::string, int > mapDetEEId
Definition:
EcalTPGBadTTHandler.h:78
MessageLogger.h
EcalCondDBInterface.h
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:38
popcon::EcalTPGBadTTHandler::m_user
std::string m_user
Definition:
EcalTPGBadTTHandler.h:83
ParameterSet
Definition:
Functions.h:16
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
Event.h
popcon::EcalTPGBadTTHandler::m_i_run_number
unsigned int m_i_run_number
Definition:
EcalTPGBadTTHandler.h:91
MakerMacros.h
EventSetup.h
popcon::EcalTPGBadTTHandler::m_runtype
std::string m_runtype
Definition:
EcalTPGBadTTHandler.h:88
popcon
Definition:
Exception.h:6
popcon::EcalTPGBadTTHandler
Definition:
EcalTPGBadTTHandler.h:49
popcon::EcalTPGBadTTHandler::m_location
std::string m_location
Definition:
EcalTPGBadTTHandler.h:80
ParameterSetfwd.h
EcalTPGTowerStatusRcd.h
Oracle.h
ParameterSet.h
popcon::EcalTPGBadTTHandler::m_locationsource
std::string m_locationsource
Definition:
EcalTPGBadTTHandler.h:85
popcon::EcalTPGBadTTHandler::m_i_tag
std::string m_i_tag
Definition:
EcalTPGBadTTHandler.h:89
popcon::EcalTPGBadTTHandler::to_string
std::string to_string(char value[])
Definition:
EcalTPGBadTTHandler.h:68
EventSetup
EventSetupRecordKey.h
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:32
PoolDBOutputService.h
ESHandle.h
popcon::EcalTPGBadTTHandler::m_i_badTT
int m_i_badTT
Definition:
EcalTPGBadTTHandler.h:92
Service.h
value
Definition:
value.py:1
Timestamp.h
analyzePatCleaning_cfg.inputFile
inputFile
Definition:
analyzePatCleaning_cfg.py:6
popcon::EcalTPGBadTTHandler::m_gentag
std::string m_gentag
Definition:
EcalTPGBadTTHandler.h:81
relativeConstraints.value
value
Definition:
relativeConstraints.py:52
popcon::EcalTPGBadTTHandler::m_runnr
unsigned int m_runnr
Definition:
EcalTPGBadTTHandler.h:87
popcon::EcalTPGBadTTHandler::m_lastRun
unsigned int m_lastRun
Definition:
EcalTPGBadTTHandler.h:77
popcon::EcalTPGBadTTHandler::econn
EcalCondDBInterface * econn
Definition:
EcalTPGBadTTHandler.h:65
popcon::EcalTPGBadTTHandler::m_i_version
int m_i_version
Definition:
EcalTPGBadTTHandler.h:90
PopConSourceHandler.h
popcon::EcalTPGBadTTHandler::m_pass
std::string m_pass
Definition:
EcalTPGBadTTHandler.h:84
popcon::EcalTPGBadTTHandler::mytowerStat
const EcalTPGTowerStatus * mytowerStat
Definition:
EcalTPGBadTTHandler.h:74
popcon::EcalTPGBadTTHandler::m_firstRun
unsigned int m_firstRun
Definition:
EcalTPGBadTTHandler.h:76
Event
EcalTPGTowerStatus
Definition:
EcalTPGTowerStatus.h:9
popcon::EcalTPGBadTTHandler::m_name
std::string m_name
Definition:
EcalTPGBadTTHandler.h:86
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::ParameterSet
Definition:
ParameterSet.h:36
EBDetId.h
EEDetId.h
EcalTPGTowerStatus.h
popcon::EcalTPGBadTTHandler::m_sid
std::string m_sid
Definition:
EcalTPGBadTTHandler.h:82
Handle.h
all_monitoring_types.h
popcon::EcalTPGBadTTHandler::id
std::string id() const override
Definition:
EcalTPGBadTTHandler.h:60
Generated for CMSSW Reference Manual by
1.8.11