Truth.hh
Go to the documentation of this file.
1 
4 #pragma once
5 
6 #include "boca/tagger/Tagger.hh"
8 
10 
11 // namespace boca
12 // {
13 // class Event;
14 // }
15 
16 namespace standardmodel
17 {
18 
19 namespace tagger
20 {
21 
22 class Truth : public Tagger<boca::TruthVariables, branch::Truth>
23 {
24 
25 public:
26 
27  int Train(boca::Event const& event, PreCuts const& pre_cuts, Tag tag) override;
28 
29  using Tagger::Multiplets;
30 
31  std::vector<TruthVariables> Multiplets(boca::Event const& event, PreCuts const& pre_cuts, TMVA::Reader const& reader) override;
32 
33  std::string Name() const override;
34 
35  latex::String LatexName() const override;
36 
37 private:
38 
39  std::vector<TruthVariables> Jets(const boca::Event& event, const boca::PreCuts& pre_cuts, std::function< Particle(Particle&) > const&)const;
40 
41 };
42 
43 }
44 
45 }
Definition: Truth.hh:22
Definition: Particle.hh:12
Definition: PreCuts.hh:14
Tag
The Tag distinguishes between signal and background events.
Definition: Tag.hh:14
Base class for the event Topology.
Definition: Event.hh:53
Definition: String.hh:45
virtual std::vector< Multiplet_ > Multiplets(std::vector< Jet > const &, PreCuts const &, TMVA::Reader const &)
Definition: Tagger.hh:66
Standard Model.
Definition: StandardModel.cpp:4
Tagger base class using Branch template
Definition: Tagger.hh:23
Reading stage.
int Train(boca::Event const &event, PreCuts const &pre_cuts, Tag tag) override
Definition: Truth.cpp:19
std::string Name() const override
Definition: Truth.cpp:66
std::vector< TruthVariables > Multiplets(boca::Event const &event, PreCuts const &pre_cuts, TMVA::Reader const &reader) override
Definition: Truth.cpp:30
latex::String LatexName() const override
Definition: Truth.cpp:71