RecoTracker
TkMSParametrization
src
MSLayersKeeper.h
Go to the documentation of this file.
1
#ifndef MSLayersKeeper_H
2
#define MSLayersKeeper_H
3
4
class
DetLayer
;
5
#include "
FWCore/Utilities/interface/Visibility.h
"
6
7
#include "
RecoTracker/TkMSParametrization/interface/MSLayer.h
"
8
#include "
MSLayersAtAngle.h
"
9
#include "
FWCore/Framework/interface/EventSetup.h
"
10
11
class
dso_hidden
MSLayersKeeper
{
12
public
:
13
virtual
~MSLayersKeeper
() {}
14
virtual
MSLayer
layer
(
const
DetLayer
* dl)
const
{
return
MSLayer
(dl,
DataX0
(
this
)); }
15
virtual
const
MSLayersAtAngle
&
layers
(
float
cotTheta)
const
= 0;
16
17
protected
:
18
typedef
MSLayer::DataX0
DataX0
;
19
static
const
DataX0
&
getDataX0
(
const
MSLayer
&
l
) {
return
l
.theX0Data; }
20
static
void
setDataX0
(
MSLayer
&
l
,
const
DataX0
& x0Data) {
l
.theX0Data = x0Data; }
21
};
22
23
#endif
MSLayersKeeper::DataX0
MSLayer::DataX0 DataX0
Definition:
MSLayersKeeper.h:18
EventSetup.h
MSLayersKeeper::setDataX0
static void setDataX0(MSLayer &l, const DataX0 &x0Data)
Definition:
MSLayersKeeper.h:20
Visibility.h
MSLayersKeeper
Definition:
MSLayersKeeper.h:11
cmsLHEtoEOSManager.l
l
Definition:
cmsLHEtoEOSManager.py:212
DetLayer
Definition:
DetLayer.h:21
MSLayer.h
MSLayersKeeper::getDataX0
static const DataX0 & getDataX0(const MSLayer &l)
Definition:
MSLayersKeeper.h:19
dso_hidden
#define dso_hidden
Definition:
Visibility.h:12
MSLayersKeeper::layer
virtual MSLayer layer(const DetLayer *dl) const
Definition:
MSLayersKeeper.h:14
MSLayersAtAngle
Definition:
MSLayersAtAngle.h:16
MSLayersKeeper::~MSLayersKeeper
virtual ~MSLayersKeeper()
Definition:
MSLayersKeeper.h:13
MSLayer::DataX0
Definition:
MSLayer.h:17
MSLayer
Definition:
MSLayer.h:13
MSLayersAtAngle.h
hgcalTopologyTester_cfi.layers
layers
Definition:
hgcalTopologyTester_cfi.py:8
Generated for CMSSW Reference Manual by
1.8.14