ATLAS Offline Software
Loading...
Searching...
No Matches
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
17
18namespace 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
double decode(number_type binnedWeight)
Convert weight from unsigned to double.
number_type encode(double weight)
unsigned int number_type