Observables.hh
Go to the documentation of this file.
1 #pragma once
2 
3 // include the Identification base class
5 // include the Event class
6 #include "boca/event/Event.hh"
7 
8 namespace simple
9 {
10 
11 // use members of boca::units without prefix
12 using namespace boca::units;
13 
14 
18 // Each Observable is calculated by a function of this class
19 // Additionally the Tag and the BDT response has to be saved, which is done in the Identification base class
21 {
22 
23 public:
24 
25  // The constructor takes the complete event
26  Observables(boca::Event const &event);
27 
28  // The number of leptons
29  int LeptonNumber() const;
30 
31  // The number of jets
32  int JetNumber() const;
33 
34  // The number of bottom jets
35  int BottomNumber() const;
36 
37  // The sclar sum of the transvers momenta
38  Momentum ScalarHt() const;
39 
40  // The transverse momentum of the n'th jet
41  Momentum JetPt(unsigned number) const;
42 
43  // The transverse momentum of the n'th lepton
44  Momentum LeptonPt(unsigned number) const;
45 
46  // The missing transvser energy
47  Energy MissingEt() const;
48 
49 private:
50 
51  // storage for the jets
52  std::vector<boca::Jet> jets_;
53 
54  // storage for the leptons
55  std::vector<boca::Lepton> leptons_;
56 
57  // storage for the scalar ht
58  Momentum scalar_ht_;
59 
60  // storage for the missing et
61  Energy missing_et_;
62 
63 };
64 
65 }
Jet MissingEt
Definition: Jet.hh:132
Base class for the event Topology.
Definition: Event.hh:53
Example.
Definition: Analysis.hh:11
Units.
Definition: Barn.hh:14
boost::units::quantity< electronvolt::Energy > Energy
Energy measured in electronvolt.
Definition: ElectronVolt.hh:56
Simple collection of Observables.
Definition: Observables.hh:20
Definition: Identification.hh:10
Energy Momentum
Momentum measured in electronvolt.
Definition: ElectronVolt.hh:68