Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CondTools
Ecal
interface
EcalTPGBadXTHandler.h
Go to the documentation of this file.
1
#ifndef ECAL_TPG_BADXT_HANDLER_H
2
#define ECAL_TPG_BADXT_HANDLER_H
3
4
#include <vector>
5
#include <typeinfo>
6
#include <string>
7
#include <map>
8
#include <iostream>
9
#include <time.h>
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/EcalTPGCrystalStatus.h
"
29
#include "
CondFormats/DataRecord/interface/EcalTPGCrystalStatusRcd.h
"
30
31
#include "
OnlineDB/EcalCondDB/interface/all_monitoring_types.h
"
32
#include "
OnlineDB/EcalCondDB/interface/all_od_types.h
"
33
#include "
OnlineDB/Oracle/interface/Oracle.h
"
34
#include "
OnlineDB/EcalCondDB/interface/EcalCondDBInterface.h
"
35
36
#include "
DataFormats/EcalDetId/interface/EEDetId.h
"
37
#include "
DataFormats/EcalDetId/interface/EBDetId.h
"
38
#include "
DataFormats/Provenance/interface/Timestamp.h
"
39
40
namespace
edm {
41
class
ParameterSet
;
42
class
Event
;
43
class
EventSetup
;
44
}
45
46
namespace
popcon
47
{
48
49
50
class
EcalTPGBadXTHandler
:
public
popcon::PopConSourceHandler
<EcalTPGCrystalStatus>
51
{
52
53
public
:
54
EcalTPGBadXTHandler
(
edm::ParameterSet
const
& );
55
~EcalTPGBadXTHandler
();
56
57
void
getNewObjects
();
58
59
std::string
id
()
const
{
return
m_name
;}
60
61
void
readFromFile
(
const
char
*
inputFile
) ;
62
void
writeFile
(
const
char
*
inputFile
);
63
EcalTPGCrystalStatus
*
produceEcalTrgChannelStatus
();
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
EcalTPGCrystalStatus
*
mycrystalStat
;
75
76
unsigned
int
m_firstRun
;
77
unsigned
int
m_lastRun
;
78
79
std::string
m_location
;
80
std::string
m_gentag
;
81
std::string
m_sid
;
82
std::string
m_user
;
83
std::string
m_pass
;
84
std::string
m_locationsource
;
85
std::string
m_name
;
86
unsigned
int
m_runnr
;
87
std::string
m_runtype
;
88
std::string
m_i_tag
;
89
int
m_i_version
;
90
unsigned
int
m_i_run_number
;
91
int
m_i_badXT
;
92
};
93
}
94
#endif
95
MessageLogger.h
EcalCondDBInterface.h
popcon::EcalTPGBadXTHandler::id
std::string id() const
Definition:
EcalTPGBadXTHandler.h:59
popcon::EcalTPGBadXTHandler::writeFile
void writeFile(const char *inputFile)
Definition:
EcalTPGBadXTHandler.cc:377
EcalTPGCrystalStatusRcd.h
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:39
popcon::EcalTPGBadXTHandler::m_sid
std::string m_sid
Definition:
EcalTPGBadXTHandler.h:81
popcon::EcalTPGBadXTHandler::to_string
std::string to_string(char value[])
Definition:
EcalTPGBadXTHandler.h:68
ParameterSet
Definition:
Functions.h:16
relativeConstraints.value
tuple value
Definition:
relativeConstraints.py:54
Event.h
MakerMacros.h
EventSetup.h
popcon::EcalTPGBadXTHandler
Definition:
EcalTPGBadXTHandler.h:50
Handle.h
popcon::EcalTPGBadXTHandler::mycrystalStat
const EcalTPGCrystalStatus * mycrystalStat
Definition:
EcalTPGBadXTHandler.h:74
popcon::EcalTPGBadXTHandler::getNewObjects
void getNewObjects()
Definition:
EcalTPGBadXTHandler.cc:49
popcon::EcalTPGBadXTHandler::m_lastRun
unsigned int m_lastRun
Definition:
EcalTPGBadXTHandler.h:77
popcon::EcalTPGBadXTHandler::m_user
std::string m_user
Definition:
EcalTPGBadXTHandler.h:82
ParameterSetfwd.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
Oracle.h
ParameterSet.h
EventSetup
EventSetupRecordKey.h
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:35
PoolDBOutputService.h
popcon::EcalTPGBadXTHandler::m_pass
std::string m_pass
Definition:
EcalTPGBadXTHandler.h:83
popcon::EcalTPGBadXTHandler::m_i_version
int m_i_version
Definition:
EcalTPGBadXTHandler.h:89
ESHandle.h
Service.h
popcon::EcalTPGBadXTHandler::m_firstRun
unsigned int m_firstRun
Definition:
EcalTPGBadXTHandler.h:76
popcon::EcalTPGBadXTHandler::econn
EcalCondDBInterface * econn
Definition:
EcalTPGBadXTHandler.h:65
popcon::EcalTPGBadXTHandler::m_location
std::string m_location
Definition:
EcalTPGBadXTHandler.h:79
popcon::EcalTPGBadXTHandler::produceEcalTrgChannelStatus
EcalTPGCrystalStatus * produceEcalTrgChannelStatus()
Definition:
EcalTPGBadXTHandler.cc:392
analyzePatCOC_cfg.inputFile
tuple inputFile
Definition:
analyzePatCOC_cfg.py:6
popcon::EcalTPGBadXTHandler::m_runnr
unsigned int m_runnr
Definition:
EcalTPGBadXTHandler.h:86
popcon::EcalTPGBadXTHandler::EcalTPGBadXTHandler
EcalTPGBadXTHandler(edm::ParameterSet const &)
Definition:
EcalTPGBadXTHandler.cc:25
popcon::EcalTPGBadXTHandler::m_name
std::string m_name
Definition:
EcalTPGBadXTHandler.h:85
all_od_types.h
PopConSourceHandler.h
popcon::EcalTPGBadXTHandler::m_i_run_number
unsigned int m_i_run_number
Definition:
EcalTPGBadXTHandler.h:90
Event
popcon::EcalTPGBadXTHandler::m_i_badXT
int m_i_badXT
Definition:
EcalTPGBadXTHandler.h:91
popcon::EcalTPGBadXTHandler::m_locationsource
std::string m_locationsource
Definition:
EcalTPGBadXTHandler.h:84
Timestamp.h
popcon::EcalTPGBadXTHandler::m_i_tag
std::string m_i_tag
Definition:
EcalTPGBadXTHandler.h:88
edm::ParameterSet
Definition:
ParameterSet.h:35
EBDetId.h
popcon::EcalTPGBadXTHandler::~EcalTPGBadXTHandler
~EcalTPGBadXTHandler()
Definition:
EcalTPGBadXTHandler.cc:44
EEDetId.h
popcon::EcalTPGBadXTHandler::m_gentag
std::string m_gentag
Definition:
EcalTPGBadXTHandler.h:80
popcon::EcalTPGBadXTHandler::m_runtype
std::string m_runtype
Definition:
EcalTPGBadXTHandler.h:87
EcalCondObjectContainer
Definition:
EcalCondObjectContainer.h:9
popcon::EcalTPGBadXTHandler::readFromFile
void readFromFile(const char *inputFile)
Definition:
EcalTPGBadXTHandler.cc:338
all_monitoring_types.h
EcalTPGCrystalStatus.h
Generated for CMSSW Reference Manual by
1.8.5