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  void build(const FWEventItem* iItem, TEveElementList* product, const FWViewContext*) override;
19 
20  bool havePerViewProduct(FWViewType::EType) const override { return true; }
21 
22  void scaleProduct(TEveElementList* parent, FWViewType::EType type, const FWViewContext* vc) override;
23 
25 
26 private:
28  const FWPFCandidateWithHitsProxyBuilder& operator=( const FWPFCandidateWithHitsProxyBuilder& ) = delete; // 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()
bool havePerViewProduct(FWViewType::EType) const override
std::vector< PFRecHit > PFRecHitCollection
collection of PFRecHit objects
Definition: PFRecHitFwd.h:9
Particle flow rechit (rechit + geometry and topology information). See clustering algorithm in PFClus...
Definition: PFRecHit.h:32
const reco::PFRecHitCollection * m_collectionHCAL
Particle reconstructed by the particle flow algorithm.
Definition: PFCandidate.h:40
fixed size matrix