ATLAS Offline Software
eflowAbstractCellList.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 EFLOWREC_EFLOWABSTRACTCELLLIST_H
6 #define EFLOWREC_EFLOWABSTRACTCELLLIST_H
7 
8 /********************************************************************
9 
10 NAME: eflowAbstractCellList.h
11 PACKAGE: offline/Reconstruction/eflowRec
12 
13 AUTHORS: M.Hodgkinson
14 CREATED: 22nd Aug, 2005
15 
16 ********************************************************************/
17 
18 // Athena Headers
20 
21 // C++ Headers
22 #include <map>
23 
24 class CaloCell;
26 
27 typedef std::map<eflowCellPosition,
28  std::vector<std::pair<const CaloCell*, int>>>::iterator CellIt;
29 
31 {
32 
33 public:
36 
38  const eflowTrackCaloPoints* trackCalo) = 0;
39 
40  virtual void addCell(std::pair<const CaloCell*, int> cell) = 0;
41 
42  virtual void reorderWithoutLayers() = 0;
43 
44  virtual CellIt begin() = 0;
45  virtual CellIt end() = 0;
46 
47  virtual CellIt getLowerBound(eflowCaloENUM layer, double r) = 0;
48 
49  virtual void deleteFromList(CellIt& start, CellIt& end) = 0;
50  virtual void deleteFromList(CellIt& it) = 0;
51 
52  virtual double etaFF(eflowCaloENUM layer) const = 0;
53  virtual double phiFF(eflowCaloENUM layer) const = 0;
54 
55  virtual double dR2(double eta, double phi, eflowCaloENUM layer) const = 0;
56  virtual double dR(double eta, double phi, eflowCaloENUM layer) const = 0;
57 };
58 #endif // not EFLOWREC_EFLOWABSTRACTCELLLIST_H
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
beamspotman.r
def r
Definition: beamspotman.py:676
eflowTrackCaloPoints
This class stores a map of calorimeter layers and track parameters (the result of the track extrapola...
Definition: eflowTrackCaloPoints.h:30
ReadCellNoiseFromCool.cell
cell
Definition: ReadCellNoiseFromCool.py:53
eflowAbstractCellList::dR2
virtual double dR2(double eta, double phi, eflowCaloENUM layer) const =0
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:64
eflowCellPosition.h
eflowAbstractCellList::deleteFromList
virtual void deleteFromList(CellIt &start, CellIt &end)=0
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:79
eflowAbstractCellList::setNewExtrapolatedTrack
virtual void setNewExtrapolatedTrack(const eflowTrackCaloPoints *trackCalo)=0
mergePhysValFiles.start
start
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:14
eflowAbstractCellList::eflowAbstractCellList
eflowAbstractCellList()
Definition: eflowAbstractCellList.h:34
skel.it
it
Definition: skel.GENtoEVGEN.py:423
eflowAbstractCellList::begin
virtual CellIt begin()=0
eflowAbstractCellList::~eflowAbstractCellList
virtual ~eflowAbstractCellList()
Definition: eflowAbstractCellList.h:35
eflowCellPosition
This class stores the eta,phi and layer of the calorimeter cell and defines a "<" operator which can ...
Definition: eflowCellPosition.h:36
eflowAbstractCellList::dR
virtual double dR(double eta, double phi, eflowCaloENUM layer) const =0
TRT::Hit::layer
@ layer
Definition: HitInfo.h:79
eflowAbstractCellList::phiFF
virtual double phiFF(eflowCaloENUM layer) const =0
eflowAbstractCellList::addCell
virtual void addCell(std::pair< const CaloCell *, int > cell)=0
eflowAbstractCellList::etaFF
virtual double etaFF(eflowCaloENUM layer) const =0
eflowAbstractCellList
Definition: eflowAbstractCellList.h:31
eflowAbstractCellList::deleteFromList
virtual void deleteFromList(CellIt &it)=0
CellIt
std::map< eflowCellPosition, std::vector< std::pair< const CaloCell *, int > > >::iterator CellIt
Definition: eflowAbstractCellList.h:25
eflowCalo::LAYER
LAYER
Definition: eflowCaloRegions.h:36
CaloCell
Data object for each calorimeter readout cell.
Definition: CaloCell.h:57
eflowAbstractCellList::getLowerBound
virtual CellIt getLowerBound(eflowCaloENUM layer, double r)=0
eflowAbstractCellList::end
virtual CellIt end()=0
eflowAbstractCellList::reorderWithoutLayers
virtual void reorderWithoutLayers()=0