#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 cms::cuda::assert(), DummyCfis::c, LogDebug, mps_fire::result, Split(), HLT_2024v13_cff::value1, and HLT_2024v13_cff::value2.
Referenced by TotemT1Organization::_FromDataToUnitID(), and Merge().
unsigned long TotemNumberMerger::Merge | ( | unsigned long | value1, |
unsigned long | value2, | ||
unsigned long | value3 | ||
) | const |
Definition at line 55 of file TotemNumberMerger.cc.
References Merge(), HLT_2024v13_cff::value1, and HLT_2024v13_cff::value2.
unsigned long TotemNumberMerger::Merge | ( | unsigned long | value1, |
unsigned long | value2, | ||
unsigned long | value3, | ||
unsigned long | value4 | ||
) | const |
Definition at line 59 of file TotemNumberMerger.cc.
References Merge(), HLT_2024v13_cff::value1, and HLT_2024v13_cff::value2.
void TotemNumberMerger::Split | ( | unsigned long | source, |
unsigned long & | value1, | ||
unsigned long & | value2 | ||
) | const |
Definition at line 66 of file TotemNumberMerger.cc.
References DummyCfis::c, LogDebug, source, mathSSE::sqrt(), HLT_2024v13_cff::value1, and HLT_2024v13_cff::value2.
void TotemNumberMerger::Split | ( | unsigned long | source, |
unsigned long & | value1, | ||
unsigned long & | value2, | ||
unsigned long & | value3 | ||
) | const |
Definition at line 77 of file TotemNumberMerger.cc.
References source, Split(), HLT_2024v13_cff::value1, and HLT_2024v13_cff::value2.
void TotemNumberMerger::Split | ( | unsigned long | source, |
unsigned long & | value1, | ||
unsigned long & | value2, | ||
unsigned long & | value3, | ||
unsigned long & | value4 | ||
) | const |
Definition at line 87 of file TotemNumberMerger.cc.
References source, Split(), HLT_2024v13_cff::value1, and HLT_2024v13_cff::value2.