DataFormats
MuonDetId
interface
DTWireId.h
Go to the documentation of this file.
1
#ifndef MuonDetId_DTWireId_h
2
#define MuonDetId_DTWireId_h
3
10
#include <
DataFormats/MuonDetId/interface/DTLayerId.h
>
11
12
class
DTWireId
:
public
DTLayerId
{
13
public
:
16
DTWireId
();
17
22
explicit
DTWireId
(uint32_t
id
);
23
27
DTWireId
(
int
wheel
,
int
station
,
int
sector
,
int
superlayer
,
int
layer
,
int
wire
);
28
30
DTWireId
(
const
DTWireId
& wireId);
31
33
DTWireId
(
const
DTChamberId
& chId,
int
superlayer
,
int
layer
,
int
wire
);
34
36
DTWireId
(
const
DTSuperLayerId
& slId,
int
layer
,
int
wire
);
37
39
DTWireId
(
const
DTLayerId
&
layerId
,
int
wire
);
40
42
int
wire
()
const
{
return
((
id_
>>
wireStartBit_
) &
wireMask_
); }
43
45
DTLayerId
layerId
()
const
{
return
DTLayerId
(
id_
&
layerIdMask_
); }
46
47
private
:
48
};
49
50
std::ostream&
operator<<
(std::ostream& os,
const
DTWireId
&
id
);
51
52
#endif
DTSuperLayerId
Definition:
DTSuperLayerId.h:12
DTWireId::wire
int wire() const
Return the wire number.
Definition:
DTWireId.h:42
DTLayerId.h
DTChamberId::layerIdMask_
static const uint32_t layerIdMask_
Definition:
DTChamberId.h:99
DTSuperLayerId::superlayer
int superlayer() const
Return the superlayer number (deprecated method name)
Definition:
DTSuperLayerId.h:42
DTChamberId::wireStartBit_
static const int wireStartBit_
Definition:
DTChamberId.h:79
DTWireId
Definition:
DTWireId.h:12
DTLayerId
Definition:
DTLayerId.h:12
DetId::id_
uint32_t id_
Definition:
DetId.h:69
DTLayerId::DTLayerId
DTLayerId()
Definition:
DTLayerId.cc:12
operator<<
std::ostream & operator<<(std::ostream &os, const DTWireId &id)
Definition:
DTWireId.cc:68
DTChamberId::wireMask_
static const uint32_t wireMask_
Definition:
DTChamberId.h:97
DTChamberId::sector
int sector() const
Definition:
DTChamberId.h:49
DTWireId::DTWireId
DTWireId()
Definition:
DTWireId.cc:12
DTWireId::layerId
DTLayerId layerId() const
Return the corresponding LayerId.
Definition:
DTWireId.h:45
DTChamberId
Definition:
DTChamberId.h:14
DTLayerId::layer
int layer() const
Return the layer number.
Definition:
DTLayerId.h:42
DTChamberId::wheel
int wheel() const
Return the wheel number.
Definition:
DTChamberId.h:39
DTChamberId::station
int station() const
Return the station number.
Definition:
DTChamberId.h:42
Generated for CMSSW Reference Manual by
1.8.16