#include <FTLUncalibratedRecHit.h>
Public Types | |
enum | Flags { kGood = -1, kPoorReco, kSaturated, kOutOfTime } |
typedef DetId | key_type |
Public Member Functions | |
std::pair< float, float > | amplitude () const |
bool | checkFlag (Flags flag) const |
int | column () const |
unsigned char | flags () const |
FTLUncalibratedRecHit () | |
FTLUncalibratedRecHit (const DetId &detId, std::pair< float, float > ampl, std::pair< float, float > time, float timeError, unsigned char flags=0) | |
FTLUncalibratedRecHit (const DetId &detId, uint8_t row, uint8_t column, std::pair< float, float > ampl, std::pair< float, float > time, float timeError, unsigned char flags=0) | |
DetId | id () const |
bool | isSaturated () const |
bool | isTimeErrorValid () const |
bool | isTimeValid () const |
int | row () const |
void | setAmplitude (std::pair< float, float > amplitude) |
void | setFlagBit (Flags flag) |
void | setId (DetId id) |
void | setTime (std::pair< float, float > time) |
void | setTimeError (float timeErr) |
std::pair< float, float > | time () const |
float | timeError () const |
~FTLUncalibratedRecHit () | |
Private Attributes | |
std::pair< float, float > | amplitude_ |
uint8_t | column_ |
unsigned char | flags_ |
DetId | id_ |
uint8_t | row_ |
std::pair< float, float > | time_ |
float | timeError_ |
Definition at line 7 of file FTLUncalibratedRecHit.h.
typedef DetId FTLUncalibratedRecHit::key_type |
Definition at line 9 of file FTLUncalibratedRecHit.h.
Enumerator | |
---|---|
kGood | |
kPoorReco | |
kSaturated | |
kOutOfTime |
Definition at line 11 of file FTLUncalibratedRecHit.h.
FTLUncalibratedRecHit::FTLUncalibratedRecHit | ( | ) |
Definition at line 5 of file FTLUncalibratedRecHit.cc.
FTLUncalibratedRecHit::FTLUncalibratedRecHit | ( | const DetId & | detId, |
std::pair< float, float > | ampl, | ||
std::pair< float, float > | time, | ||
float | timeError, | ||
unsigned char | flags = 0 |
||
) |
Definition at line 14 of file FTLUncalibratedRecHit.cc.
FTLUncalibratedRecHit::FTLUncalibratedRecHit | ( | const DetId & | detId, |
uint8_t | row, | ||
uint8_t | column, | ||
std::pair< float, float > | ampl, | ||
std::pair< float, float > | time, | ||
float | timeError, | ||
unsigned char | flags = 0 |
||
) |
Definition at line 18 of file FTLUncalibratedRecHit.cc.
FTLUncalibratedRecHit::~FTLUncalibratedRecHit | ( | ) |
Definition at line 27 of file FTLUncalibratedRecHit.cc.
|
inline |
Definition at line 33 of file FTLUncalibratedRecHit.h.
References amplitude_.
Referenced by FTLSimpleRecHitAlgo::makeRecHit(), MTDRecHitAlgo::makeRecHit(), and setAmplitude().
bool FTLUncalibratedRecHit::checkFlag | ( | FTLUncalibratedRecHit::Flags | flag | ) | const |
Definition at line 57 of file FTLUncalibratedRecHit.cc.
References RemoveAddSevLevel::flag, flags_, and kGood.
Referenced by isSaturated(), and setId().
|
inline |
Definition at line 42 of file FTLUncalibratedRecHit.h.
References column_.
Referenced by MTDRecHitAlgo::makeRecHit().
|
inline |
Definition at line 38 of file FTLUncalibratedRecHit.h.
References flags_.
Referenced by MTDRecHitAlgo::makeRecHit().
|
inline |
Definition at line 40 of file FTLUncalibratedRecHit.h.
References id_.
Referenced by FTLSimpleRecHitAlgo::makeRecHit(), MTDRecHitAlgo::makeRecHit(), and setId().
bool FTLUncalibratedRecHit::isSaturated | ( | ) | const |
Definition at line 29 of file FTLUncalibratedRecHit.cc.
References checkFlag(), and kSaturated.
Referenced by setId().
bool FTLUncalibratedRecHit::isTimeErrorValid | ( | ) | const |
Definition at line 38 of file FTLUncalibratedRecHit.cc.
References isTimeValid(), and timeError().
Referenced by setId().
bool FTLUncalibratedRecHit::isTimeValid | ( | ) | const |
Definition at line 31 of file FTLUncalibratedRecHit.cc.
References timeError().
Referenced by isTimeErrorValid(), and setId().
|
inline |
Definition at line 41 of file FTLUncalibratedRecHit.h.
References row_.
Referenced by MTDRecHitAlgo::makeRecHit().
|
inline |
Definition at line 44 of file FTLUncalibratedRecHit.h.
References amplitude(), and amplitude_.
void FTLUncalibratedRecHit::setFlagBit | ( | FTLUncalibratedRecHit::Flags | flag | ) |
Definition at line 47 of file FTLUncalibratedRecHit.cc.
References RemoveAddSevLevel::flag, flags_, and kGood.
Referenced by setId().
|
inline |
Definition at line 48 of file FTLUncalibratedRecHit.h.
References checkFlag(), RemoveAddSevLevel::flag, id(), id_, isSaturated(), isTimeErrorValid(), isTimeValid(), and setFlagBit().
|
inline |
Definition at line 45 of file FTLUncalibratedRecHit.h.
|
inline |
|
inline |
Definition at line 34 of file FTLUncalibratedRecHit.h.
References time_.
Referenced by FTLSimpleRecHitAlgo::makeRecHit(), MTDRecHitAlgo::makeRecHit(), and setTime().
|
inline |
Definition at line 36 of file FTLUncalibratedRecHit.h.
References timeError_.
Referenced by isTimeErrorValid(), isTimeValid(), FTLSimpleRecHitAlgo::makeRecHit(), and MTDRecHitAlgo::makeRecHit().
|
private |
Definition at line 58 of file FTLUncalibratedRecHit.h.
Referenced by amplitude(), and setAmplitude().
|
private |
Definition at line 62 of file FTLUncalibratedRecHit.h.
Referenced by column().
|
private |
Definition at line 63 of file FTLUncalibratedRecHit.h.
Referenced by checkFlag(), flags(), and setFlagBit().
|
private |
Definition at line 61 of file FTLUncalibratedRecHit.h.
|
private |
Definition at line 62 of file FTLUncalibratedRecHit.h.
Referenced by row().
|
private |
Definition at line 59 of file FTLUncalibratedRecHit.h.
|
private |
Definition at line 60 of file FTLUncalibratedRecHit.h.
Referenced by setTimeError(), and timeError().