test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
CalibTracker
SiStripESProducers
src
Phase2TrackerCablingESProducer.cc
Go to the documentation of this file.
1
#include "
CalibTracker/SiStripESProducers/interface/Phase2TrackerCablingESProducer.h
"
2
#include "
CondFormats/DataRecord/interface/Phase2TrackerCablingRcd.h
"
3
#include "
CondFormats/SiStripObjects/interface/Phase2TrackerCabling.h
"
4
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
5
6
// -----------------------------------------------------------------------------
7
//
8
Phase2TrackerCablingESProducer::Phase2TrackerCablingESProducer
(
const
edm::ParameterSet
&
pset
) {
9
setWhatProduced
(
this
, &
Phase2TrackerCablingESProducer::produce
);
10
}
11
12
// -----------------------------------------------------------------------------
13
//
14
Phase2TrackerCablingESProducer::~Phase2TrackerCablingESProducer
() {}
15
16
// -----------------------------------------------------------------------------
17
//
18
std::auto_ptr<Phase2TrackerCabling>
Phase2TrackerCablingESProducer::produce
(
const
Phase2TrackerCablingRcd
& rcd ) {
19
20
Phase2TrackerCabling
*
temp
=
make
( rcd );
21
22
if
( !temp ) {
23
edm::LogWarning
(
"Phase2TrackerCabling"
)
24
<<
"[Phase2TrackerCablingESProducer::"
<< __func__ <<
"]"
25
<<
" Null pointer to Phase2TrackerCabling object!"
;
26
}
27
28
std::auto_ptr<Phase2TrackerCabling> ptr( temp );
29
return
ptr;
30
31
}
Phase2TrackerCablingRcd
Definition:
SiStripCondDataRecords.h:51
MessageLogger.h
Phase2TrackerCablingESProducer::produce
virtual std::auto_ptr< Phase2TrackerCabling > produce(const Phase2TrackerCablingRcd &)
Definition:
Phase2TrackerCablingESProducer.cc:18
TrackValidation_cff.pset
tuple pset
Definition:
TrackValidation_cff.py:374
groupFilesInBlocks.temp
temp
Definition:
groupFilesInBlocks.py:140
edm::LogWarning
Definition:
MessageLogger.h:140
Phase2TrackerCablingRcd.h
edm::ESProducer::setWhatProduced
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition:
ESProducer.h:115
Phase2TrackerCablingESProducer.h
Phase2TrackerCablingESProducer::Phase2TrackerCablingESProducer
Phase2TrackerCablingESProducer(const edm::ParameterSet &)
Definition:
Phase2TrackerCablingESProducer.cc:8
Phase2TrackerCabling
Definition:
Phase2TrackerCabling.h:9
Phase2TrackerCablingESProducer::~Phase2TrackerCablingESProducer
virtual ~Phase2TrackerCablingESProducer()
Definition:
Phase2TrackerCablingESProducer.cc:14
Phase2TrackerCablingESProducer::make
virtual Phase2TrackerCabling * make(const Phase2TrackerCablingRcd &)=0
edm::ParameterSet
Definition:
ParameterSet.h:36
Phase2TrackerCabling.h
Generated for CMSSW Reference Manual by
1.8.5