CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TotemNumberMerger.h
Go to the documentation of this file.
1 #ifndef Forward_TotemNumberMerger_h
2 #define Forward_TotemNumberMerger_h 1
3 // -*- C++ -*-
4 //
5 // Package: Forward
6 // Class : TotemNumberMerger
7 //
17 //
18 // Original Author: R. Capra
19 // Created: Tue May 16 10:14:34 CEST 2006
20 // $Id: TotemNumberMerger.h,v 1.1 2006/05/17 16:18:57 sunanda Exp $
21 //
22 
23 // system include files
24 
25 // user include files
26 
27 #include "globals.hh"
28 
30 
31 public:
32 
33  // ---------- Constructor and destructor -----------------
36 
37  // ---------- The two operations -------------------------
38  unsigned long Merge(unsigned long value1, unsigned long value2) const;
39  unsigned long Merge(unsigned long value1, unsigned long value2,
40  unsigned long value3) const;
41  unsigned long Merge(unsigned long value1, unsigned long value2,
42  unsigned long value3, unsigned long value4) const;
43  void Split(unsigned long source, unsigned long &value1,
44  unsigned long &value2) const;
45  void Split(unsigned long source, unsigned long &value1,
46  unsigned long &value2, unsigned long &value3) const;
47  void Split(unsigned long source, unsigned long &value1,
48  unsigned long &value2, unsigned long &value3,
49  unsigned long &value4) const;
50 };
51 #endif
52 
unsigned long Merge(unsigned long value1, unsigned long value2) const
void Split(unsigned long source, unsigned long &value1, unsigned long &value2) const