#include <FTLUncalibratedRecHit.h>
Public Types | |
enum | Flags { kGood =-1, kPoorReco, kSaturated, kOutOfTime } |
typedef DetId | key_type |
Public Member Functions | |
float | amplitude () const |
bool | checkFlag (Flags flag) const |
FTLUncalibratedRecHit () | |
FTLUncalibratedRecHit (const DetId &detId, float ampl, float time, float timeError, unsigned char flags=0) | |
DetId | id () const |
bool | isSaturated () const |
bool | isTimeErrorValid () const |
bool | isTimeValid () const |
void | setAmplitude (float amplitude) |
void | setFlagBit (Flags flag) |
void | setId (DetId id) |
void | setTime (float time) |
void | setTimeError (float timeErr) |
float | time () const |
float | timeError () const |
~FTLUncalibratedRecHit () | |
Private Attributes | |
float | amplitude_ |
unsigned char | flags_ |
DetId | id_ |
float | time_ |
float | timeError_ |
Definition at line 7 of file FTLUncalibratedRecHit.h.
typedef DetId FTLUncalibratedRecHit::key_type |
Definition at line 11 of file FTLUncalibratedRecHit.h.
Enumerator | |
---|---|
kGood | |
kPoorReco | |
kSaturated | |
kOutOfTime |
Definition at line 13 of file FTLUncalibratedRecHit.h.
FTLUncalibratedRecHit::FTLUncalibratedRecHit | ( | ) |
Definition at line 5 of file FTLUncalibratedRecHit.cc.
FTLUncalibratedRecHit::FTLUncalibratedRecHit | ( | const DetId & | detId, |
float | ampl, | ||
float | time, | ||
float | timeError, | ||
unsigned char | flags = 0 |
||
) |
Definition at line 8 of file FTLUncalibratedRecHit.cc.
FTLUncalibratedRecHit::~FTLUncalibratedRecHit | ( | ) |
Definition at line 11 of file FTLUncalibratedRecHit.cc.
|
inline |
Definition at line 24 of file FTLUncalibratedRecHit.h.
References amplitude_.
Referenced by FTLSimpleRecHitAlgo::makeRecHit(), and setAmplitude().
bool FTLUncalibratedRecHit::checkFlag | ( | FTLUncalibratedRecHit::Flags | flag | ) | const |
Definition at line 46 of file FTLUncalibratedRecHit.cc.
References RemoveAddSevLevel::flag, flags_, and kGood.
Referenced by isSaturated(), and setId().
|
inline |
Definition at line 29 of file FTLUncalibratedRecHit.h.
References id_.
Referenced by FTLSimpleRecHitAlgo::makeRecHit(), and setId().
bool FTLUncalibratedRecHit::isSaturated | ( | ) | const |
Definition at line 14 of file FTLUncalibratedRecHit.cc.
References checkFlag(), and kSaturated.
Referenced by setId().
bool FTLUncalibratedRecHit::isTimeErrorValid | ( | ) | const |
Definition at line 25 of file FTLUncalibratedRecHit.cc.
References isTimeValid(), and timeError().
Referenced by setId().
bool FTLUncalibratedRecHit::isTimeValid | ( | ) | const |
Definition at line 18 of file FTLUncalibratedRecHit.cc.
References timeError().
Referenced by isTimeErrorValid(), and setId().
|
inline |
void FTLUncalibratedRecHit::setFlagBit | ( | FTLUncalibratedRecHit::Flags | flag | ) |
Definition at line 34 of file FTLUncalibratedRecHit.cc.
References RemoveAddSevLevel::flag, flags_, and kGood.
Referenced by setId().
|
inline |
Definition at line 35 of file FTLUncalibratedRecHit.h.
References checkFlag(), RemoveAddSevLevel::flag, id(), id_, isSaturated(), isTimeErrorValid(), isTimeValid(), and setFlagBit().
|
inline |
Definition at line 32 of file FTLUncalibratedRecHit.h.
|
inline |
|
inline |
Definition at line 25 of file FTLUncalibratedRecHit.h.
References time_.
Referenced by FTLSimpleRecHitAlgo::makeRecHit(), and setTime().
|
inline |
Definition at line 27 of file FTLUncalibratedRecHit.h.
References timeError_.
Referenced by isTimeErrorValid(), isTimeValid(), and FTLSimpleRecHitAlgo::makeRecHit().
|
private |
Definition at line 45 of file FTLUncalibratedRecHit.h.
Referenced by amplitude(), and setAmplitude().
|
private |
Definition at line 49 of file FTLUncalibratedRecHit.h.
Referenced by checkFlag(), and setFlagBit().
|
private |
Definition at line 48 of file FTLUncalibratedRecHit.h.
|
private |
Definition at line 46 of file FTLUncalibratedRecHit.h.
|
private |
Definition at line 47 of file FTLUncalibratedRecHit.h.
Referenced by setTimeError(), and timeError().