Main Page
Namespaces
Classes
Package Documentation
DataFormats
HcalRecHit
interface
HcalSpecialTimes.h
Go to the documentation of this file.
1
#ifndef DataFormats_HcalRecHit_HcalSpecialTimes_h_
2
#define DataFormats_HcalRecHit_HcalSpecialTimes_h_
3
4
namespace
HcalSpecialTimes
5
{
6
// Special value for the rise time used in case the QIE10/11 pulse
7
// is always below the discriminator
8
constexpr
float
UNKNOWN_T_UNDERSHOOT
= -100.f;
9
10
// Special value for the rise time used in case the QIE10/11 pulse
11
// is always above the discriminator
12
constexpr
float
UNKNOWN_T_OVERSHOOT
= -110.f;
13
14
// Special value for the time to use in case the TDC info is
15
// not available or not meaningful (e.g., for QIE8)
16
constexpr
float
UNKNOWN_T_NOTDC
= -120.f;
17
18
// Check if the given time represents one of the special values
19
inline
bool
isSpecial
(
const
float
t
)
20
{
21
return
t == UNKNOWN_T_UNDERSHOOT ||
22
t == UNKNOWN_T_OVERSHOOT ||
23
t ==
UNKNOWN_T_NOTDC
;
24
}
25
}
26
27
#endif // DataFormats_HcalRecHit_HcalSpecialTimes_h_
HcalSpecialTimes
Definition:
HcalSpecialTimes.h:4
constexpr
#define constexpr
HcalSpecialTimes::UNKNOWN_T_UNDERSHOOT
constexpr float UNKNOWN_T_UNDERSHOOT
Definition:
HcalSpecialTimes.h:8
HcalSpecialTimes::UNKNOWN_T_OVERSHOOT
constexpr float UNKNOWN_T_OVERSHOOT
Definition:
HcalSpecialTimes.h:12
HcalSpecialTimes::isSpecial
bool isSpecial(const float t)
Definition:
HcalSpecialTimes.h:19
HcalSpecialTimes::UNKNOWN_T_NOTDC
constexpr float UNKNOWN_T_NOTDC
Definition:
HcalSpecialTimes.h:16
lumiQTWidget.t
t
Definition:
lumiQTWidget.py:50
Generated for CMSSW Reference Manual by
1.8.11