ATLAS Offline Software
AtlasMcWeight.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef EVENTTPCNV_ATLASMCWEIGHT_H
6 #define EVENTTPCNV_ATLASMCWEIGHT_H 1
7 
18 namespace AtlasMcWeight {
19 
20  typedef unsigned int number_type;
21 
23  double decode(number_type binnedWeight);
24 
25  number_type encode(double weight);
26 }
27 
28 #endif
AtlasMcWeight::decode
double decode(number_type binnedWeight)
Convert weight from unsigned to double.
Definition: AtlasMcWeight.cxx:32
AtlasMcWeight::number_type
unsigned int number_type
Definition: AtlasMcWeight.h:20
dqt_zlumi_pandas.weight
int weight
Definition: dqt_zlumi_pandas.py:200
AtlasMcWeight::encode
number_type encode(double weight)
Definition: AtlasMcWeight.cxx:65
AtlasMcWeight
Definition: AtlasMcWeight.h:18