CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Apc.h
Go to the documentation of this file.
1 #ifndef PhysicsTools_Heppy_Apc_h
2 #define PhysicsTools_Heppy_Apc_h
3 
4 #include <cmath>
5 #include <numeric>
6 #include <vector>
7 
8 /* Apc
9  *
10  * Calculates the Apc event variable for a given input jet collection
11  *
12  */
13 
14 namespace heppy {
15 
16  struct Apc {
17  static double getApcJetMetMin(const std::vector<double>& et,
18  const std::vector<double>& px,
19  const std::vector<double>& py,
20  const double metx,
21  const double mety);
22  };
23 
24 }; // namespace heppy
25 
26 #endif // Apc_h
Definition: Apc.h:16
static double getApcJetMetMin(const std::vector< double > &et, const std::vector< double > &px, const std::vector< double > &py, const double metx, const double mety)
Definition: Apc.cc:13