2 #ifndef RecoLocalCalo_HcalRecAlgos_rawEnergy_h
3 #define RecoLocalCalo_HcalRecAlgos_rawEnergy_h
5 namespace HcalRecAlgosPrivate {
24 template <
void (T::*)(
float)>
49 template <
typename T,
bool>
62 template <
float (T::*)() const>
87 template <
typename T,
bool>
100 template <
void (T::*)(
float)>
106 template <
typename C>
108 template <
typename C>
120 template <
typename T>
125 template <
typename T,
bool>
130 template <
typename T>
135 template <
typename T>
138 template <
float (T::*)() const>
144 template <
typename C>
146 template <
typename C>
158 template <
typename T>
163 template <
typename T,
bool>
168 template <
typename T>
173 template <
typename T>
176 template <u
int32_t (T::*)() const>
182 template <
typename C>
184 template <
typename C>
196 template <
typename T>
201 template <
typename T,
bool>
206 template <
typename T>
208 inline static uint32_t
getAuxRecHit(
const T&
h, uint32_t) {
return h.auxHBHE(); }
216 template <
typename HcalRecHit>
226 template <
typename HcalRecHit>
227 inline float getRawEnergy(
const HcalRecHit&
h,
float valueIfNoSuchMember = -1.0e20) {
233 template <
typename HcalRecHit>
239 template <
typename HcalRecHit>
240 inline float getAuxEnergy(
const HcalRecHit&
h,
float valueIfNoSuchMember = -1.0e20) {
249 template <
typename HcalRecHit>
250 inline uint32_t
getAuxRecHitWord(
const HcalRecHit&
h, uint32_t valueIfNoSuchMember = 4294967295U) {
252 getAuxRecHit(h, valueIfNoSuchMember);
255 #endif // RecoLocalCalo_HcalRecAlgos_rawEnergy_h
static void setAuxEnergy(T &h, float e)
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 One test(tester<&C::eaux > *)
static One test(tester<&C::setAuxEnergy > *)
static void setRawEnergy(T &h, float e)
float getAuxEnergy(const HcalRecHit &h, float valueIfNoSuchMember=-1.0e20)
static One test(tester<&C::auxHBHE > *)
static void setAuxEnergy(T &, float)
static float getAuxEnergy(const T &, float v)
static One test(tester<&C::eraw > *)
static float getRawEnergy(const T &h, float)
static float getAuxEnergy(const T &h, float)
static uint32_t getAuxRecHit(const T &, uint32_t v)
float getRawEnergy(const HcalRecHit &h, float valueIfNoSuchMember=-1.0e20)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
void setAuxEnergy(HcalRecHit &h, float e)
static float getRawEnergy(const T &, float v)