ATLAS Offline Software
Loading...
Searching...
No Matches
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
8class CaloCell;
9
10namespace Rec {
11
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:
31 };
32
33 inline ParticleCellIntersection::ParticleCellIntersection( const CaloCell& cell, double expectEnergyLoss, double pathLength ) :
35 }
36
37}
38
39#endif
Data object for each calorimeter readout cell.
Definition CaloCell.h:57
double expectedEnergyLoss() const
return expected energy loss
const CaloCell & cell() const
return cell
ParticleCellIntersection(const CaloCell &cell, double expectEnergyLoss, double pathLength)
constructor taking a cell, expected energy loss, entry and exit position
double pathLength() const
entry position
Gaudi Tools.