1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
#ifndef _FWPFCLUSTERRPZUTILS_H_
#define _FWPFCLUSTERRPZUTILS_H_
// -*- C++ -*-
//
// Package: ParticleFlow
// Class : FWPFClusterRPZUtils
//
// Implementation:
// <Notes on implementation>
//
// Original Author: Simon Harris
// Created: 17/02/2011
//
// System include files
#include "TEveScalableStraightLineSet.h"
// User include files
#include "DataFormats/ParticleFlowReco/interface/PFCluster.h"
#include "Fireworks/Core/interface/FWEventItem.h"
#include "Fireworks/Core/interface/FWViewEnergyScale.h"
#include "Fireworks/Core/interface/FWViewContext.h"
#include "Fireworks/ParticleFlow/interface/FWPFMaths.h"
struct ScalableLines {
ScalableLines(TEveScalableStraightLineSet *ls, float et, float e, const FWViewContext *vc)
: m_ls(ls), m_et(et), m_energy(e), m_vc(vc) {}
TEveScalableStraightLineSet *m_ls;
float m_et, m_energy;
const FWViewContext *m_vc;
};
//-----------------------------------------------------------------------------
// FWPFClusterRPZUtils
//-----------------------------------------------------------------------------
class FWPFClusterRPZUtils {
public:
// ---------------- Constructor(s)/Destructor ----------------------
FWPFClusterRPZUtils() {}
virtual ~FWPFClusterRPZUtils() {}
// --------------------- Member Functions --------------------------
TEveScalableStraightLineSet *buildRhoPhiClusterLineSet(const reco::PFCluster &, const FWViewContext *, float r);
TEveScalableStraightLineSet *buildRhoPhiClusterLineSet(
const reco::PFCluster &, const FWViewContext *, float e, float et, float r);
TEveScalableStraightLineSet *buildRhoZClusterLineSet(
const reco::PFCluster &, const FWViewContext *, float caloTransAngle, float r, float z);
TEveScalableStraightLineSet *buildRhoZClusterLineSet(
const reco::PFCluster &, const FWViewContext *, float caloTransAngle, float e, float et, float r, float z);
FWPFClusterRPZUtils(const FWPFClusterRPZUtils &) = delete; // Disable default copy constructor
const FWPFClusterRPZUtils &operator=(const FWPFClusterRPZUtils &) = delete; // Disable default assignment operator
};
#endif
//=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_
|