Jpp  master_rocky-37-gf0c5bc59d
the software that should make you happy
JEvtWeightSupportkit.hh
Go to the documentation of this file.
1 #ifndef __JAANET_JEVTWEIGHTSUPPORTKIT__
2 #define __JAANET_JEVTWEIGHTSUPPORTKIT__
3 
4 #include "JLang/JUUID.hh"
5 
6 
7 /**
8  * \author bjjung
9  */
10 
11 namespace JAANET {}
12 namespace JPP { using namespace JAANET; }
13 
14 namespace JAANET {
15 
16  using JLANG::JUUID;
17 
18 
19  /**
20  * Auxiliary data structure for storing pairs of header UUIDs and event-weight normalisations.
21  */
23  {
24  /**
25  * Default constructor.
26  */
28  UUID(),
30  {}
31 
32 
33  /**
34  * Constructor.
35  *
36  * \param UUID header UUID
37  * \param normalisation event-weight normalisation
38  */
40  const double normalisation) :
41  UUID(UUID),
43  {}
44 
45 
46  JUUID UUID; //!< header UUID
47  double normalisation; //!< event-weight normalisation
48  };
49 }
50 
51 #endif
Extensions to Evt data format.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary data structure for storing pairs of header UUIDs and event-weight normalisations.
JEvtWeightNormalisation(const JUUID &UUID, const double normalisation)
Constructor.
JEvtWeightNormalisation()
Default constructor.
double normalisation
event-weight normalisation
Simple wrapper for UUID.
Definition: JUUID.hh:24