CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
KDTreeLinkerBase.cc
Go to the documentation of this file.
2 
4 
6  : cristalPhiEtaMaxSize_ (0.04),
7  cristalXYMaxSize_ (3.),
8  phiOffset_ (0.25),
9  debug_ (false)
10 {
11 }
12 
14 {
15 }
16 
17 void
19 {
21 }
22 
23 void
25 {
27 }
28 
29 void
31 {
32  phiOffset_ = phiOffset;
33 }
34 
35 void
37 {
38  debug_ = debug;
39 }
40 
41 float
43 {
44  return cristalPhiEtaMaxSize_;
45 }
46 
47 float
49 {
50  return cristalXYMaxSize_;
51 }
52 
53 float
55 {
56  return phiOffset_;
57 }
58 
59 void
61 {
62  buildTree();
63  searchLinks();
65  clear();
66 }
67 
68 
69 
virtual void updatePFBlockEltWithLinks()=0
virtual ~KDTreeLinkerBase()
void setDebug(bool isDebug)
virtual void buildTree()=0
void setPhiOffset(double phiOffset)
float getCristalXYMaxSize() const
virtual void clear()=0
#define EDM_REGISTER_PLUGINFACTORY(_factory_, _category_)
Definition: PluginFactory.h:90
void setCristalPhiEtaMaxSize(float size)
#define debug
Definition: HDRShower.cc:19
float getCristalPhiEtaMaxSize() const
virtual void searchLinks()=0
virtual void process()
volatile std::atomic< bool > shutdown_flag false
void setCristalXYMaxSize(float size)
float getPhiOffset() const
tuple size
Write out results.