ATLAS Offline Software
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 
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;
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
ReadCellNoiseFromCool.cell
cell
Definition: ReadCellNoiseFromCool.py:53
Rec::ParticleCellIntersection::m_pathLength
double m_pathLength
Definition: ParticleCellIntersection.h:30
Rec::ParticleCellIntersection::m_cell
const CaloCell * m_cell
Definition: ParticleCellIntersection.h:28
Rec
Name: MuonSpContainer.h Package : offline/Reconstruction/MuonIdentification/muonEvent.
Definition: FakeTrackBuilder.h:10
Rec::ParticleCellIntersection
class storing information on the intersection of a track with a cell
Definition: ParticleCellIntersection.h:13
Rec::ParticleCellIntersection::cell
const CaloCell & cell() const
return cell
Definition: ParticleCellIntersection.h:19
Rec::ParticleCellIntersection::m_expectedEnergyLoss
double m_expectedEnergyLoss
Definition: ParticleCellIntersection.h:29
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
CaloCell
Data object for each calorimeter readout cell.
Definition: CaloCell.h:57
Rec::ParticleCellIntersection::pathLength
double pathLength() const
entry position
Definition: ParticleCellIntersection.h:25
Rec::ParticleCellIntersection::expectedEnergyLoss
double expectedEnergyLoss() const
return expected energy loss
Definition: ParticleCellIntersection.h:22