CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWPFCandidateTowerSliceSelector.cc
Go to the documentation of this file.
4 
7 
8 
11 {
12 }
13 
14 
16 {
17 }
18 void
20 {
21 
23  m_item->get(towers);
24  assert(0!=towers);
25  reco::PFCandidateCollection::const_iterator tower = towers->begin();
26  std::advance(tower, itemIdx);
27 
28  eta = tower->eta();
29  phi = tower->phi();
30  }
31 
32 
int i
Definition: DBlmapReader.cc:9
virtual void getItemEntryEtaPhi(int itemIdx, float &eta, float &phi) const
assert(m_qm.get())
void get(const T *&oData) const
Definition: FWEventItem.h:84
FWPFCandidateTowerSliceSelector(TH2F *h, const FWEventItem *i)
const FWEventItem * m_item
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
std::vector< reco::PFCandidate > PFCandidateCollection
collection of PFCandidates
Geom::Phi< T > phi() const