CMS 3D CMS Logo

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:
28  const FWPFCandidateWithHitsProxyBuilder& operator=( const FWPFCandidateWithHitsProxyBuilder& ); // Stop default
29 
30  void addHitsForCandidate(const reco::PFCandidate& c, TEveElement* holder, const FWViewContext* vc);
31  void initPFRecHitsCollections();
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:21
#define REGISTER_PROXYBUILDER_METHODS()
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 reco::PFRecHitCollection * m_collectionHCAL
Particle reconstructed by the particle flow algorithm.
Definition: PFCandidate.h:39
fixed size matrix