ATLAS Offline Software
TgcHit.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 #include "TgcHit.h"
5 #include "TString.h"
6 
7 TGC::TgcHit::TgcHit(double x,double y,double z,
8  double shortWidth,double longWidth,double length,
9  bool isStrip,int gasGap,int channel,int stationEta,int stationPhi,int stationName, int bcmask) :
10  m_x{x},
11  m_y{y},
12  m_z{z},
13  m_shortWidth{shortWidth},
14  m_longWidth{longWidth},
15  m_length{length},
16  m_isStrip{isStrip},
17  m_gasGap{gasGap},
18  m_channel{channel},
19  m_stationEta{stationEta},
20  m_stationPhi{stationPhi},
21  m_stationName{stationName},
22  m_bcmask{bcmask},
23  m_residuals{}
24 {
25  initChamber(stationEta,stationPhi,stationName);
26  m_gap_name = Form("%sL%02d",cham_name().data(),m_gasGap);
27  m_type_name = Form("%s%s",m_gap_name.data(),(m_isStrip)?("S"):("W"));
28  m_channel_name = Form("%sCh%03d",m_type_name.data(),m_channel);
29 }
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
Muon::nsw::STGTPSegments::moduleIDBits::stationPhi
constexpr uint8_t stationPhi
station Phi 1 to 8
Definition: NSWSTGTPDecodeBitmaps.h:161
dumpTgcDigiDeadChambers.gasGap
list gasGap
Definition: dumpTgcDigiDeadChambers.py:33
plotting.yearwise_efficiency.channel
channel
Definition: yearwise_efficiency.py:24
dumpTgcDigiDeadChambers.stationName
dictionary stationName
Definition: dumpTgcDigiDeadChambers.py:30
TGC::TgcHit::TgcHit
TgcHit(double x, double y, double z, double shortWidth, double longWidth, double length, bool isStrip, int gasGap, int channel, int eta, int phi, int station, int bcmask)
Definition: TgcHit.cxx:7
x
#define x
TgcHit.h
z
#define z
dumpTgcDigiThreshold.isStrip
list isStrip
Definition: dumpTgcDigiThreshold.py:33
y
#define y
Muon::nsw::STGTPSegments::moduleIDBits::stationEta
constexpr uint8_t stationEta
1 to 3
Definition: NSWSTGTPDecodeBitmaps.h:159
length
double length(const pvec &v)
Definition: FPGATrackSimLLPDoubletHoughTransformTool.cxx:26