CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWPFCandidateWithHitsProxyBuilder.h
Go to the documentation of this file.
2 //#include "DataFormats/HcalRecHit/interface/HcalRecHitCollections.h"
5 namespace reco
6 {
7 class PFCandidate;
8 class PFRecHit;
9 }
10 class CaloRecHit;
11 
13 {
14 public:
17 
18  virtual void build(const FWEventItem* iItem, TEveElementList* product, const FWViewContext*);
19 
20  virtual bool havePerViewProduct(FWViewType::EType) const { return true; }
21 
22  virtual void scaleProduct(TEveElementList* parent, FWViewType::EType type, const FWViewContext* vc);
23 
24  virtual void setItem(const FWEventItem* iItem);
25 
27 
28 private:
31 
32  void addHitsForCandidate(const reco::PFCandidate& c, TEveElement* holder, const FWViewContext* vc);
34  const reco::PFRecHit* getHitForDetId(unsigned detId);
35  void viewContextBoxScale( const float* corners, float scale, bool plotEt, std::vector<float>& scaledCorners, const reco::PFRecHit*);
36 
38 
39 };
type
Definition: HCALResponse.h:21
list parent
Definition: dbtoconf.py:74
std::vector< PFRecHit > PFRecHitCollection
collection of PFRecHit objects
Definition: PFRecHitFwd.h:9
virtual bool havePerViewProduct(FWViewType::EType) const
Particle flow rechit (rechit + geometry and topology information). See clustering algorithm in PFClus...
Definition: PFRecHit.h:31
const FWPFCandidateWithHitsProxyBuilder & operator=(const FWPFCandidateWithHitsProxyBuilder &)
virtual void setItem(const FWEventItem *iItem)
void viewContextBoxScale(const float *corners, float scale, bool plotEt, std::vector< float > &scaledCorners, const reco::PFRecHit *)
const reco::PFRecHitCollection * m_collectionHCAL
const reco::PFRecHit * getHitForDetId(unsigned detId)
Particle reconstructed by the particle flow algorithm.
Definition: PFCandidate.h:35
virtual void scaleProduct(TEveElementList *parent, FWViewType::EType type, const FWViewContext *vc)
void addHitsForCandidate(const reco::PFCandidate &c, TEveElement *holder, const FWViewContext *vc)