Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
CalibTracker
SiStripESProducers
src
SiStripFedCablingESProducer.cc
Go to the documentation of this file.
1
#include "
CalibTracker/SiStripESProducers/interface/SiStripFedCablingESProducer.h
"
2
#include "
CondFormats/DataRecord/interface/SiStripFedCablingRcd.h
"
3
#include "
CondFormats/SiStripObjects/interface/SiStripFedCabling.h
"
4
#include "
DataFormats/SiStripCommon/interface/SiStripConstants.h
"
5
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
6
#include <iostream>
7
8
using namespace
sistrip;
9
10
// -----------------------------------------------------------------------------
11
//
12
SiStripFedCablingESProducer::SiStripFedCablingESProducer
(
const
edm::ParameterSet
&
pset
) {
13
setWhatProduced(
this
, &
SiStripFedCablingESProducer::produce
);
14
}
15
16
// -----------------------------------------------------------------------------
17
//
18
SiStripFedCablingESProducer::~SiStripFedCablingESProducer
() {}
19
20
// -----------------------------------------------------------------------------
21
//
22
std::auto_ptr<SiStripFedCabling>
SiStripFedCablingESProducer::produce
(
const
SiStripFedCablingRcd
& rcd ) {
23
24
SiStripFedCabling
*
temp
=
make
( rcd );
25
26
if
( !temp ) {
27
edm::LogWarning
(
mlCabling_
)
28
<<
"[SiStripFedCablingESProducer::"
<< __func__ <<
"]"
29
<<
" Null pointer to SiStripFedCabling object!"
;
30
}
31
32
std::auto_ptr<SiStripFedCabling> ptr( temp );
33
return
ptr;
34
35
}
SiStripFedCablingESProducer::produce
virtual std::auto_ptr< SiStripFedCabling > produce(const SiStripFedCablingRcd &)
Definition:
SiStripFedCablingESProducer.cc:22
SiStripFedCablingESProducer.h
MessageLogger.h
SiStripFedCablingESProducer::~SiStripFedCablingESProducer
virtual ~SiStripFedCablingESProducer()
Definition:
SiStripFedCablingESProducer.cc:18
reco::modules::make
S make(const edm::ParameterSet &cfg)
Definition:
ParameterAdapter.h:24
TrackValidation_cff.pset
tuple pset
Definition:
TrackValidation_cff.py:374
groupFilesInBlocks.temp
temp
Definition:
groupFilesInBlocks.py:140
edm::LogWarning
Definition:
MessageLogger.h:140
SiStripFedCabling.h
sistrip::mlCabling_
static const char mlCabling_[]
Definition:
ConstantsForLogger.h:14
SiStripFedCablingESProducer::SiStripFedCablingESProducer
SiStripFedCablingESProducer(const edm::ParameterSet &)
Definition:
SiStripFedCablingESProducer.cc:12
SiStripFedCabling
Contains cabling info at the device level, including DetId, APV pair numbers, hardware addresses...
Definition:
SiStripFedCabling.h:27
SiStripFedCablingRcd.h
edm::ParameterSet
Definition:
ParameterSet.h:36
SiStripConstants.h
SiStripFedCablingRcd
Definition:
SiStripCondDataRecords.h:19
Generated for CMSSW Reference Manual by
1.8.5