DAS  3.0
Das Analysis System
Lepton.cc File Reference
#include <Lepton.h>
#include <boost/test/included/unit_test.hpp>
#include <iostream>
+ Include dependency graph for Lepton.cc:

Macros

#define BOOST_TEST_MODULE   Lepton
 

Functions

 BOOST_AUTO_TEST_CASE (genlevel)
 
 BOOST_AUTO_TEST_CASE (reclevel)
 

Macro Definition Documentation

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   Lepton

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/2]

BOOST_AUTO_TEST_CASE ( genlevel  )
17 {
18  GenMuon muon;
19  BOOST_TEST( muon.scales.size() == 1 );
20  BOOST_TEST( muon.weights.size() == 1 );
21  BOOST_TEST( muon.Q == (int) 0 );
22  cout << muon << endl;
23 }

◆ BOOST_AUTO_TEST_CASE() [2/2]

BOOST_AUTO_TEST_CASE ( reclevel  )
26 {
27  RecMuon muon;
28  BOOST_TEST( muon.scales.size() == 1 );
29  BOOST_TEST( muon.weights.size() == 1 );
30  BOOST_TEST( muon.Q == 0 );
31  BOOST_TEST( muon.selectors == 0 );
32  cout << muon << endl;
33 }
Darwin::Physics::RecMuon
Generic detector-level muon.
Definition: Lepton.h:31
BOOST_TEST
BOOST_TEST(gendijet.Rapidity()==1.3573785791881385)
Darwin::Physics::RecMuon::selectors
std::uint32_t selectors
Identification cuts.
Definition: Lepton.h:40
Darwin::Physics::GenericObject::weights
Weights weights
object weights
Definition: GenericObject.h:55
Darwin::Physics::GenMuon::Q
int Q
+/- 1
Definition: Lepton.h:23
Darwin::Physics::GenericObject::scales
std::vector< float > scales
energy scale corrections and variations
Definition: GenericObject.h:54
Darwin::Physics::GenMuon
Generic generator-level muon.
Definition: Lepton.h:14