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 
25 
26 private:
29 
30  void addHitsForCandidate(const reco::PFCandidate& c, TEveElement* holder, const FWViewContext* vc);
32  const reco::PFRecHit* getHitForDetId(unsigned detId);
33  void viewContextBoxScale( const float* corners, float scale, bool plotEt, std::vector<float>& scaledCorners, const reco::PFRecHit*);
34 
36 
37 };
type
Definition: HCALResponse.h:22
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 &)
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:33
virtual void scaleProduct(TEveElementList *parent, FWViewType::EType type, const FWViewContext *vc)
void addHitsForCandidate(const reco::PFCandidate &c, TEveElement *holder, const FWViewContext *vc)