#include <MMT_Hit.h>
|
| | MMT_Hit (const Identifier &id, const std::string &stationName, const int stEta, const int stPhi, const int sectorPhi, const int multiplet, const int gasGap, const int channel, const float stripTime, const int BC, const MuonGM::MuonDetectorManager *detManager) |
| |
| | ~MMT_Hit ()=default |
| |
| int | getART () const |
| |
| int | getAge () const |
| |
| int | getBC () const |
| |
| int | getChannel () const |
| |
| int | getPlane () const |
| |
| char | getSector () const |
| |
| double | getRZSlope () const |
| |
| int | getVMM () const |
| |
| double | getShift () const |
| |
| int | getStationEta () const |
| |
| int | getStationPhi () const |
| |
| int | getSectorPhi () const |
| |
| double | getR () const |
| |
| double | getRp () const |
| |
| double | getZ () const |
| |
| double | getPitchOverZ () const |
| |
| float | getTime () const |
| |
| bool | isNoise () const |
| |
| bool | isX () const |
| |
| bool | isU () const |
| |
| bool | isV () const |
| |
| bool | infSlope () const |
| |
| void | setAge (int age) |
| |
| void | setAsNoise () |
| |
Definition at line 13 of file MMT_Hit.h.
◆ MMT_Hit()
| MMT_Hit::MMT_Hit |
( |
const Identifier & |
id, |
|
|
const std::string & |
stationName, |
|
|
const int |
stEta, |
|
|
const int |
stPhi, |
|
|
const int |
sectorPhi, |
|
|
const int |
multiplet, |
|
|
const int |
gasGap, |
|
|
const int |
channel, |
|
|
const float |
stripTime, |
|
|
const int |
BC, |
|
|
const MuonGM::MuonDetectorManager * |
detManager |
|
) |
| |
Definition at line 7 of file MMT_Hit.cxx.
41 const int region =
int(
float(istrip)/(64*8));
44 unsigned int mmfe8s[8][16];
46 for(
unsigned int L=0;
L<8;
L++){
48 for(
unsigned int p=1;
p<9;
p++){
50 for(
unsigned int s=0;
s<2;
s++){
51 unsigned int R = (
L%2==
s) ? (
p-1)*2 : (
p-1)*2+1;
60 if (mmfe8s[
m_plane][region]==1){
66 if (mmfe8s[
m_plane][region]==0){
81 m_R = globalPos.perp();
85 const double distanceFromZAxis = readout->
absTransform().translation().perp() - 0.5*readout->
getRsize();
89 int tmpStrip = (roEl->
getDesign(tmpId))->nMissedBottomEta + 1;
94 m_Rp = distanceFromZAxis + (0.1 +
index*((0.6 - 0.1)/1000.))*(std::abs(
m_Z) - globalPos.z());
◆ ~MMT_Hit()
◆ getAge()
| int MMT_Hit::getAge |
( |
| ) |
const |
|
inline |
◆ getART()
| int MMT_Hit::getART |
( |
| ) |
const |
|
inline |
◆ getBC()
| int MMT_Hit::getBC |
( |
| ) |
const |
|
inline |
◆ getChannel()
| int MMT_Hit::getChannel |
( |
| ) |
const |
|
inline |
◆ getPitchOverZ()
| double MMT_Hit::getPitchOverZ |
( |
| ) |
const |
|
inline |
◆ getPlane()
| int MMT_Hit::getPlane |
( |
| ) |
const |
|
inline |
◆ getR()
| double MMT_Hit::getR |
( |
| ) |
const |
|
inline |
◆ getRp()
| double MMT_Hit::getRp |
( |
| ) |
const |
|
inline |
◆ getRZSlope()
| double MMT_Hit::getRZSlope |
( |
| ) |
const |
|
inline |
◆ getSector()
| char MMT_Hit::getSector |
( |
| ) |
const |
|
inline |
◆ getSectorPhi()
| int MMT_Hit::getSectorPhi |
( |
| ) |
const |
|
inline |
◆ getShift()
| double MMT_Hit::getShift |
( |
| ) |
const |
|
inline |
◆ getStationEta()
| int MMT_Hit::getStationEta |
( |
| ) |
const |
|
inline |
◆ getStationPhi()
| int MMT_Hit::getStationPhi |
( |
| ) |
const |
|
inline |
◆ getTime()
| float MMT_Hit::getTime |
( |
| ) |
const |
|
inline |
◆ getVMM()
| int MMT_Hit::getVMM |
( |
| ) |
const |
|
inline |
◆ getZ()
| double MMT_Hit::getZ |
( |
| ) |
const |
|
inline |
◆ infSlope()
| bool MMT_Hit::infSlope |
( |
| ) |
const |
|
inline |
◆ isNoise()
| bool MMT_Hit::isNoise |
( |
| ) |
const |
|
inline |
◆ isU()
| bool MMT_Hit::isU |
( |
| ) |
const |
|
inline |
◆ isV()
| bool MMT_Hit::isV |
( |
| ) |
const |
|
inline |
◆ isX()
| bool MMT_Hit::isX |
( |
| ) |
const |
|
inline |
◆ setAge()
| void MMT_Hit::setAge |
( |
int |
age | ) |
|
|
inline |
◆ setAsNoise()
| void MMT_Hit::setAsNoise |
( |
| ) |
|
|
inline |
◆ m_age
◆ m_ART_ASIC
◆ m_BC_time
◆ m_isNoise
| bool MMT_Hit::m_isNoise {false} |
|
private |
◆ m_isU
| bool MMT_Hit::m_isU {false} |
|
private |
◆ m_isV
| bool MMT_Hit::m_isV {false} |
|
private |
◆ m_isX
| bool MMT_Hit::m_isX {false} |
|
private |
◆ m_PitchOverZ
| double MMT_Hit::m_PitchOverZ {-1} |
|
private |
◆ m_plane
◆ m_R
◆ m_Rp
| double MMT_Hit::m_Rp {-1} |
|
private |
◆ m_RZslope
| double MMT_Hit::m_RZslope {-1} |
|
private |
◆ m_sector
◆ m_sector_phi
| int MMT_Hit::m_sector_phi |
|
private |
◆ m_shift
| double MMT_Hit::m_shift {-1} |
|
private |
◆ m_station_eta
| int MMT_Hit::m_station_eta |
|
private |
◆ m_station_phi
| int MMT_Hit::m_station_phi |
|
private |
◆ m_strip
◆ m_time
◆ m_VMM_chip
◆ m_Z
The documentation for this class was generated from the following files:
Identifier channelID(int stationName, int stationEta, int stationPhi, int multilayer, int gasGap, int channel) const