DAS  3.0
Das Analysis System
Photon.cc File Reference
#include "Core/Objects/interface/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  )
13 {
14  GenPhoton photon;
15  BOOST_TEST( photon.scales.size() == 1 );
16  BOOST_TEST( photon.weights.size() == 1 );
17  cout << photon << endl;
18 }

◆ BOOST_AUTO_TEST_CASE() [2/2]

BOOST_AUTO_TEST_CASE ( reclevel  )
21 {
22  RecPhoton photon;
23  BOOST_TEST( photon.weights.size() == 1 );
24  BOOST_TEST( photon.selectors == 0 );
25  BOOST_TEST( photon.ecalEnergyErrPostCorr == -1 );
26  cout << photon << endl;
27 }
BOOST_TEST
BOOST_TEST(gendijet.Rapidity()==1.3573785791881385)
DAS::PhysicsObject::scales
std::vector< float > scales
energy scale corrections and variations
Definition: PhysicsObject.h:51
DAS::RecPhoton::selectors
std::uint32_t selectors
Identification cuts satisfied by the photon.
Definition: Photon.h:70
DAS::GenPhoton
class GenPhoton
Definition: Photon.h:13
DAS::RecPhoton::ecalEnergyErrPostCorr
float ecalEnergyErrPostCorr
Energy scale and smearing variations, indexed with the EnergyVariation enum.
Definition: Photon.h:68
DAS::PhysicsObject::weights
Weights weights
object weights
Definition: PhysicsObject.h:52
DAS::RecPhoton
class RecPhoton
Definition: Photon.h:27