#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, uint8_t row, uint8_t column, std::pair< float, float > ampl, std::pair< float, float > time, float timeError, float position, float positionError, unsigned char flags=0) | |
FTLUncalibratedRecHit (const DetId &detId, std::pair< float, float > ampl, std::pair< float, float > time, float timeError, float position, float positionError, unsigned char flags=0) | |
DetId | id () const |
bool | isSaturated () const |
bool | isTimeErrorValid () const |
bool | isTimeValid () const |
float | position () const |
float | positionError () const |
int | row () const |
void | setAmplitude (std::pair< float, float > amplitude) |
void | setFlagBit (Flags flag) |
void | setId (DetId id) |
void | setPosition (float position) |
void | setPositionError (float positionErr) |
void | setTime (std::pair< float, float > time) |
void | setTimeError (float timeErr) |
std::pair< float, float > | time () const |
float | timeError () const |
~FTLUncalibratedRecHit ()=default | |
Private Attributes | |
std::pair< float, float > | amplitude_ |
uint8_t | column_ |
unsigned char | flags_ |
DetId | id_ |
float | position_ |
float | positionError_ |
distance from the center of the bar to the hit More... | |
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, |
uint8_t | row, | ||
uint8_t | column, | ||
std::pair< float, float > | ampl, | ||
std::pair< float, float > | time, | ||
float | timeError, | ||
float | position, | ||
float | positionError, | ||
unsigned char | flags = 0 |
||
) |
Definition at line 9 of file FTLUncalibratedRecHit.cc.
FTLUncalibratedRecHit::FTLUncalibratedRecHit | ( | const DetId & | detId, |
std::pair< float, float > | ampl, | ||
std::pair< float, float > | time, | ||
float | timeError, | ||
float | position, | ||
float | positionError, | ||
unsigned char | flags = 0 |
||
) |
Definition at line 28 of file FTLUncalibratedRecHit.cc.
|
default |
|
inline |
Definition at line 37 of file FTLUncalibratedRecHit.h.
References amplitude_.
Referenced by MTDRecHitAlgo::makeRecHit(), and setAmplitude().
bool FTLUncalibratedRecHit::checkFlag | ( | FTLUncalibratedRecHit::Flags | flag | ) | const |
Definition at line 65 of file FTLUncalibratedRecHit.cc.
References RemoveAddSevLevel::flag, flags_, and kGood.
Referenced by isSaturated().
|
inline |
Definition at line 48 of file FTLUncalibratedRecHit.h.
References column_.
Referenced by MTDRecHitAlgo::makeRecHit().
|
inline |
Definition at line 44 of file FTLUncalibratedRecHit.h.
References flags_.
Referenced by MTDRecHitAlgo::makeRecHit().
|
inline |
Definition at line 46 of file FTLUncalibratedRecHit.h.
References id_.
Referenced by MTDRecHitAlgo::makeRecHit(), and setId().
bool FTLUncalibratedRecHit::isSaturated | ( | ) | const |
Definition at line 37 of file FTLUncalibratedRecHit.cc.
References checkFlag(), and kSaturated.
bool FTLUncalibratedRecHit::isTimeErrorValid | ( | ) | const |
bool FTLUncalibratedRecHit::isTimeValid | ( | ) | const |
Definition at line 39 of file FTLUncalibratedRecHit.cc.
References timeError().
Referenced by isTimeErrorValid().
|
inline |
Definition at line 39 of file FTLUncalibratedRecHit.h.
References position_.
Referenced by MTDRecHitAlgo::makeRecHit(), and setPosition().
|
inline |
Definition at line 42 of file FTLUncalibratedRecHit.h.
References positionError_.
Referenced by MTDRecHitAlgo::makeRecHit().
|
inline |
Definition at line 47 of file FTLUncalibratedRecHit.h.
References row_.
Referenced by MTDRecHitAlgo::makeRecHit().
|
inline |
Definition at line 50 of file FTLUncalibratedRecHit.h.
References amplitude(), and amplitude_.
void FTLUncalibratedRecHit::setFlagBit | ( | FTLUncalibratedRecHit::Flags | flag | ) |
Definition at line 55 of file FTLUncalibratedRecHit.cc.
References RemoveAddSevLevel::flag, flags_, and kGood.
|
inline |
Definition at line 54 of file FTLUncalibratedRecHit.h.
|
inline |
|
inline |
Definition at line 59 of file FTLUncalibratedRecHit.h.
References positionError_.
|
inline |
Definition at line 51 of file FTLUncalibratedRecHit.h.
|
inline |
|
inline |
Definition at line 38 of file FTLUncalibratedRecHit.h.
References time_.
Referenced by MTDRecHitAlgo::makeRecHit(), and setTime().
|
inline |
Definition at line 41 of file FTLUncalibratedRecHit.h.
References timeError_.
Referenced by isTimeErrorValid(), isTimeValid(), and MTDRecHitAlgo::makeRecHit().
|
private |
Definition at line 67 of file FTLUncalibratedRecHit.h.
Referenced by amplitude(), and setAmplitude().
|
private |
Definition at line 74 of file FTLUncalibratedRecHit.h.
Referenced by column().
|
private |
Definition at line 75 of file FTLUncalibratedRecHit.h.
Referenced by checkFlag(), flags(), and setFlagBit().
|
private |
Definition at line 72 of file FTLUncalibratedRecHit.h.
|
private |
Definition at line 70 of file FTLUncalibratedRecHit.h.
Referenced by position(), and setPosition().
|
private |
distance from the center of the bar to the hit
Definition at line 71 of file FTLUncalibratedRecHit.h.
Referenced by positionError(), and setPositionError().
|
private |
Definition at line 73 of file FTLUncalibratedRecHit.h.
Referenced by row().
|
private |
Definition at line 68 of file FTLUncalibratedRecHit.h.
|
private |
Definition at line 69 of file FTLUncalibratedRecHit.h.
Referenced by setTimeError(), and timeError().