#include <MMT_Hit.h>
|
| MMT_Hit (const Identifier &id, const std::string_view stName, 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 (const MMT_Hit *hit) |
|
| ~MMT_Hit ()=default |
|
int | getART () const |
|
int | getAge () const |
|
int | getBC () const |
|
int | getChannel () const |
|
int | getGasGap () const |
|
int | getMultiplet () const |
|
int | getPlane () const |
|
char | getSector () const |
|
double | getRZSlope () const |
|
int | getVMM () const |
|
int | getMMFE8 () const |
|
float | getShift () const |
|
const std::string & | getStationName () 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 |
|
void | setAge (int age) |
|
void | setAsNoise () |
|
void | setBC (int bc) |
|
void | setRZSlope (double slope) |
|
void | setZ (double z) |
|
bool | infSlope () const |
|
Definition at line 13 of file MMT_Hit.h.
◆ MMT_Hit() [1/2]
MMT_Hit::MMT_Hit |
( |
const Identifier & |
id, |
|
|
const std::string_view |
stName, |
|
|
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.
24 int region =
int(
float(istrip)/(64*8));
26 unsigned int mmfe8s[8][16];
28 for(
unsigned int L=0; L<8; L++){
30 for(
unsigned int p=1;
p<9;
p++){
32 for(
unsigned int s=0;
s<2;
s++){
33 unsigned int R = (L%2==
s) ? (
p-1)*2 : (
p-1)*2+1;
43 if (mmfe8s[
m_plane][region]==1){
49 if (mmfe8s[
m_plane][region]==0){
64 m_R = globalPos.perp();
68 const double distanceFromZAxis = readout->
absTransform().translation().perp() - 0.5*readout->
getRsize();
72 int tmpStrip = (roEl->
getDesign(tmpId))->nMissedBottomEta + 1;
77 m_Rp = distanceFromZAxis + (0.1 +
index*((0.6 - 0.1)/1000.))*(std::abs(
m_Z) - globalPos.z());
◆ MMT_Hit() [2/2]
◆ ~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 |
◆ getGasGap()
int MMT_Hit::getGasGap |
( |
| ) |
const |
|
inline |
◆ getMMFE8()
int MMT_Hit::getMMFE8 |
( |
| ) |
const |
|
inline |
◆ getMultiplet()
int MMT_Hit::getMultiplet |
( |
| ) |
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()
float MMT_Hit::getShift |
( |
| ) |
const |
|
inline |
◆ getStationEta()
int MMT_Hit::getStationEta |
( |
| ) |
const |
|
inline |
◆ getStationName()
const std::string& MMT_Hit::getStationName |
( |
| ) |
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 |
◆ isNoise()
bool MMT_Hit::isNoise |
( |
| ) |
const |
|
inline |
◆ isU()
bool MMT_Hit::isU |
( |
| ) |
const |
◆ isV()
bool MMT_Hit::isV |
( |
| ) |
const |
◆ isX()
bool MMT_Hit::isX |
( |
| ) |
const |
◆ setAge()
void MMT_Hit::setAge |
( |
int |
age | ) |
|
|
inline |
◆ setAsNoise()
void MMT_Hit::setAsNoise |
( |
| ) |
|
|
inline |
◆ setBC()
void MMT_Hit::setBC |
( |
int |
bc | ) |
|
|
inline |
◆ setRZSlope()
void MMT_Hit::setRZSlope |
( |
double |
slope | ) |
|
|
inline |
◆ setZ()
void MMT_Hit::setZ |
( |
double |
z | ) |
|
|
inline |
◆ m_age
◆ m_ART_ASIC
◆ m_BC_time
◆ m_gasgap
◆ m_isNoise
◆ m_MMFE_VMM
◆ m_multiplet
◆ m_PitchOverZ
double MMT_Hit::m_PitchOverZ |
|
private |
◆ m_plane
◆ m_R
◆ m_Rp
◆ m_RZslope
double MMT_Hit::m_RZslope |
|
private |
◆ m_sector
◆ m_sector_phi
int MMT_Hit::m_sector_phi |
|
private |
◆ m_shift
◆ m_station_eta
int MMT_Hit::m_station_eta |
|
private |
◆ m_station_name
std::string MMT_Hit::m_station_name |
|
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