CMS 3D CMS Logo

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 private:
54  FWPFClusterRPZUtils(const FWPFClusterRPZUtils &) = delete; // Disable default copy constructor
55  const FWPFClusterRPZUtils &operator=(const FWPFClusterRPZUtils &) = delete; // Disable default assignment operator
56 };
57 #endif
58 //=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_
eostools.ls
def ls(path, rec=False)
Definition: eostools.py:349
ScalableLines::m_vc
const FWViewContext * m_vc
Definition: FWPFClusterRPZUtils.h:32
FWPFClusterRPZUtils::FWPFClusterRPZUtils
FWPFClusterRPZUtils()
Definition: FWPFClusterRPZUtils.h:41
FWPFClusterRPZUtils
Definition: FWPFClusterRPZUtils.h:38
FWPFMaths.h
ScalableLines::ScalableLines
ScalableLines(TEveScalableStraightLineSet *ls, float et, float e, const FWViewContext *vc)
Definition: FWPFClusterRPZUtils.h:27
FWPFClusterRPZUtils::buildRhoPhiClusterLineSet
TEveScalableStraightLineSet * buildRhoPhiClusterLineSet(const reco::PFCluster &, const FWViewContext *, float r)
Definition: FWPFClusterRPZUtils.cc:4
ScalableLines
Definition: FWPFClusterRPZUtils.h:26
FWViewContext.h
DDAxes::z
PFCluster.h
FWPFClusterRPZUtils::buildRhoZClusterLineSet
TEveScalableStraightLineSet * buildRhoZClusterLineSet(const reco::PFCluster &, const FWViewContext *, float caloTransAngle, float r, float z)
Definition: FWPFClusterRPZUtils.cc:38
EgHLTOffHistBins_cfi.et
et
Definition: EgHLTOffHistBins_cfi.py:8
FWEventItem.h
FWViewContext
Definition: FWViewContext.h:32
alignCSCRings.r
r
Definition: alignCSCRings.py:93
FWPFClusterRPZUtils::~FWPFClusterRPZUtils
virtual ~FWPFClusterRPZUtils()
Definition: FWPFClusterRPZUtils.h:42
reco::PFCluster
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
Definition: PFCluster.h:42
FWViewEnergyScale.h
ScalableLines::m_ls
TEveScalableStraightLineSet * m_ls
Definition: FWPFClusterRPZUtils.h:30
ScalableLines::m_et
float m_et
Definition: FWPFClusterRPZUtils.h:31
ScalableLines::m_energy
float m_energy
Definition: FWPFClusterRPZUtils.h:31
FWPFClusterRPZUtils::operator=
const FWPFClusterRPZUtils & operator=(const FWPFClusterRPZUtils &)=delete
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37