ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonCalib
MuonCalibEventBase
MuonCalibEventBase
MuonCalibRawCscHit.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 Csc information in //
7
//*********************************************************//
8
9
#ifndef MuonCalibRawCscHit_h
10
#define MuonCalibRawCscHit_h
11
12
#include "
GeoPrimitives/GeoPrimitives.h
"
13
#include "
MuonCalibIdentifier/MuonFixedId.h
"
14
15
namespace
MuonCalib
{
16
28
29
class
MuonCalibRawCscHit
{
30
public
:
31
MuonCalibRawCscHit
() =
default
;
32
MuonCalibRawCscHit
(
const
MuonCalibRawCscHit
&
hit
) =
default
;
33
MuonCalibRawCscHit
&
operator=
(
const
MuonCalibRawCscHit
&rhs);
34
35
~MuonCalibRawCscHit
() =
default
;
36
37
MuonCalibRawCscHit
(
const
MuonFixedId
&
id
,
const
Amg::Vector3D
&glob,
int
occ,
float
t
,
float
width
,
38
float
charge
);
39
40
std::ostream &
dump
(std::ostream &stream)
const
;
41
42
const
MuonFixedId
&
identify
()
const
;
43
const
Amg::Vector3D
&
globalPosition
()
const
;
44
int
occupancy
()
const
;
45
float
t
()
const
;
46
float
width
()
const
;
47
float
charge
()
const
;
48
49
void
setId
(
MuonFixedId
Id);
50
void
setGlobalPosition
(
const
Amg::Vector3D
&glob);
51
void
setOccupancy
(
int
occ);
52
void
setT
(
float
t
);
53
void
setWidth
(
float
width
);
54
void
setCharge
(
float
charge
);
55
56
private
:
57
MuonFixedId
m_id
{0};
58
Amg::Vector3D
m_Gpos
{0., 0., 0.};
59
int
m_occupancy
{0};
60
float
m_t
{0.};
61
float
m_width
{0.};
62
float
m_charge
{0.};
63
};
64
65
}
// namespace MuonCalib
66
67
std::ostream &
operator<<
(std::ostream &stream,
const
MuonCalib::MuonCalibRawCscHit
&rawHit);
68
69
#endif
// MuonCalibRawCscHit_h
GeoPrimitives.h
hit
bool hit(const Container &ids, int pdgId)
Definition
JetIRCSafeLabelTool.cxx:64
operator<<
std::ostream & operator<<(std::ostream &stream, const MuonCalib::MuonCalibRawCscHit &rawHit)
Definition
MuonCalibRawCscHit.cxx:40
MuonFixedId.h
MuonCalib::MuonCalibRawCscHit
Calib-EDM version of CscPrepData class, containing uncalibrated information.
Definition
MuonCalibRawCscHit.h:29
MuonCalib::MuonCalibRawCscHit::width
float width() const
retrieve the strip width
Definition
MuonCalibRawCscHit.cxx:17
MuonCalib::MuonCalibRawCscHit::setId
void setId(MuonFixedId Id)
sets the MuonFixedId
Definition
MuonCalibRawCscHit.cxx:20
MuonCalib::MuonCalibRawCscHit::m_Gpos
Amg::Vector3D m_Gpos
position of the hit in global coordinates
Definition
MuonCalibRawCscHit.h:58
MuonCalib::MuonCalibRawCscHit::charge
float charge() const
retrieve the charge
Definition
MuonCalibRawCscHit.cxx:18
MuonCalib::MuonCalibRawCscHit::setGlobalPosition
void setGlobalPosition(const Amg::Vector3D &glob)
sets the position expressed in global coordinates
Definition
MuonCalibRawCscHit.cxx:21
MuonCalib::MuonCalibRawCscHit::t
float t() const
retrieve the time
Definition
MuonCalibRawCscHit.cxx:16
MuonCalib::MuonCalibRawCscHit::m_occupancy
int m_occupancy
occupancy (-1 == not assigned to any segment)
Definition
MuonCalibRawCscHit.h:59
MuonCalib::MuonCalibRawCscHit::m_charge
float m_charge
charge
Definition
MuonCalibRawCscHit.h:62
MuonCalib::MuonCalibRawCscHit::setOccupancy
void setOccupancy(int occ)
sets the occupancy
Definition
MuonCalibRawCscHit.cxx:22
MuonCalib::MuonCalibRawCscHit::~MuonCalibRawCscHit
~MuonCalibRawCscHit()=default
destructor
MuonCalib::MuonCalibRawCscHit::MuonCalibRawCscHit
MuonCalibRawCscHit()=default
default constructor
MuonCalib::MuonCalibRawCscHit::setT
void setT(float t)
sets the time
Definition
MuonCalibRawCscHit.cxx:23
MuonCalib::MuonCalibRawCscHit::m_id
MuonFixedId m_id
identifier of the raw hit, (a MuonFixedId, not an Identifier)
Definition
MuonCalibRawCscHit.h:57
MuonCalib::MuonCalibRawCscHit::m_width
float m_width
strip width
Definition
MuonCalibRawCscHit.h:61
MuonCalib::MuonCalibRawCscHit::setWidth
void setWidth(float width)
sets the strip width
Definition
MuonCalibRawCscHit.cxx:24
MuonCalib::MuonCalibRawCscHit::setCharge
void setCharge(float charge)
sets the charge
Definition
MuonCalibRawCscHit.cxx:25
MuonCalib::MuonCalibRawCscHit::occupancy
int occupancy() const
retrieve the occupancy (-1 == not assigned to any segment)
Definition
MuonCalibRawCscHit.cxx:15
MuonCalib::MuonCalibRawCscHit::operator=
MuonCalibRawCscHit & operator=(const MuonCalibRawCscHit &rhs)
assingment operator
MuonCalib::MuonCalibRawCscHit::globalPosition
const Amg::Vector3D & globalPosition() const
retrieve the position expressed in global coordinates
Definition
MuonCalibRawCscHit.cxx:14
MuonCalib::MuonCalibRawCscHit::MuonCalibRawCscHit
MuonCalibRawCscHit(const MuonCalibRawCscHit &hit)=default
copy constructor
MuonCalib::MuonCalibRawCscHit::m_t
float m_t
time
Definition
MuonCalibRawCscHit.h:60
MuonCalib::MuonCalibRawCscHit::identify
const MuonFixedId & identify() const
retrieve the MuonFixedId
Definition
MuonCalibRawCscHit.cxx:13
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
Generated on
for ATLAS Offline Software by
1.17.0