Geometry
EcalMapping
interface
ESElectronicsMapper.h
Go to the documentation of this file.
1
#ifndef ESElectronicsMapper_H
2
#define ESElectronicsMapper_H
3
4
#include <iostream>
5
#include <fstream>
6
#include <vector>
7
#include <sstream>
8
#include <map>
9
10
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
11
#include "
FWCore/ParameterSet/interface/FileInPath.h
"
12
#include "
DataFormats/EcalDetId/interface/ESDetId.h
"
13
14
class
ESElectronicsMapper
{
15
public
:
16
ESElectronicsMapper
(
const
edm::ParameterSet
& ps);
17
~ESElectronicsMapper
(){};
18
19
int
getFED
(
const
ESDetId
&
id
);
20
int
getFED
(
int
zside
,
int
plane,
int
x
,
int
y
);
21
std::vector<int>
GetListofFEDs
(
const
std::vector<int>& eeFEDs)
const
;
22
void
GetListofFEDs
(
const
std::vector<int>& eeFEDs, std::vector<int>& esFEDs)
const
;
23
int
getKCHIP
(
const
ESDetId
&
id
);
24
int
getKCHIP
(
int
zside
,
int
plane,
int
x
,
int
y
);
25
26
private
:
27
edm::FileInPath
lookup_
;
28
29
int
fed_
[2][2][40][40];
30
int
kchip_
[2][2][40][40];
31
std::map<int, std::vector<int> >
ee_es_map_
;
32
};
33
34
#endif
DDAxes::y
ESElectronicsMapper::kchip_
int kchip_[2][2][40][40]
Definition:
ESElectronicsMapper.h:30
ESElectronicsMapper::~ESElectronicsMapper
~ESElectronicsMapper()
Definition:
ESElectronicsMapper.h:17
ecaldqm::zside
int zside(DetId const &)
Definition:
EcalDQMCommonUtils.cc:189
ESDetId
Definition:
ESDetId.h:15
DDAxes::x
ESDetId.h
FileInPath.h
edm::FileInPath
Definition:
FileInPath.h:64
ESElectronicsMapper
Definition:
ESElectronicsMapper.h:14
ESElectronicsMapper::getFED
int getFED(const ESDetId &id)
Definition:
ESElectronicsMapper.cc:69
edm::ParameterSet
Definition:
ParameterSet.h:47
ESElectronicsMapper::ee_es_map_
std::map< int, std::vector< int > > ee_es_map_
Definition:
ESElectronicsMapper.h:31
ESElectronicsMapper::lookup_
edm::FileInPath lookup_
Definition:
ESElectronicsMapper.h:27
ESElectronicsMapper::fed_
int fed_[2][2][40][40]
Definition:
ESElectronicsMapper.h:29
ParameterSet.h
ESElectronicsMapper::GetListofFEDs
std::vector< int > GetListofFEDs(const std::vector< int > &eeFEDs) const
Definition:
ESElectronicsMapper.cc:81
ESElectronicsMapper::ESElectronicsMapper
ESElectronicsMapper(const edm::ParameterSet &ps)
Definition:
ESElectronicsMapper.cc:3
ESElectronicsMapper::getKCHIP
int getKCHIP(const ESDetId &id)
Definition:
ESElectronicsMapper.cc:103
Generated for CMSSW Reference Manual by
1.8.16