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
virtual
void
init
(
const
edm::EventSetup
& iSetup) {}
17
18
protected
:
19
typedef
MSLayer::DataX0
DataX0
;
20
static
const
DataX0
&
getDataX0
(
const
MSLayer
&
l
) {
return
l
.theX0Data; }
21
static
void
setDataX0
(
MSLayer
&
l
,
const
DataX0
& x0Data) {
l
.theX0Data = x0Data; }
22
};
23
24
#endif
Visibility.h
MSLayersKeeper::~MSLayersKeeper
virtual ~MSLayersKeeper()
Definition:
MSLayersKeeper.h:13
DetLayer
Definition:
DetLayer.h:21
MSLayer.h
MSLayersKeeper::layer
virtual MSLayer layer(const DetLayer *dl) const
Definition:
MSLayersKeeper.h:14
MSLayersKeeper::getDataX0
static const DataX0 & getDataX0(const MSLayer &l)
Definition:
MSLayersKeeper.h:20
MSLayersKeeper::init
virtual void init(const edm::EventSetup &iSetup)
Definition:
MSLayersKeeper.h:16
MSLayersAtAngle
Definition:
MSLayersAtAngle.h:16
MSLayer::DataX0
Definition:
MSLayer.h:17
dso_hidden
#define dso_hidden
Definition:
Visibility.h:12
MSLayer
Definition:
MSLayer.h:13
MSLayersKeeper::setDataX0
static void setDataX0(MSLayer &l, const DataX0 &x0Data)
Definition:
MSLayersKeeper.h:21
edm::EventSetup
Definition:
EventSetup.h:57
cmsLHEtoEOSManager.l
l
Definition:
cmsLHEtoEOSManager.py:193
MSLayersKeeper::DataX0
MSLayer::DataX0 DataX0
Definition:
MSLayersKeeper.h:19
EventSetup.h
MSLayersAtAngle.h
MSLayersKeeper
Definition:
MSLayersKeeper.h:11
hgcalTopologyTester_cfi.layers
layers
Definition:
hgcalTopologyTester_cfi.py:8
Generated for CMSSW Reference Manual by
1.8.16