1 #ifndef RecoLocalCalo_HcalRecAlgos_rawEnergy_h
2 #define RecoLocalCalo_HcalRecAlgos_rawEnergy_h
4 #include "boost/cstdint.hpp"
6 namespace HcalRecAlgosPrivate {
11 typedef struct {
char a[2];}
Two;
12 template<
typename C>
static One test(
int C::*);
13 template<
typename C>
static Two test(...);
23 template<
void (T::*)(
float)>
struct tester;
25 typedef struct {
char a[2];}
Two;
27 template<
typename C>
static Two test(...);
45 template<
typename T,
bool>
61 template<
float (T::*)() const>
struct tester;
63 typedef struct {
char a[2];}
Two;
65 template<
typename C>
static Two test(...);
83 template<
typename T,
bool>
99 template<u
int32_t (T::*)() const>
struct tester;
101 typedef struct {
char a[2];}
Two;
103 template<
typename C>
static Two test(...);
121 template<
typename T,
bool>
138 template <
typename HcalRecHit>
148 template <
typename HcalRecHit>
149 inline float getRawEnergy(
const HcalRecHit&
h,
float valueIfNoSuchMember=-1.0e20)
158 template <
typename HcalRecHit>
164 #endif // RecoLocalCalo_HcalRecAlgos_rawEnergy_h
uint32_t getAuxRecHitWord(const HcalRecHit &h, uint32_t valueIfNoSuchMember=4294967295U)
static One test(int C::*)
static uint32_t getAuxRecHit(const T &h, uint32_t)
static void setRawEnergy(T &, float)
void setRawEnergy(HcalRecHit &h, float e)
static One test(tester<&C::setRawEnergy > *)
static void setRawEnergy(T &h, float e)
static One test(tester<&C::auxHBHE > *)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
static One test(tester<&C::eraw > *)
static float getRawEnergy(const T &h, float)
static uint32_t getAuxRecHit(const T &, uint32_t v)
float getRawEnergy(const HcalRecHit &h, float valueIfNoSuchMember=-1.0e20)
static float getRawEnergy(const T &, float v)