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
19
class
SiStripBadChannelBuilder
:
public
ConditionDBWriter
<SiStripBadStrip> {
20
public
:
21
explicit
SiStripBadChannelBuilder
(
const
edm::ParameterSet
&);
22
~SiStripBadChannelBuilder
()
override
;
23
24
private
:
25
std::unique_ptr<SiStripBadStrip>
getNewObject
()
override
;
26
27
edm::FileInPath
fp_
;
28
bool
printdebug_
;
29
30
typedef
std::vector<edm::ParameterSet>
Parameters
;
31
Parameters
BadComponentList_
;
32
};
33
#endif
SiStripBadChannelBuilder::getNewObject
std::unique_ptr< SiStripBadStrip > getNewObject() override
Definition:
SiStripBadChannelBuilder.cc:16
MessageLogger.h
ESHandle.h
SiStripBadChannelBuilder::~SiStripBadChannelBuilder
~SiStripBadChannelBuilder() override
Definition:
SiStripBadChannelBuilder.cc:14
SiStripBadStrip.h
edm::FileInPath
Definition:
FileInPath.h:61
ConditionDBWriter
Definition:
ConditionDBWriter.h:149
SiStripBadChannelBuilder::printdebug_
bool printdebug_
Definition:
SiStripBadChannelBuilder.h:28
SiStripBadChannelBuilder
Definition:
SiStripBadChannelBuilder.h:19
FileInPath.h
edm::ParameterSet
Definition:
ParameterSet.h:47
SiStripBadChannelBuilder::fp_
edm::FileInPath fp_
Definition:
SiStripBadChannelBuilder.h:27
SiStripBadChannelBuilder::SiStripBadChannelBuilder
SiStripBadChannelBuilder(const edm::ParameterSet &)
Definition:
SiStripBadChannelBuilder.cc:7
SiStripBadChannelBuilder::Parameters
std::vector< edm::ParameterSet > Parameters
Definition:
SiStripBadChannelBuilder.h:30
ConditionDBWriter.h
Exception.h
SiStripBadChannelBuilder::BadComponentList_
Parameters BadComponentList_
Definition:
SiStripBadChannelBuilder.h:31
ParameterSet.h
Generated for CMSSW Reference Manual by
1.8.16