CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
FWPFClusterRPZUtils.h
Go to the documentation of this file.
1 #ifndef _FWPFCLUSTERRPZUTILS_H_
2 #define _FWPFCLUSTERRPZUTILS_H_
3 
4 // -*- C++ -*-
5 //
6 // Package: ParticleFlow
7 // Class : FWPFClusterRPZUtils
8 //
9 // Implementation:
10 // <Notes on implementation>
11 //
12 // Original Author: Simon Harris
13 // Created: 17/02/2011
14 //
15 
16 // System include files
17 #include "TEveScalableStraightLineSet.h"
18 
19 // User include files
25 
26 struct ScalableLines {
27  ScalableLines(TEveScalableStraightLineSet *ls, float et, float e, const FWViewContext *vc)
28  : m_ls(ls), m_et(et), m_energy(e), m_vc(vc) {}
29 
30  TEveScalableStraightLineSet *m_ls;
31  float m_et, m_energy;
33 };
34 
35 //-----------------------------------------------------------------------------
36 // FWPFClusterRPZUtils
37 //-----------------------------------------------------------------------------
39 public:
40  // ---------------- Constructor(s)/Destructor ----------------------
42  virtual ~FWPFClusterRPZUtils() {}
43 
44  // --------------------- Member Functions --------------------------
45  TEveScalableStraightLineSet *buildRhoPhiClusterLineSet(const reco::PFCluster &, const FWViewContext *, float r);
46  TEveScalableStraightLineSet *buildRhoPhiClusterLineSet(
47  const reco::PFCluster &, const FWViewContext *, float e, float et, float r);
48  TEveScalableStraightLineSet *buildRhoZClusterLineSet(
49  const reco::PFCluster &, const FWViewContext *, float caloTransAngle, float r, float z);
50  TEveScalableStraightLineSet *buildRhoZClusterLineSet(
51  const reco::PFCluster &, const FWViewContext *, float caloTransAngle, float e, float et, float r, float z);
52 
53  FWPFClusterRPZUtils(const FWPFClusterRPZUtils &) = delete; // Disable default copy constructor
54  const FWPFClusterRPZUtils &operator=(const FWPFClusterRPZUtils &) = delete; // Disable default assignment operator
55 };
56 #endif
57 //=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
Definition: PFCluster.h:42
def ls
Definition: eostools.py:349
ScalableLines(TEveScalableStraightLineSet *ls, float et, float e, const FWViewContext *vc)
const FWPFClusterRPZUtils & operator=(const FWPFClusterRPZUtils &)=delete
TEveScalableStraightLineSet * buildRhoPhiClusterLineSet(const reco::PFCluster &, const FWViewContext *, float r)
TEveScalableStraightLineSet * buildRhoZClusterLineSet(const reco::PFCluster &, const FWViewContext *, float caloTransAngle, float r, float z)
const FWViewContext * m_vc
TEveScalableStraightLineSet * m_ls