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

Macros

#define BOOST_TEST_MODULE   Jet
 

Functions

 BOOST_AUTO_TEST_CASE (genlevel)
 
 BOOST_TEST (jet.scales.size()==1)
 
 BOOST_TEST (jet.weights.size()==1)
 
 BOOST_TEST (jet.nBmesons==-1)
 

Macro Definition Documentation

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   Jet

Function Documentation

◆ BOOST_AUTO_TEST_CASE()

BOOST_AUTO_TEST_CASE ( genlevel  )
19 {
20  GenJet jet;
21  BOOST_TEST( jet.scales.size() == 1 );
22  BOOST_TEST( jet.weights.size() == 1 );
23  BOOST_TEST( jet.nBmesons == -1 );
24  BOOST_TEST( jet.nDmesons == -1 );
25  BOOST_TEST( jet.partonFlavour == 0 );
26  cout << jet << endl;
27 }

◆ BOOST_TEST() [1/3]

BOOST_TEST ( jet.  nBmesons = =-1)

◆ BOOST_TEST() [2/3]

BOOST_TEST ( jet.scales.  size() = =1)

◆ BOOST_TEST() [3/3]

BOOST_TEST ( jet.weights.  size() = =1)
Darwin::Physics::GenJet
Generic generator-level jet.
Definition: Jet.h:14
Darwin::Physics::GenericObject::weights
Weights weights
object weights
Definition: GenericObject.h:55
Darwin::Physics::GenericObject::scales
std::vector< float > scales
energy scale corrections and variations
Definition: GenericObject.h:54
Darwin::Physics::GenJet::nBmesons
int nBmesons
Number of B hadrons.
Definition: Jet.h:23
Darwin::Physics::GenJet::nDmesons
int nDmesons
Number of D hadrons.
Definition: Jet.h:24
BOOST_TEST
BOOST_TEST(jet.scales.size()==1)
Darwin::Physics::GenJet::partonFlavour
int partonFlavour
Parton flavour (PDG ID)
Definition: Jet.h:25