ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonCalib
MuonCalibEventBase
MuonCalibEventBase
MuonCalibRawRpcHit.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
//*********************************************************//
6
// Class to store raw Rpc information in //
7
//*********************************************************//
8
9
#ifndef MuonCalibRawRpcHit_h
10
#define MuonCalibRawRpcHit_h
11
12
#include "
GeoPrimitives/GeoPrimitives.h
"
13
#include "
MuonCalibIdentifier/MuonFixedId.h
"
14
15
namespace
MuonCalib
{
16
27
class
MuonCalibRawRpcHit
{
28
public
:
29
MuonCalibRawRpcHit
() =
default
;
30
MuonCalibRawRpcHit
(
const
MuonCalibRawRpcHit
&
hit
) =
default
;
31
MuonCalibRawRpcHit
&
operator=
(
const
MuonCalibRawRpcHit
& rhs);
32
virtual
~MuonCalibRawRpcHit
() =
default
;
33
34
struct
defineParams
{
35
MuonFixedId
id
{0};
36
Amg::Vector3D
glob_pos
{0., 0., 0.};
37
int
occupancy
{0};
38
float
t
{0.};
39
float
width
{0.};
40
float
length
{0.};
41
};
42
43
MuonCalibRawRpcHit
(
const
defineParams& pars);
44
45
std::ostream&
dump
(std::ostream& stream)
const
;
46
47
const
MuonFixedId
&
identify
()
const
;
48
const
Amg::Vector3D
&
globalPosition
()
const
;
49
int
occupancy
()
const
;
50
float
t
()
const
;
51
float
width
()
const
;
52
float
length
()
const
;
53
54
void
setId
(
MuonFixedId
Id);
55
void
setGlobalPosition
(
const
Amg::Vector3D
& glob);
56
void
setOccupancy
(
int
occ);
57
void
setT
(
float
t
);
58
void
setWidth
(
float
width
);
59
void
setLength
(
float
length
);
60
61
private
:
62
defineParams
m_pars
{};
63
};
64
65
}
// namespace MuonCalib
66
67
std::ostream&
operator<<
(std::ostream& stream,
const
MuonCalib::MuonCalibRawRpcHit
& rawHit);
68
69
#endif
// MuonCalibRawRpcHit_h
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::MuonCalibRawRpcHit &rawHit)
Definition
MuonCalibRawRpcHit.cxx:37
MuonFixedId.h
width
const double width
Definition
TTileTripReader.cxx:24
MuonCalib::MuonCalibRawRpcHit
Calib-EDM version of RpcPrepData class, containing uncalibrated information.
Definition
MuonCalibRawRpcHit.h:27
MuonCalib::MuonCalibRawRpcHit::setT
void setT(float t)
sets the time
Definition
MuonCalibRawRpcHit.cxx:19
MuonCalib::MuonCalibRawRpcHit::setOccupancy
void setOccupancy(int occ)
sets the occupancy
Definition
MuonCalibRawRpcHit.cxx:18
MuonCalib::MuonCalibRawRpcHit::identify
const MuonFixedId & identify() const
retrieve the MuonFixedId
Definition
MuonCalibRawRpcHit.cxx:10
MuonCalib::MuonCalibRawRpcHit::operator=
MuonCalibRawRpcHit & operator=(const MuonCalibRawRpcHit &rhs)
assingment operator
MuonCalib::MuonCalibRawRpcHit::MuonCalibRawRpcHit
MuonCalibRawRpcHit(const MuonCalibRawRpcHit &hit)=default
copy constructor
MuonCalib::MuonCalibRawRpcHit::t
float t() const
retrieve the time
Definition
MuonCalibRawRpcHit.cxx:13
MuonCalib::MuonCalibRawRpcHit::~MuonCalibRawRpcHit
virtual ~MuonCalibRawRpcHit()=default
destructor
MuonCalib::MuonCalibRawRpcHit::setWidth
void setWidth(float width)
sets the strip width
Definition
MuonCalibRawRpcHit.cxx:20
MuonCalib::MuonCalibRawRpcHit::width
float width() const
retrieve the strip width
Definition
MuonCalibRawRpcHit.cxx:14
MuonCalib::MuonCalibRawRpcHit::setLength
void setLength(float length)
sets the strip length
Definition
MuonCalibRawRpcHit.cxx:21
MuonCalib::MuonCalibRawRpcHit::MuonCalibRawRpcHit
MuonCalibRawRpcHit()=default
default constructor
MuonCalib::MuonCalibRawRpcHit::setId
void setId(MuonFixedId Id)
sets the MuonFixedId
Definition
MuonCalibRawRpcHit.cxx:16
MuonCalib::MuonCalibRawRpcHit::length
float length() const
retrieve the strip length
Definition
MuonCalibRawRpcHit.cxx:15
MuonCalib::MuonCalibRawRpcHit::m_pars
defineParams m_pars
Definition
MuonCalibRawRpcHit.h:62
MuonCalib::MuonCalibRawRpcHit::globalPosition
const Amg::Vector3D & globalPosition() const
retrieve the position expressed in global coordinates
Definition
MuonCalibRawRpcHit.cxx:11
MuonCalib::MuonCalibRawRpcHit::setGlobalPosition
void setGlobalPosition(const Amg::Vector3D &glob)
sets the position expressed in global coordinates
Definition
MuonCalibRawRpcHit.cxx:17
MuonCalib::MuonCalibRawRpcHit::occupancy
int occupancy() const
retrieve the occupancy (-1 == not assigned to any segment)
Definition
MuonCalibRawRpcHit.cxx:12
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::MuonCalibRawRpcHit::defineParams
Definition
MuonCalibRawRpcHit.h:34
MuonCalib::MuonCalibRawRpcHit::defineParams::occupancy
int occupancy
occupancy (-1 == not assigned to any segment)
Definition
MuonCalibRawRpcHit.h:37
MuonCalib::MuonCalibRawRpcHit::defineParams::length
float length
strip length
Definition
MuonCalibRawRpcHit.h:40
MuonCalib::MuonCalibRawRpcHit::defineParams::t
float t
time
Definition
MuonCalibRawRpcHit.h:38
MuonCalib::MuonCalibRawRpcHit::defineParams::width
float width
strip width
Definition
MuonCalibRawRpcHit.h:39
MuonCalib::MuonCalibRawRpcHit::defineParams::glob_pos
Amg::Vector3D glob_pos
position of the hit in global coordinates
Definition
MuonCalibRawRpcHit.h:36
Generated on
for ATLAS Offline Software by
1.17.0