8 const int stEta,
const int stPhi,
const int sectorPhi,
9 const int multiplet,
const int gasGap,
const int channel,
10 const float stripTime,
const int BC,
18 m_plane = (multiplet-1)*4 + gasGap-1;
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;
91 globalPos = Amg::Vector3D::Zero();
94 m_Rp = distanceFromZAxis + (0.1 +
index*((0.6 - 0.1)/1000.))*(std::abs(
m_Z) - globalPos.z());
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)
Identifier channelID(int stationName, int stationEta, int stationPhi, int multilayer, int gasGap, int channel) const
An MMReadoutElement corresponds to a single STGC module; therefore typicaly a barrel muon station con...
const MuonChannelDesign * getDesign(const Identifier &id) const
returns the MuonChannelDesign class for the given identifier
bool stripGlobalPosition(const Identifier &id, Amg::Vector3D &gpos) const
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
const MmIdHelper * mmIdHelper() const
const MMReadoutElement * getMMReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
const Amg::Transform3D & absTransform() const
Eigen::Matrix< double, 3, 1 > Vector3D