Main Page
Namespaces
Classes
Package Documentation
L1Trigger
L1TMuonOverlap
interface
AngleConverter.h
Go to the documentation of this file.
1
#ifndef ANGLECONVERTER_H
2
#define ANGLECONVERTER_H
3
4
#include "
FWCore/Framework/interface/ESHandle.h
"
5
#include "
DataFormats/GeometryVector/interface/GlobalPoint.h
"
6
7
#include "
DataFormats/L1TMuon/interface/RegionalMuonCandFwd.h
"
8
9
#include <memory>
10
11
namespace
edm
{
12
class
EventSetup
;
13
}
14
15
class
RPCGeometry
;
16
class
CSCGeometry
;
17
class
CSCLayer
;
18
class
DTGeometry
;
19
20
class
L1MuDTChambPhDigi
;
21
class
L1MuDTChambThContainer
;
22
class
CSCCorrelatedLCTDigi
;
23
class
RPCDigi
;
24
class
CSCDetId
;
25
class
RPCDetId
;
26
27
class
AngleConverter
{
28
public
:
29
AngleConverter
();
30
~
AngleConverter
();
31
33
void
checkAndUpdateGeometry(
const
edm::EventSetup
&,
unsigned
int
);
34
37
int
getProcessorPhi(
unsigned
int
iProcessor,
l1t::tftype
part
,
const
L1MuDTChambPhDigi
&digi)
const
;
38
int
getProcessorPhi(
unsigned
int
iProcessor,
l1t::tftype
part,
const
CSCDetId
&
csc
,
const
CSCCorrelatedLCTDigi
&digi)
const
;
39
int
getProcessorPhi(
unsigned
int
iProcessor,
l1t::tftype
part,
const
RPCDetId
& rollId,
const
unsigned
int
&digi)
const
;
40
int
getProcessorPhi(
unsigned
int
iProcessor,
l1t::tftype
part,
const
RPCDetId
& rollId,
const
unsigned
int
&digi1,
const
unsigned
int
&digi2)
const
;
41
43
int
getGlobalEta(
unsigned
int
rawid,
const
L1MuDTChambPhDigi
&aDigi,
44
const
L1MuDTChambThContainer
*dtThDigis);
45
47
int
getGlobalEta(
unsigned
int
rawid,
const
CSCCorrelatedLCTDigi
&aDigi);
48
50
int
getGlobalEta(
unsigned
int
rawid,
const
unsigned
int
&aDigi);
51
52
private
:
53
55
bool
isCSCCounterClockwise(
const
std::unique_ptr<const CSCLayer>& layer)
const
;
56
57
59
const
int
findBTIgroup(
const
L1MuDTChambPhDigi
&aDigi,
60
const
L1MuDTChambThContainer
*dtThDigis);
61
62
// pointers to the current geometry records
63
unsigned
long
long
_geom_cache_id
;
64
edm::ESHandle<RPCGeometry>
_georpc
;
65
edm::ESHandle<CSCGeometry>
_geocsc
;
66
edm::ESHandle<DTGeometry>
_geodt
;
67
69
unsigned
int
nPhiBins
;
70
71
};
72
73
#endif
CSCDetId
Definition:
CSCDetId.h:26
CSCGeometry
Definition:
CSCGeometry.h:24
DTGeometry
Definition:
DTGeometry.h:28
AngleConverter::_geom_cache_id
unsigned long long _geom_cache_id
Definition:
AngleConverter.h:63
RPCGeometry
Definition:
RPCGeometry.h:22
EventSetup
l1t::tftype
tftype
Definition:
RegionalMuonCandFwd.h:8
edm::ESHandle< RPCGeometry >
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:57
RegionalMuonCandFwd.h
csc
Definition:
L1Track.h:19
RPCDetId
Definition:
RPCDetId.h:16
AngleConverter::nPhiBins
unsigned int nPhiBins
Number of phi bins along 2Pi.
Definition:
AngleConverter.h:69
RPCDigi
Definition:
RPCDigi.h:19
CSCLayer
Definition:
CSCLayer.h:24
L1MuDTChambThContainer
Definition:
L1MuDTChambThContainer.h:34
part
part
Definition:
HCALResponse.h:20
edm
HLT enums.
Definition:
AlignableModifier.h:17
AngleConverter::_geocsc
edm::ESHandle< CSCGeometry > _geocsc
Definition:
AngleConverter.h:65
AngleConverter
Definition:
AngleConverter.h:27
L1MuDTChambPhDigi
Definition:
L1MuDTChambPhDigi.h:34
AngleConverter::_georpc
edm::ESHandle< RPCGeometry > _georpc
Definition:
AngleConverter.h:64
CSCCorrelatedLCTDigi
Definition:
CSCCorrelatedLCTDigi.h:18
AngleConverter::_geodt
edm::ESHandle< DTGeometry > _geodt
Definition:
AngleConverter.h:66
GlobalPoint.h
Generated for CMSSW Reference Manual by
1.8.11