ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
RecoEvent
ParticleCaloExtension
ParticleCaloExtension
ParticleCellIntersection.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 REC_PARTICLECELLINTERSECTION_H
6
#define REC_PARTICLECELLINTERSECTION_H
7
8
class
CaloCell
;
9
10
namespace
Rec
{
11
13
class
ParticleCellIntersection
{
14
public
:
16
ParticleCellIntersection
(
const
CaloCell
&
cell
,
double
expectEnergyLoss,
double
pathLength
);
17
19
const
CaloCell
&
cell
()
const
{
return
*
m_cell
; }
20
22
double
expectedEnergyLoss
()
const
{
return
m_expectedEnergyLoss
; }
23
25
double
pathLength
()
const
{
return
m_pathLength
; }
26
27
private
:
28
const
CaloCell
*
m_cell
;
29
double
m_expectedEnergyLoss
;
30
double
m_pathLength
;
31
};
32
33
inline
ParticleCellIntersection::ParticleCellIntersection
(
const
CaloCell
&
cell
,
double
expectEnergyLoss,
double
pathLength
) :
34
m_cell
(&
cell
),
m_expectedEnergyLoss
(expectEnergyLoss),
m_pathLength
(
pathLength
) {
35
}
36
37
}
38
39
#endif
CaloCell
Data object for each calorimeter readout cell.
Definition
CaloCell.h:57
Rec::ParticleCellIntersection::m_expectedEnergyLoss
double m_expectedEnergyLoss
Definition
ParticleCellIntersection.h:29
Rec::ParticleCellIntersection::expectedEnergyLoss
double expectedEnergyLoss() const
return expected energy loss
Definition
ParticleCellIntersection.h:22
Rec::ParticleCellIntersection::cell
const CaloCell & cell() const
return cell
Definition
ParticleCellIntersection.h:19
Rec::ParticleCellIntersection::ParticleCellIntersection
ParticleCellIntersection(const CaloCell &cell, double expectEnergyLoss, double pathLength)
constructor taking a cell, expected energy loss, entry and exit position
Definition
ParticleCellIntersection.h:33
Rec::ParticleCellIntersection::m_cell
const CaloCell * m_cell
Definition
ParticleCellIntersection.h:28
Rec::ParticleCellIntersection::m_pathLength
double m_pathLength
Definition
ParticleCellIntersection.h:30
Rec::ParticleCellIntersection::pathLength
double pathLength() const
entry position
Definition
ParticleCellIntersection.h:25
Rec
namespace for combined reconstruction tools and interfaces
Definition
FakeTrackBuilder.h:10
Generated on
for ATLAS Offline Software by
1.17.0