ATLAS Offline Software
LikelihoodComponents.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef JETTAGTOOLS_LIKELIHOODCOMPONENTS_H
6 #define JETTAGTOOLS_LIKELIHOODCOMPONENTS_H
7 #include <vector>
8 #include <string>
9 
10 /******************************************************
11  @class LikelihoodComponents
12 ********************************************************/
13 
14 namespace Analysis
15 {
16 
17  class AtomicProperty {
18  public:
19  inline AtomicProperty(double v, const std::string& n)
20  : value(v), name(n) {}
21  double value;
22  std::string name;
23  };
24  class Composite {
25  public:
26  inline Composite(const std::string& n) : name(n) {}
27  std::vector<AtomicProperty> atoms;
28  std::string name;
29  };
30  class Slice {
31  public:
32  inline Slice(const std::string& n) : name(n) {}
33  std::vector<Composite> composites;
34  std::string name;
35  };
36 
37 }
38 #endif
Analysis::Composite::atoms
std::vector< AtomicProperty > atoms
Definition: LikelihoodComponents.h:29
Analysis::AtomicProperty::value
double value
Definition: LikelihoodComponents.h:25
Analysis::Composite::Composite
Composite(const std::string &n)
Definition: LikelihoodComponents.h:28
Analysis::Composite::name
std::string name
Definition: LikelihoodComponents.h:30
Analysis::AtomicProperty::name
std::string name
Definition: LikelihoodComponents.h:26
Analysis::Composite
Definition: LikelihoodComponents.h:26
beamspotman.n
n
Definition: beamspotman.py:731
Analysis::AtomicProperty::AtomicProperty
AtomicProperty(double v, const std::string &n)
Definition: LikelihoodComponents.h:23
Analysis::Slice::name
std::string name
Definition: LikelihoodComponents.h:36
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition: BTaggingCnvAlg.h:20
python.PyAthena.v
v
Definition: PyAthena.py:154
Analysis::Slice::Slice
Slice(const std::string &n)
Definition: LikelihoodComponents.h:34
Analysis::Slice::composites
std::vector< Composite > composites
Definition: LikelihoodComponents.h:35
Analysis::Slice
Definition: LikelihoodComponents.h:32