CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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
24 
26 {
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 {
40  public:
41  // ---------------- Constructor(s)/Destructor ----------------------
44 
45  // --------------------- Member Functions --------------------------
46  float calculateEt( const reco::PFCluster&, float e );
47  TEveScalableStraightLineSet *buildRhoPhiClusterLineSet( const reco::PFCluster&, const FWViewContext*, float r );
48  TEveScalableStraightLineSet *buildRhoPhiClusterLineSet( const reco::PFCluster&, const FWViewContext*,
49  float e, float et, float r );
50  TEveScalableStraightLineSet *buildRhoZClusterLineSet( const reco::PFCluster&, const FWViewContext*,
51  float caloTransAngle, float r, float z );
52  TEveScalableStraightLineSet *buildRhoZClusterLineSet( const reco::PFCluster&, const FWViewContext*,
53  float caloTransAngle, float e, float et, float r, float z );
54 
55  private:
56  FWPFClusterRPZUtils( const FWPFClusterRPZUtils& ); // Disable default copy constructor
57  const FWPFClusterRPZUtils& operator=( const FWPFClusterRPZUtils& ); // Disable default assignment operator
58 };
59 #endif
60 //=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_
float calculateEt(const reco::PFCluster &, float e)
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
Definition: PFCluster.h:42
const FWPFClusterRPZUtils & operator=(const FWPFClusterRPZUtils &)
ScalableLines(TEveScalableStraightLineSet *ls, float et, float e, const FWViewContext *vc)
TEveScalableStraightLineSet * buildRhoPhiClusterLineSet(const reco::PFCluster &, const FWViewContext *, float r)
Definition: DDAxes.h:10
TEveScalableStraightLineSet * buildRhoZClusterLineSet(const reco::PFCluster &, const FWViewContext *, float caloTransAngle, float r, float z)
const FWViewContext * m_vc
TEveScalableStraightLineSet * m_ls