test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
CalibTracker
SiStripESProducers
src
SiStripHashedDetIdESProducer.cc
Go to the documentation of this file.
1
#include "
CalibTracker/SiStripESProducers/interface/SiStripHashedDetIdESProducer.h
"
2
#include "
CalibFormats/SiStripObjects/interface/SiStripHashedDetId.h
"
3
#include "
CalibTracker/Records/interface/SiStripHashedDetIdRcd.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
SiStripHashedDetIdESProducer::SiStripHashedDetIdESProducer
(
const
edm::ParameterSet
&
pset
) {
13
setWhatProduced(
this
, &
SiStripHashedDetIdESProducer::produce
);
14
}
15
16
// -----------------------------------------------------------------------------
17
//
18
SiStripHashedDetIdESProducer::~SiStripHashedDetIdESProducer
() {}
19
20
// -----------------------------------------------------------------------------
21
//
22
std::auto_ptr<SiStripHashedDetId>
SiStripHashedDetIdESProducer::produce
(
const
SiStripHashedDetIdRcd
& rcd ) {
23
24
SiStripHashedDetId
*
temp
=
make
( rcd );
25
26
if
( !temp ) {
27
edm::LogWarning
(
mlCabling_
)
28
<<
"[SiStripHashedDetIdESProducer::"
<< __func__ <<
"]"
29
<<
" Null pointer to SiStripHashedDetId object!"
;
30
}
31
32
std::auto_ptr<SiStripHashedDetId> ptr( temp );
33
return
ptr;
34
35
}
36
MessageLogger.h
SiStripHashedDetIdESProducer.h
SiStripHashedDetIdESProducer::~SiStripHashedDetIdESProducer
virtual ~SiStripHashedDetIdESProducer()
Definition:
SiStripHashedDetIdESProducer.cc:19
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
SiStripHashedDetIdRcd.h
SiStripHashedDetId
Provides dense hash map in place of DetId.
Definition:
SiStripHashedDetId.h:19
sistrip::mlCabling_
static const char mlCabling_[]
Definition:
ConstantsForLogger.h:14
SiStripHashedDetId.h
SiStripHashedDetIdESProducer::produce
virtual std::auto_ptr< SiStripHashedDetId > produce(const SiStripHashedDetIdRcd &)
Definition:
SiStripHashedDetIdESProducer.cc:23
SiStripHashedDetIdRcd
Definition:
SiStripDependentRecords.h:36
edm::ParameterSet
Definition:
ParameterSet.h:36
SiStripHashedDetIdESProducer::SiStripHashedDetIdESProducer
SiStripHashedDetIdESProducer(const edm::ParameterSet &)
Definition:
SiStripHashedDetIdESProducer.cc:13
SiStripConstants.h
Generated for CMSSW Reference Manual by
1.8.5