TruthLevel.hh
Go to the documentation of this file.
1 
4 #pragma once
5 
6 #include "boca/tagger/Tagger.hh"
7 
10 
11 namespace toppartner
12 {
13 
14 namespace tagger
15 {
16 
17 class TruthLevel : public Tagger<TruthVariables, branch::Truth>
18 {
19 
20 public:
21 
22  int Train(boca::Event const& event, PreCuts const& pre_cuts, Tag tag) override;
23 
24  std::vector<TruthVariables> Multiplets(const boca::Event& event, const boca::PreCuts& pre_cuts, const TMVA::Reader&) override;
25 
26  std::string Name() const override;
27 
28  latex::String LatexName() const override;
29 
30 private:
31 
32  std::vector<TruthVariables> Jets(boca::Event const& event, PreCuts const& pre_cuts, std::function<Particle(Particle&)>const&)const;
33 
34 };
35 
36 }
37 
38 }
Definition: Particle.hh:12
Fermionic top partner.
Definition: Complete.cpp:6
int Train(boca::Event const &event, PreCuts const &pre_cuts, Tag tag) override
Definition: TruthLevel.cpp:21
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
latex::String LatexName() const override
Definition: TruthLevel.cpp:72
std::vector< TruthVariables > Multiplets(const boca::Event &event, const boca::PreCuts &pre_cuts, const TMVA::Reader &) override
Definition: TruthLevel.cpp:29
Tagger base class using Branch template
Definition: Tagger.hh:23
std::string Name() const override
Definition: TruthLevel.cpp:67
Definition: TruthLevel.hh:17