60 inmap->second.push_back(cell);
62 std::vector<std::pair<const CaloCell*, int>> myVec;
63 myVec.push_back(cell);
66 std::vector<std::pair<const CaloCell*, int>>>
::value_type(myPos,
88 std::vector<std::pair<const CaloCell*, int>>>
::iterator itInserted =
91 std::make_pair(tempPos, std::vector<std::pair<const CaloCell*, int>>(0)))
96 std::vector<std::pair<const CaloCell*, int>>& pairVector(it->second);
97 itInserted->second.insert(
98 itInserted->second.end(), pairVector.begin(), pairVector.end());
111 return dEta * dEta + dPhi * dPhi;
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
This defines the eflowCalo enum, which is used to label calorimeter layers in a simplified scheme whi...
static const int nRegions
double dR(double eta, double phi, eflowCaloENUM layer) const
std::vector< double > m_etaFF
std::map< eflowCellPosition, std::vector< std::pair< const CaloCell *, int > > > m_cellPositionToCellMap
void addCell(std::pair< const CaloCell *, int > cell)
double dR2(double eta, double phi, eflowCaloENUM layer) const
void reorderWithoutLayers()
void setNewExtrapolatedTrack(const eflowTrackCaloPoints *trackCalo)
std::vector< double > m_phiFF
This class stores the eta,phi and layer of the calorimeter cell and defines a "<" operator which can ...
This class stores a map of calorimeter layers and track parameters (the result of the track extrapola...
double getPhi(eflowCalo::LAYER layer) const
double getEta(eflowCalo::LAYER layer) const
eflowCalo::LAYER eflowCaloENUM
std::map< eflowCellPosition, std::vector< std::pair< constCaloCell *, int > > >::iterator CellIt
double deltaPhi(double phiA, double phiB)
delta Phi in range [-pi,pi[