ATLAS Offline Software
MuonSpectrometer
MuonDigitization
MM_Digitization
MM_Digitization
MM_ElectronicsToolInput.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
#ifndef MM_DIGITIZATION_MM_ELECTRONICSTOOLINPUT_H
6
#define MM_DIGITIZATION_MM_ELECTRONICSTOOLINPUT_H
7
#include "Identifier/Identifier.h"
8
/*******************************************************************************/
9
class
MM_ElectronicsToolInput
{
10
public
:
11
MM_ElectronicsToolInput
(
const
std::vector<int>&
NumberOfStripsPos
,
const
std::vector<std::vector<float>>&
chipCharge
,
12
const
std::vector<std::vector<float>>&
chipTime
,
const
std::vector<float>&
stripThreshold
,
13
const
Identifier
digitID
,
const
float
kineticEnergy
) :
14
m_chipCharge
(
chipCharge
),
15
m_chipTime
(
chipTime
),
16
m_NumberOfStripsPos
(
NumberOfStripsPos
),
17
m_stripThreshold
(
stripThreshold
),
18
m_digitID
(
digitID
),
19
m_kineticEnergy
(
kineticEnergy
) {}
20
21
MM_ElectronicsToolInput
(
const
std::vector<int>&
NumberOfStripsPos
,
const
std::vector<std::vector<float>>&
chipCharge
,
22
const
std::vector<std::vector<float>>&
chipTime
,
const
Identifier
digitID
,
const
float
kineticEnergy
) :
23
m_chipCharge
(
chipCharge
),
24
m_chipTime
(
chipTime
),
25
m_NumberOfStripsPos
(
NumberOfStripsPos
),
26
m_digitID
(
digitID
),
27
m_kineticEnergy
(
kineticEnergy
) {}
28
29
~MM_ElectronicsToolInput
() =
default
;
30
31
const
std::vector<int>&
NumberOfStripsPos
()
const
{
return
m_NumberOfStripsPos
; }
32
const
std::vector<std::vector<float>>&
chipCharge
()
const
{
return
m_chipCharge
; }
33
const
std::vector<std::vector<float>>&
chipTime
()
const
{
return
m_chipTime
; }
34
const
std::vector<float>&
stripThreshold
()
const
{
return
m_stripThreshold
; }
35
const
Identifier
&
digitID
()
const
{
return
m_digitID
; }
36
float
kineticEnergy
()
const
{
return
m_kineticEnergy
; }
37
38
private
:
39
std::vector<std::vector<float>>
m_chipCharge
{};
40
std::vector<std::vector<float>>
m_chipTime
{};
41
std::vector<int>
m_NumberOfStripsPos
{};
42
std::vector<float>
m_stripThreshold
{};
43
Identifier
m_digitID
{0};
44
float
m_kineticEnergy
{0.f};
45
};
46
/*******************************************************************************/
47
#endif
MM_ElectronicsToolInput::m_NumberOfStripsPos
std::vector< int > m_NumberOfStripsPos
Definition:
MM_ElectronicsToolInput.h:41
MM_ElectronicsToolInput::m_chipTime
std::vector< std::vector< float > > m_chipTime
Definition:
MM_ElectronicsToolInput.h:40
MM_ElectronicsToolInput::MM_ElectronicsToolInput
MM_ElectronicsToolInput(const std::vector< int > &NumberOfStripsPos, const std::vector< std::vector< float >> &chipCharge, const std::vector< std::vector< float >> &chipTime, const std::vector< float > &stripThreshold, const Identifier digitID, const float kineticEnergy)
Definition:
MM_ElectronicsToolInput.h:11
MM_ElectronicsToolInput::~MM_ElectronicsToolInput
~MM_ElectronicsToolInput()=default
MM_ElectronicsToolInput::m_digitID
Identifier m_digitID
Definition:
MM_ElectronicsToolInput.h:43
MM_ElectronicsToolInput::m_stripThreshold
std::vector< float > m_stripThreshold
Definition:
MM_ElectronicsToolInput.h:42
MM_ElectronicsToolInput::stripThreshold
const std::vector< float > & stripThreshold() const
Definition:
MM_ElectronicsToolInput.h:34
MM_ElectronicsToolInput::m_chipCharge
std::vector< std::vector< float > > m_chipCharge
Definition:
MM_ElectronicsToolInput.h:39
MM_ElectronicsToolInput::m_kineticEnergy
float m_kineticEnergy
Definition:
MM_ElectronicsToolInput.h:44
MM_ElectronicsToolInput
Definition:
MM_ElectronicsToolInput.h:9
MM_ElectronicsToolInput::MM_ElectronicsToolInput
MM_ElectronicsToolInput(const std::vector< int > &NumberOfStripsPos, const std::vector< std::vector< float >> &chipCharge, const std::vector< std::vector< float >> &chipTime, const Identifier digitID, const float kineticEnergy)
Definition:
MM_ElectronicsToolInput.h:21
MM_ElectronicsToolInput::chipTime
const std::vector< std::vector< float > > & chipTime() const
Definition:
MM_ElectronicsToolInput.h:33
MM_ElectronicsToolInput::kineticEnergy
float kineticEnergy() const
Definition:
MM_ElectronicsToolInput.h:36
MM_ElectronicsToolInput::NumberOfStripsPos
const std::vector< int > & NumberOfStripsPos() const
Definition:
MM_ElectronicsToolInput.h:31
MM_ElectronicsToolInput::digitID
const Identifier & digitID() const
Definition:
MM_ElectronicsToolInput.h:35
MM_ElectronicsToolInput::chipCharge
const std::vector< std::vector< float > > & chipCharge() const
Definition:
MM_ElectronicsToolInput.h:32
Identifier
Definition:
IdentifierFieldParser.cxx:14
Generated on Wed Jan 8 2025 21:13:50 for ATLAS Offline Software by
1.8.18