Belle II Software  release-05-02-19
Position.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2016 - Belle II Collaboration *
4  * *
5  * Calculation of shower positions using lists of digits and weights. *
6  * *
7  * Author: The Belle II Collaboration *
8  * Contributors: Torben Ferber (ferber@physics.ubc.ca) *
9  * *
10  * This software is provided "as is" without any warranty. *
11  **************************************************************************/
12 
13 #ifndef ECLPOSITION_H_
14 #define ECLPOSITION_H_
15 
16 // ECL
17 #include <ecl/dataobjects/ECLCalDigit.h>
18 
19 // FRAMEWORK
20 #include <framework/geometry/B2Vector3.h>
21 
22 // OTHER
23 #include <vector>
24 
25 namespace Belle2 {
30  namespace ECL {
32 
37  B2Vector3D computePositionLiLo(std::vector<ECLCalDigit>& digits, std::vector<double>& weights, std::vector<double>& parameters);
38 
40 
44  double computeEnergySum(std::vector<ECLCalDigit>& digits, std::vector<double>& weights);
45 
46  } // namespace ECL
48 } // namespace Belle2
49 
50 #endif
Belle2::B2Vector3D
B2Vector3< double > B2Vector3D
typedef for common usage with double
Definition: B2Vector3.h:507
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19