ATLAS Offline Software
Loading...
Searching...
No Matches
MuonSpectrometer
MuonValidation
MuonDQA
MuonRawDataMonitoring
TgcRawDataMonitoring
src
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
TgcHit.h
y
#define y
x
#define x
z
#define z
TGC::TgcChamber::initChamber
void initChamber(const std::string &chamber_name)
Definition
TgcChamber.cxx:8
TGC::TgcChamber::cham_name
const std::string & cham_name() const
Definition
TgcChamber.h:43
TGC::TgcHit::gasGap
const int & gasGap() const
Definition
TgcHit.h:63
TGC::TgcHit::m_stationEta
int m_stationEta
Definition
TgcHit.h:46
TGC::TgcHit::m_y
double m_y
Definition
TgcHit.h:38
TGC::TgcHit::longWidth
const double & longWidth() const
Definition
TgcHit.h:60
TGC::TgcHit::isStrip
const bool & isStrip() const
Definition
TgcHit.h:62
TGC::TgcHit::m_length
double m_length
Definition
TgcHit.h:42
TGC::TgcHit::m_isStrip
bool m_isStrip
Definition
TgcHit.h:43
TGC::TgcHit::shortWidth
const double & shortWidth() const
Definition
TgcHit.h:59
TGC::TgcHit::m_stationPhi
int m_stationPhi
Definition
TgcHit.h:47
TGC::TgcHit::m_shortWidth
double m_shortWidth
Definition
TgcHit.h:40
TGC::TgcHit::m_z
double m_z
Definition
TgcHit.h:39
TGC::TgcHit::m_bcmask
int m_bcmask
Definition
TgcHit.h:49
TGC::TgcHit::m_type_name
std::string m_type_name
Definition
TgcHit.h:52
TGC::TgcHit::m_stationName
int m_stationName
Definition
TgcHit.h:48
TGC::TgcHit::bcmask
const int & bcmask() const
Definition
TgcHit.h:68
TGC::TgcHit::m_residuals
std::map< const xAOD::Muon *, const double > m_residuals
Definition
TgcHit.h:50
TGC::TgcHit::length
const double & length() const
Definition
TgcHit.h:61
TGC::TgcHit::stationEta
const int & stationEta() const
Definition
TgcHit.h:65
TGC::TgcHit::m_channel_name
std::string m_channel_name
Definition
TgcHit.h:53
TGC::TgcHit::m_gap_name
std::string m_gap_name
Definition
TgcHit.h:51
TGC::TgcHit::m_gasGap
int m_gasGap
Definition
TgcHit.h:44
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
TGC::TgcHit::channel
const int & channel() const
Definition
TgcHit.h:64
TGC::TgcHit::m_x
double m_x
Definition
TgcHit.h:37
TGC::TgcHit::m_channel
int m_channel
Definition
TgcHit.h:45
TGC::TgcHit::stationPhi
const int & stationPhi() const
Definition
TgcHit.h:66
TGC::TgcHit::stationName
const int & stationName() const
Definition
TgcHit.h:67
TGC::TgcHit::m_longWidth
double m_longWidth
Definition
TgcHit.h:41
Generated on
for ATLAS Offline Software by
1.14.0