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

Macros

#define BOOST_TEST_MODULE   Photon
 

Functions

 BOOST_AUTO_TEST_CASE (genlevel)
 
 BOOST_AUTO_TEST_CASE (reclevel)
 

Macro Definition Documentation

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   Photon

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/2]

BOOST_AUTO_TEST_CASE ( genlevel  )
17 {
18  GenPhoton photon;
19  BOOST_TEST( photon.scales.size() == 1 );
20  BOOST_TEST( photon.weights.size() == 1 );
21  cout << photon << endl;
22 }

◆ BOOST_AUTO_TEST_CASE() [2/2]

BOOST_AUTO_TEST_CASE ( reclevel  )
25 {
26  RecPhoton photon;
27  BOOST_TEST( photon.scales.size() == 1 );
28  BOOST_TEST( photon.weights.size() == 1 );
29  BOOST_TEST( photon.selectors == 0 );
30  cout << photon << endl;
31 }
BOOST_TEST
BOOST_TEST(gendijet.Rapidity()==1.3573785791881385)
Darwin::Physics::RecPhoton
Generic detector-level photon.
Definition: Photon.h:35
Darwin::Physics::GenericObject::weights
Weights weights
object weights
Definition: GenericObject.h:55
Darwin::Physics::GenPhoton
Generic generator-level photon.
Definition: Photon.h:17
Darwin::Physics::GenericObject::scales
std::vector< float > scales
energy scale corrections and variations
Definition: GenericObject.h:54
Darwin::Physics::RecPhoton::selectors
std::uint32_t selectors
Identification cuts.
Definition: Photon.h:44