#include <SimG4CMS/Forward/interface/TotemNumberMerger.h>
Public Member Functions | |
unsigned long | Merge (unsigned long value1, unsigned long value2) const |
unsigned long | Merge (unsigned long value1, unsigned long value2, unsigned long value3) const |
unsigned long | Merge (unsigned long value1, unsigned long value2, unsigned long value3, unsigned long value4) const |
void | Split (unsigned long source, unsigned long &value1, unsigned long &value2) const |
void | Split (unsigned long source, unsigned long &value1, unsigned long &value2, unsigned long &value3) const |
void | Split (unsigned long source, unsigned long &value1, unsigned long &value2, unsigned long &value3, unsigned long &value4) const |
TotemNumberMerger () | |
~TotemNumberMerger () | |
Description: Takes two integers and merges them together in only an integer! It's also possible the opposite operation.
Usage: Used in TotemOrganizations to get unique ID of sensitive detector element
Definition at line 28 of file TotemNumberMerger.h.
TotemNumberMerger::TotemNumberMerger | ( | ) |
TotemNumberMerger::~TotemNumberMerger | ( | ) |
unsigned long TotemNumberMerger::Merge | ( | unsigned long | value1, |
unsigned long | value2 | ||
) | const |
Definition at line 38 of file TotemNumberMerger.cc.
References assert(), EnergyCorrector::c, LogDebug, mps_fire::result, and Split().
Referenced by Merge().
unsigned long TotemNumberMerger::Merge | ( | unsigned long | value1, |
unsigned long | value2, | ||
unsigned long | value3 | ||
) | const |
Definition at line 58 of file TotemNumberMerger.cc.
References Merge().
unsigned long TotemNumberMerger::Merge | ( | unsigned long | value1, |
unsigned long | value2, | ||
unsigned long | value3, | ||
unsigned long | value4 | ||
) | const |
Definition at line 64 of file TotemNumberMerger.cc.
References Merge().
void TotemNumberMerger::Split | ( | unsigned long | source, |
unsigned long & | value1, | ||
unsigned long & | value2 | ||
) | const |
Definition at line 71 of file TotemNumberMerger.cc.
References EnergyCorrector::c, LogDebug, and mathSSE::sqrt().
void TotemNumberMerger::Split | ( | unsigned long | source, |
unsigned long & | value1, | ||
unsigned long & | value2, | ||
unsigned long & | value3 | ||
) | const |
Definition at line 84 of file TotemNumberMerger.cc.
References Split().
void TotemNumberMerger::Split | ( | unsigned long | source, |
unsigned long & | value1, | ||
unsigned long & | value2, | ||
unsigned long & | value3, | ||
unsigned long & | value4 | ||
) | const |
Definition at line 93 of file TotemNumberMerger.cc.
References Split().