CMS 3D CMS Logo

FWPFCandidateWithHitsProxyBuilder.h
Go to the documentation of this file.
2 //#include "DataFormats/HcalRecHit/interface/HcalRecHitCollections.h"
5 namespace reco {
6  class PFCandidate;
7  class PFRecHit;
8 } // namespace reco
9 class CaloRecHit;
10 
12 public:
15 
16  void build(const FWEventItem* iItem, TEveElementList* product, const FWViewContext*) override;
17 
18  bool havePerViewProduct(FWViewType::EType) const override { return true; }
19 
20  void scaleProduct(TEveElementList* parent, FWViewType::EType type, const FWViewContext* vc) override;
21 
23 
26 
27 private:
28  void addHitsForCandidate(const reco::PFCandidate& c, TEveElement* holder, const FWViewContext* vc);
30  const reco::PFRecHit* getHitForDetId(unsigned detId);
32  const float* corners, float scale, bool plotEt, std::vector<float>& scaledCorners, const reco::PFRecHit*);
33 
35 };
#define REGISTER_PROXYBUILDER_METHODS()
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:31
void scaleProduct(TEveElementList *parent, FWViewType::EType type, const FWViewContext *vc) override
bool havePerViewProduct(FWViewType::EType) const override
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:41
fixed size matrix
const FWPFCandidateWithHitsProxyBuilder & operator=(const FWPFCandidateWithHitsProxyBuilder &)=delete
void addHitsForCandidate(const reco::PFCandidate &c, TEveElement *holder, const FWViewContext *vc)