DAS  3.0
Das Analysis System
Jet.cc File Reference
#include "Core/Objects/interface/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_AUTO_TEST_CASE (reclevel)
 

Macro Definition Documentation

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   Jet

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/2]

BOOST_AUTO_TEST_CASE ( genlevel  )
13 {
14  GenJet jet;
15  BOOST_TEST( jet.scales.size() == 1 );
16  BOOST_TEST( jet.weights.size() == 1 );
17  BOOST_TEST( jet.nBHadrons == -1 );
18  BOOST_TEST( jet.nCHadrons == -1 );
19  BOOST_TEST( jet.partonFlavour == 0 );
20  cout << jet << endl;
21 }

◆ BOOST_AUTO_TEST_CASE() [2/2]

BOOST_AUTO_TEST_CASE ( reclevel  )
24 {
25  RecJet jet;
26  BOOST_TEST( jet.scales.size() == 1 );
27  BOOST_TEST( jet.weights.size() == 1 );
28  BOOST_TEST( jet.nBHadrons == -1 );
29  BOOST_TEST( jet.nCHadrons == -1 );
30  BOOST_TEST( jet.partonFlavour == 0 );
31  BOOST_TEST( jet.area == -1 );
32  BOOST_TEST( jet.puID == -1 );
33  cout << jet << endl;
34 }
DAS::GenJet::partonFlavour
int partonFlavour
Parton flavour (PDG ID)
Definition: Jet.h:15
DAS::GenJet::nBHadrons
int nBHadrons
Number of B hadrons (0, 1 or 2+)
Definition: Jet.h:13
DAS::RecJet
Definition: Jet.h:37
DAS::PhysicsObject::scales
std::vector< float > scales
energy scale corrections and variations
Definition: PhysicsObject.h:51
DAS::GenJet
class GenJet
Definition: Jet.h:9
DAS::GenJet::nCHadrons
int nCHadrons
Number of D hadrons (0, 1+ in 2017; 0, 1, 2+ in 2016)
Definition: Jet.h:14
DAS::RecJet::area
float area
Jet area (should be peaked at pi*R^2), used for the JES corrections.
Definition: Jet.h:42
DAS::PhysicsObject::weights
Weights weights
object weights
Definition: PhysicsObject.h:52
BOOST_TEST
BOOST_TEST(jet.scales.size()==1)
DAS::RecJet::puID
float puID
pile-up jet ID
Definition: Jet.h:43