CondTools
SiStrip
plugins
SiStripBadChannelBuilder.h
Go to the documentation of this file.
1
#ifndef SiStripBadChannelBuilder_H
2
#define SiStripBadChannelBuilder_H
3
4
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
5
#include "
FWCore/Utilities/interface/Exception.h
"
6
#include "
FWCore/Framework/interface/ESHandle.h
"
7
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
8
#include "
CommonTools/ConditionDBWriter/interface/ConditionDBWriter.h
"
9
#include "
FWCore/ParameterSet/interface/FileInPath.h
"
10
11
#include "
CondFormats/SiStripObjects/interface/SiStripBadStrip.h
"
12
13
#include "CLHEP/Random/RandFlat.h"
14
#include "CLHEP/Random/RandGauss.h"
15
16
#include <vector>
17
#include <memory>
18
#include <ext/hash_map>
19
20
class
SiStripBadChannelBuilder
:
public
ConditionDBWriter
<SiStripBadStrip> {
21
public
:
22
explicit
SiStripBadChannelBuilder
(
const
edm::ParameterSet
&);
23
~SiStripBadChannelBuilder
()
override
;
24
25
private
:
26
std::unique_ptr<SiStripBadStrip>
getNewObject
()
override
;
27
28
edm::FileInPath
fp_
;
29
bool
printdebug_
;
30
31
typedef
std::vector<edm::ParameterSet>
Parameters
;
32
Parameters
BadComponentList_
;
33
};
34
#endif
SiStripBadChannelBuilder::getNewObject
std::unique_ptr< SiStripBadStrip > getNewObject() override
Definition:
SiStripBadChannelBuilder.cc:17
MessageLogger.h
ESHandle.h
SiStripBadChannelBuilder::~SiStripBadChannelBuilder
~SiStripBadChannelBuilder() override
Definition:
SiStripBadChannelBuilder.cc:15
SiStripBadStrip.h
FileInPath.h
edm::FileInPath
Definition:
FileInPath.h:64
ConditionDBWriter
Definition:
ConditionDBWriter.h:149
SiStripBadChannelBuilder::printdebug_
bool printdebug_
Definition:
SiStripBadChannelBuilder.h:29
SiStripBadChannelBuilder
Definition:
SiStripBadChannelBuilder.h:20
edm::ParameterSet
Definition:
ParameterSet.h:36
SiStripBadChannelBuilder::fp_
edm::FileInPath fp_
Definition:
SiStripBadChannelBuilder.h:28
SiStripBadChannelBuilder::SiStripBadChannelBuilder
SiStripBadChannelBuilder(const edm::ParameterSet &)
Definition:
SiStripBadChannelBuilder.cc:7
SiStripBadChannelBuilder::Parameters
std::vector< edm::ParameterSet > Parameters
Definition:
SiStripBadChannelBuilder.h:31
ConditionDBWriter.h
Exception.h
SiStripBadChannelBuilder::BadComponentList_
Parameters BadComponentList_
Definition:
SiStripBadChannelBuilder.h:32
ParameterSet.h
Generated for CMSSW Reference Manual by
1.8.16