APRILContent
Algorithm of Particle Reconstruction for ILC - implementation with PandoraSDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations
ClusterShape.h
Go to the documentation of this file.
1 
3 #ifndef CLUSTERSHAPE_H
4 #define CLUSTERSHAPE_H
5 
6 #include <vector>
7 #include "Objects/CaloHit.h"
8 #include "Objects/Cluster.h"
9 
10 #include "TVector3.h"
11 
12 class TriPoint
13 {
14 public:
15  TriPoint()
16  {
17  X1.SetXYZ(10000., 10000., 10000.);
18  X2.SetXYZ(10000., 10000., 10000.);
19  }
20 
21  TVector3 X0;
22  TVector3 X1;
23  TVector3 X2;
24 };
25 
27 {
28 public:
29  ClusterShape(const pandora::Cluster* pCluster);
30  double CalcClusterShapeFactor();
31 
32 private:
33  const pandora::Cluster* m_cluster;
34 
35  std::vector<TriPoint> m_points;
36 
37  void FillHits();
38 };
39 
40 #endif // CLUSTERSHAPE_H
Definition: ClusterShape.h:26
Definition: ClusterShape.h:12