ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonCalib
MuonCalibEventBase
MuonCalibEventBase
MuonCalibTgcTruthHit.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 truth information in //
7
//*********************************************************//
8
9
#ifndef MuonCalibTgcTruthHit_h
10
#define MuonCalibTgcTruthHit_h
11
12
#include <iostream>
13
14
#include "
MuonCalibIdentifier/MuonFixedId.h
"
15
16
namespace
MuonCalib
{
24
class
MuonCalibTgcTruthHit
{
25
public
:
26
MuonCalibTgcTruthHit
() =
default
;
27
MuonCalibTgcTruthHit
&
operator=
(
const
MuonCalibTgcTruthHit
& rhs) =
default
;
28
MuonCalibTgcTruthHit
(
const
MuonCalibTgcTruthHit
& truth) =
default
;
29
~MuonCalibTgcTruthHit
() =
default
;
30
31
MuonCalibTgcTruthHit
(
MuonFixedId
id
,
int
barCode
,
double
time
);
32
33
std::ostream&
dump
(std::ostream& stream)
const
;
34
35
const
MuonFixedId
&
identify
()
const
;
36
int
barCode
()
const
;
37
double
time
()
const
;
38
39
void
setIdentifier
(
MuonFixedId
id
);
40
void
setBarCode
(
int
barCode
);
41
void
setTime
(
double
time
);
42
43
private
:
44
MuonFixedId
m_ID
{0};
45
int
m_barCode
{0};
46
double
m_time
{0.};
47
};
48
49
}
// namespace MuonCalib
50
51
std::ostream&
operator<<
(std::ostream& stream,
const
MuonCalib::MuonCalibTgcTruthHit
& truth);
52
53
#endif
// MuonCalibTgcTruth_h
operator<<
std::ostream & operator<<(std::ostream &stream, const MuonCalib::MuonCalibTgcTruthHit &truth)
Definition
MuonCalibTgcTruthHit.cxx:29
MuonFixedId.h
MuonCalib::MuonCalibTgcTruthHit
Class with truth information of a RPC hit, containing:
Definition
MuonCalibTgcTruthHit.h:24
MuonCalib::MuonCalibTgcTruthHit::m_barCode
int m_barCode
barcode
Definition
MuonCalibTgcTruthHit.h:45
MuonCalib::MuonCalibTgcTruthHit::setTime
void setTime(double time)
sets the time
Definition
MuonCalibTgcTruthHit.cxx:15
MuonCalib::MuonCalibTgcTruthHit::MuonCalibTgcTruthHit
MuonCalibTgcTruthHit(const MuonCalibTgcTruthHit &truth)=default
copyconstructor
MuonCalib::MuonCalibTgcTruthHit::MuonCalibTgcTruthHit
MuonCalibTgcTruthHit()=default
default constructor
MuonCalib::MuonCalibTgcTruthHit::operator=
MuonCalibTgcTruthHit & operator=(const MuonCalibTgcTruthHit &rhs)=default
assignment operator
MuonCalib::MuonCalibTgcTruthHit::m_time
double m_time
time
Definition
MuonCalibTgcTruthHit.h:46
MuonCalib::MuonCalibTgcTruthHit::identify
const MuonFixedId & identify() const
retrieve the MuonFixedId
Definition
MuonCalibTgcTruthHit.cxx:9
MuonCalib::MuonCalibTgcTruthHit::time
double time() const
retrieve the time
Definition
MuonCalibTgcTruthHit.cxx:11
MuonCalib::MuonCalibTgcTruthHit::m_ID
MuonFixedId m_ID
identifier of the truth hit, (is a MuonFixedId, not an Identifier)
Definition
MuonCalibTgcTruthHit.h:44
MuonCalib::MuonCalibTgcTruthHit::setBarCode
void setBarCode(int barCode)
sets the barcode
Definition
MuonCalibTgcTruthHit.cxx:14
MuonCalib::MuonCalibTgcTruthHit::setIdentifier
void setIdentifier(MuonFixedId id)
sets the MuonFixedId
Definition
MuonCalibTgcTruthHit.cxx:13
MuonCalib::MuonCalibTgcTruthHit::~MuonCalibTgcTruthHit
~MuonCalibTgcTruthHit()=default
destructor
MuonCalib::MuonCalibTgcTruthHit::barCode
int barCode() const
retrieve the barcode
Definition
MuonCalibTgcTruthHit.cxx:10
MuonCalib::MuonFixedId
Implements fixed identifiers not dependent upon Athena Identifier for internal use in the calibration...
Definition
MuonFixedId.h:50
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