Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
TrackingTools
DetLayers
src
DetLayer.cc
Go to the documentation of this file.
1
#include "
TrackingTools/DetLayers/interface/DetLayer.h
"
2
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
3
4
DetLayer::~DetLayer
() {
delete
theNavigableLayer
;}
5
6
7
void
DetLayer::setNavigableLayer
(
NavigableLayer
* nlp) {
9
theNavigableLayer
= nlp;
10
11
//nlp=0 amount to cleaning the link. do nothing further
12
if
(nlp){
13
if
(nlp->
detLayer
() !=
this
) {
14
if
(nlp->
detLayer
() != 0) {
15
edm::LogWarning
(
"DetLayers"
) <<
"DetLayer Warning: my navigable layer does not point to me. "
16
<<
" Correcting..."
;
17
}
18
theNavigableLayer
->
setDetLayer
(
this
);
19
}
20
}
//nlp!=0
21
}
22
NavigableLayer::detLayer
virtual DetLayer * detLayer() const =0
MessageLogger.h
DetLayer::setNavigableLayer
void setNavigableLayer(NavigableLayer *nlp)
Set the NavigableLayer associated with this DetLayer.
Definition:
DetLayer.cc:7
edm::LogWarning
Definition:
MessageLogger.h:140
DetLayer::theNavigableLayer
NavigableLayer * theNavigableLayer
Definition:
DetLayer.h:77
DetLayer::~DetLayer
virtual ~DetLayer()
Definition:
DetLayer.cc:4
NavigableLayer
Definition:
NavigableLayer.h:24
NavigableLayer::setDetLayer
virtual void setDetLayer(DetLayer *dl)=0
DetLayer.h
Generated for CMSSW Reference Manual by
1.8.5