ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonCalib
MuonCalibEventBase
MuonCalibEventBase
MuonCalibRawTgcHit.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
//*********************************************************//
6
// Class to store raw Tgc information in //
7
// Author: Zdenko van Kesteren //
8
// Date : 21st june 2006 //
9
//*********************************************************//
10
11
#ifndef MuonCalibRawTgcHit_h
12
#define MuonCalibRawTgcHit_h
13
14
#include "
GeoPrimitives/GeoPrimitives.h
"
15
#include "
MuonCalibIdentifier/MuonFixedId.h
"
16
17
namespace
MuonCalib
{
27
28
class
MuonCalibRawTgcHit
{
29
public
:
30
MuonCalibRawTgcHit
() =
default
;
31
MuonCalibRawTgcHit
(
const
MuonCalibRawTgcHit
&
hit
) =
default
;
32
MuonCalibRawTgcHit
&
operator=
(
const
MuonCalibRawTgcHit
& rhs) =
default
;
33
34
~MuonCalibRawTgcHit
() =
default
;
35
36
enum
BunchCrossingTag
{
Previous
= 1,
Current
= 2,
Next
= 3 };
37
38
struct
defineParams
{
39
MuonFixedId
id
{0};
40
Amg::Vector3D
global_pos
{0., 0., 0.};
41
int
occupancy
{0};
42
int
station
{0};
43
int
eta
{0};
44
int
phi
{0};
45
int
gasGap
{0};
46
int
isStrip
{0};
47
int
channel
{0};
48
int
bcTag
{0};
49
50
float
width
{0};
51
float
shortWidth
{0};
52
float
longWidth
{0};
53
float
length
{0};
54
};
55
56
MuonCalibRawTgcHit
(
const
defineParams& pars);
57
58
std::ostream&
dump
(std::ostream& stream)
const
;
59
60
const
MuonFixedId
&
identify
()
const
;
61
const
Amg::Vector3D
&
globalPosition
()
const
;
62
int
occupancy
()
const
;
63
int
station
()
const
;
64
int
eta
()
const
;
65
int
phi
()
const
;
66
int
gasGap
()
const
;
67
int
isStrip
()
const
;
68
int
channel
()
const
;
69
int
bcTag
()
const
;
70
71
float
width
()
const
;
72
float
shortWidth
()
const
;
73
float
longWidth
()
const
;
74
float
length
()
const
;
75
76
void
setId
(
MuonFixedId
Id);
77
void
setGlobalPosition
(
const
Amg::Vector3D
& glob);
78
void
setOccupancy
(
int
occ);
79
void
setStation
(
int
station
);
80
void
setEta
(
int
eta
);
81
void
setPhi
(
int
phi
);
82
void
setGasGap
(
int
gasGap
);
83
void
setIsStrip
(
int
isStrip
);
84
void
setChannel
(
int
channel
);
85
void
setBcTag
(
int
bcTag
);
86
87
void
setWidth
(
float
width
);
88
void
setShortWidth
(
float
shortWidth
);
89
void
setLongWidth
(
float
longWidth
);
90
void
setLength
(
float
length
);
91
92
private
:
93
defineParams
m_pars
{};
94
};
95
96
}
// namespace MuonCalib
97
98
std::ostream&
operator<<
(std::ostream& stream,
const
MuonCalib::MuonCalibRawTgcHit
& rawHit);
99
100
#endif
// MuonCalibRawTgcHit_h
eta
Scalar eta() const
pseudorapidity method
Definition
AmgMatrixBasePlugin.h:83
phi
Scalar phi() const
phi method
Definition
AmgMatrixBasePlugin.h:67
length
double length(const pvec &v)
Definition
FPGATrackSimLLPDoubletHoughTransformTool.cxx:26
GeoPrimitives.h
hit
bool hit(const Container &ids, int pdgId)
Definition
JetIRCSafeLabelTool.cxx:64
operator<<
std::ostream & operator<<(std::ostream &stream, const MuonCalib::MuonCalibRawTgcHit &rawHit)
Definition
MuonCalibRawTgcHit.cxx:65
MuonFixedId.h
width
const double width
Definition
TTileTripReader.cxx:24
bcTag
unsigned bcTag(unsigned bcBitMap)
Definition
TgcByteStreamData.h:357
MuonCalib::MuonCalibRawTgcHit
Calib-EDM version of TgcPrepData class, containing uncalibrated information.
Definition
MuonCalibRawTgcHit.h:28
MuonCalib::MuonCalibRawTgcHit::MuonCalibRawTgcHit
MuonCalibRawTgcHit(const MuonCalibRawTgcHit &hit)=default
copy constructor
MuonCalib::MuonCalibRawTgcHit::MuonCalibRawTgcHit
MuonCalibRawTgcHit()=default
default constructor
MuonCalib::MuonCalibRawTgcHit::setBcTag
void setBcTag(int bcTag)
Definition
MuonCalibRawTgcHit.cxx:36
MuonCalib::MuonCalibRawTgcHit::setLongWidth
void setLongWidth(float longWidth)
sets the strip width
Definition
MuonCalibRawTgcHit.cxx:40
MuonCalib::MuonCalibRawTgcHit::setGasGap
void setGasGap(int gasGap)
Definition
MuonCalibRawTgcHit.cxx:33
MuonCalib::MuonCalibRawTgcHit::isStrip
int isStrip() const
Definition
MuonCalibRawTgcHit.cxx:18
MuonCalib::MuonCalibRawTgcHit::BunchCrossingTag
BunchCrossingTag
Definition
MuonCalibRawTgcHit.h:36
MuonCalib::MuonCalibRawTgcHit::Next
@ Next
Definition
MuonCalibRawTgcHit.h:36
MuonCalib::MuonCalibRawTgcHit::Previous
@ Previous
Definition
MuonCalibRawTgcHit.h:36
MuonCalib::MuonCalibRawTgcHit::Current
@ Current
Definition
MuonCalibRawTgcHit.h:36
MuonCalib::MuonCalibRawTgcHit::setLength
void setLength(float length)
sets the strip length
Definition
MuonCalibRawTgcHit.cxx:41
MuonCalib::MuonCalibRawTgcHit::station
int station() const
Definition
MuonCalibRawTgcHit.cxx:14
MuonCalib::MuonCalibRawTgcHit::setGlobalPosition
void setGlobalPosition(const Amg::Vector3D &glob)
sets the position expressed in global coordinates
Definition
MuonCalibRawTgcHit.cxx:28
MuonCalib::MuonCalibRawTgcHit::setWidth
void setWidth(float width)
Definition
MuonCalibRawTgcHit.cxx:38
MuonCalib::MuonCalibRawTgcHit::gasGap
int gasGap() const
Definition
MuonCalibRawTgcHit.cxx:17
MuonCalib::MuonCalibRawTgcHit::phi
int phi() const
Definition
MuonCalibRawTgcHit.cxx:16
MuonCalib::MuonCalibRawTgcHit::globalPosition
const Amg::Vector3D & globalPosition() const
retrieve the position expressed in global coordinates
Definition
MuonCalibRawTgcHit.cxx:12
MuonCalib::MuonCalibRawTgcHit::occupancy
int occupancy() const
retrieve the occupancy (-1 == not assigned to any segment)
Definition
MuonCalibRawTgcHit.cxx:13
MuonCalib::MuonCalibRawTgcHit::eta
int eta() const
Definition
MuonCalibRawTgcHit.cxx:15
MuonCalib::MuonCalibRawTgcHit::setShortWidth
void setShortWidth(float shortWidth)
Definition
MuonCalibRawTgcHit.cxx:39
MuonCalib::MuonCalibRawTgcHit::width
float width() const
Definition
MuonCalibRawTgcHit.cxx:22
MuonCalib::MuonCalibRawTgcHit::setChannel
void setChannel(int channel)
Definition
MuonCalibRawTgcHit.cxx:35
MuonCalib::MuonCalibRawTgcHit::operator=
MuonCalibRawTgcHit & operator=(const MuonCalibRawTgcHit &rhs)=default
assingment operator
MuonCalib::MuonCalibRawTgcHit::setIsStrip
void setIsStrip(int isStrip)
Definition
MuonCalibRawTgcHit.cxx:34
MuonCalib::MuonCalibRawTgcHit::setStation
void setStation(int station)
Definition
MuonCalibRawTgcHit.cxx:30
MuonCalib::MuonCalibRawTgcHit::m_pars
defineParams m_pars
Definition
MuonCalibRawTgcHit.h:93
MuonCalib::MuonCalibRawTgcHit::length
float length() const
retrieve the strip length
Definition
MuonCalibRawTgcHit.cxx:25
MuonCalib::MuonCalibRawTgcHit::bcTag
int bcTag() const
Definition
MuonCalibRawTgcHit.cxx:20
MuonCalib::MuonCalibRawTgcHit::shortWidth
float shortWidth() const
Definition
MuonCalibRawTgcHit.cxx:23
MuonCalib::MuonCalibRawTgcHit::longWidth
float longWidth() const
Definition
MuonCalibRawTgcHit.cxx:24
MuonCalib::MuonCalibRawTgcHit::identify
const MuonFixedId & identify() const
retrieve the MuonFixedId
Definition
MuonCalibRawTgcHit.cxx:11
MuonCalib::MuonCalibRawTgcHit::channel
int channel() const
Definition
MuonCalibRawTgcHit.cxx:19
MuonCalib::MuonCalibRawTgcHit::setId
void setId(MuonFixedId Id)
sets the MuonFixedId
Definition
MuonCalibRawTgcHit.cxx:27
MuonCalib::MuonCalibRawTgcHit::setEta
void setEta(int eta)
Definition
MuonCalibRawTgcHit.cxx:31
MuonCalib::MuonCalibRawTgcHit::setPhi
void setPhi(int phi)
Definition
MuonCalibRawTgcHit.cxx:32
MuonCalib::MuonCalibRawTgcHit::setOccupancy
void setOccupancy(int occ)
sets the occupancy
Definition
MuonCalibRawTgcHit.cxx:29
MuonCalib::MuonCalibRawTgcHit::~MuonCalibRawTgcHit
~MuonCalibRawTgcHit()=default
destructor
MuonCalib::MuonFixedId
Implements fixed identifiers not dependent upon Athena Identifier for internal use in the calibration...
Definition
MuonFixedId.h:50
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition
GeoPrimitives.h:47
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition
CscCalcPed.cxx:21
dump
-event-from-file
MuonCalib::MuonCalibRawTgcHit::defineParams
Definition
MuonCalibRawTgcHit.h:38
MuonCalib::MuonCalibRawTgcHit::defineParams::shortWidth
float shortWidth
Definition
MuonCalibRawTgcHit.h:51
MuonCalib::MuonCalibRawTgcHit::defineParams::isStrip
int isStrip
Definition
MuonCalibRawTgcHit.h:46
MuonCalib::MuonCalibRawTgcHit::defineParams::bcTag
int bcTag
Definition
MuonCalibRawTgcHit.h:48
MuonCalib::MuonCalibRawTgcHit::defineParams::longWidth
float longWidth
strip width
Definition
MuonCalibRawTgcHit.h:52
MuonCalib::MuonCalibRawTgcHit::defineParams::width
float width
Definition
MuonCalibRawTgcHit.h:50
MuonCalib::MuonCalibRawTgcHit::defineParams::gasGap
int gasGap
Definition
MuonCalibRawTgcHit.h:45
MuonCalib::MuonCalibRawTgcHit::defineParams::station
int station
Definition
MuonCalibRawTgcHit.h:42
MuonCalib::MuonCalibRawTgcHit::defineParams::eta
int eta
Definition
MuonCalibRawTgcHit.h:43
MuonCalib::MuonCalibRawTgcHit::defineParams::phi
int phi
Definition
MuonCalibRawTgcHit.h:44
MuonCalib::MuonCalibRawTgcHit::defineParams::occupancy
int occupancy
occupancy (-1 == not assigned to any segment)
Definition
MuonCalibRawTgcHit.h:41
MuonCalib::MuonCalibRawTgcHit::defineParams::global_pos
Amg::Vector3D global_pos
position of the hit in global coordinates
Definition
MuonCalibRawTgcHit.h:40
MuonCalib::MuonCalibRawTgcHit::defineParams::length
float length
strip length
Definition
MuonCalibRawTgcHit.h:53
MuonCalib::MuonCalibRawTgcHit::defineParams::channel
int channel
Definition
MuonCalibRawTgcHit.h:47
Generated on
for ATLAS Offline Software by
1.17.0