#include <PCaloHit.h>
Public Member Functions | |
uint16_t | depth () const |
double | energy () const |
double | energyEM () const |
double | energyHad () const |
EncodedEventId | eventId () const |
int | geantTrackId () const |
const char * | getName () const |
unsigned int | id () const |
bool | operator< (const PCaloHit &d) const |
bool | operator== (const PCaloHit &d) const |
PCaloHit (float e=0., float t=0., int i=0, float emFraction=1., uint16_t d=0) | |
PCaloHit (unsigned int id, float e=0., float t=0., int i=0, float emFraction=1., uint16_t d=0) | |
PCaloHit (float eEM, float eHad, float t, int i=0, uint16_t d=0) | |
PCaloHit (unsigned int id, float eEM, float eHad, float t, int i=0, uint16_t d=0) | |
void | setDepth (uint16_t depth) |
void | setEnergy (double e) |
void | setEventId (EncodedEventId e) |
void | setID (unsigned int id) |
void | setTime (float t) |
double | time () const |
Static Public Member Functions | |
static const char * | name () |
Static Public Attributes | |
static const int | kEcalDepthIdMask = 0x3 |
static const int | kEcalDepthMask = 0x1FFF |
static const int | kEcalDepthOffset = 3 |
static const int | kEcalDepthRefz = 0X4 |
Protected Attributes | |
unsigned int | detId |
uint16_t | myDepth |
float | myEMFraction |
float | myEnergy |
int | myItra |
float | myTime |
EncodedEventId | theEventId |
Definition at line 8 of file PCaloHit.h.
|
inline |
Definition at line 12 of file PCaloHit.h.
|
inline |
Definition at line 16 of file PCaloHit.h.
PCaloHit::PCaloHit | ( | float | eEM, |
float | eHad, | ||
float | t, | ||
int | i = 0 , |
||
uint16_t | d = 0 |
||
) |
PCaloHit::PCaloHit | ( | unsigned int | id, |
float | eEM, | ||
float | eHad, | ||
float | t, | ||
int | i = 0 , |
||
uint16_t | d = 0 |
||
) |
|
inline |
Definition at line 49 of file PCaloHit.h.
References myDepth.
Referenced by HFHitFilter::accepts(), EBHitResponse::add(), EBHitResponse::apdSignalAmplitude(), operator<<(), EBHitResponse::run(), and setDepth().
|
inline |
Definition at line 29 of file PCaloHit.h.
References myEnergy.
Referenced by HcalSiPMHitResponse::add(), EcalSelectiveReadoutValidation::analyzeEB(), EcalSelectiveReadoutValidation::analyzeEE(), EBHitResponse::apdSignalAmplitude(), HcalHitCorrection::charge(), CastorHitCorrection::charge(), CaloHitResponse::makeAnalogSignal(), HcalSiPMHitResponse::makeSiPMSignal(), CaloHitRespoNew::putAnalogSignal(), and EcalHitResponse::putAnalogSignal().
|
inline |
Definition at line 30 of file PCaloHit.h.
References myEMFraction, and myEnergy.
Referenced by operator<<().
|
inline |
Definition at line 31 of file PCaloHit.h.
References myEMFraction, and myEnergy.
Referenced by operator<<().
|
inline |
|
inline |
Definition at line 39 of file PCaloHit.h.
References myItra.
Referenced by JetMatchingTools::getTrackId(), and operator<<().
|
inline |
|
inline |
Definition at line 43 of file PCaloHit.h.
References detId.
Referenced by CastorHitFilter::accepts(), ZDCHitFilter::accepts(), HBHEHitFilter::accepts(), HOHitFilter::accepts(), HFHitFilter::accepts(), HcalHitFilter::accepts(), EBHitResponse::add(), HcalSiPMHitResponse::add(), EcalSelectiveReadoutValidation::analyzeEB(), EcalSelectiveReadoutValidation::analyzeEE(), EBHitResponse::apdSignalAmplitude(), HcalHitCorrection::charge(), CastorHitCorrection::charge(), HcalHitCorrection::delay(), CastorHitCorrection::delay(), CaloHitResponse::makeAnalogSignal(), operator<<(), CaloHitRespoNew::putAnalogSignal(), EcalHitResponse::putAnalogSignal(), EBHitResponse::run(), setID(), HcalHitCorrection::timeBin(), and CastorHitCorrection::timeBin().
|
inlinestatic |
Definition at line 24 of file PCaloHit.h.
Referenced by cuy.divideElement::__init__(), cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), and getName().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 42 of file PCaloHit.h.
|
inline |
Definition at line 57 of file PCaloHit.h.
References myTime, and edmStreamStallGrapher::t.
Referenced by HcalSiPMHitResponse::makeSiPMSignal().
|
inline |
Definition at line 36 of file PCaloHit.h.
References myTime.
Referenced by EBHitResponse::add(), HcalSiPMHitResponse::add(), EcalHitResponse::add(), CaloHitRespoNew::add(), CaloHitResponse::add(), CaloHitResponse::makeAnalogSignal(), HcalSiPMHitResponse::makeSiPMSignal(), PCaloHitCompareTimes::operator()(), operator<<(), CaloHitRespoNew::putAnalogSignal(), EcalHitResponse::putAnalogSignal(), EBHitResponse::run(), HcalSiPMHitResponse::run(), EcalHitResponse::run(), HcalHitCorrection::timeBin(), and CastorHitCorrection::timeBin().
|
protected |
Definition at line 77 of file PCaloHit.h.
Referenced by id(), operator==(), and setID().
|
static |
Definition at line 67 of file PCaloHit.h.
Referenced by EBHitResponse::add(), EBHitResponse::apdSignalAmplitude(), and EBHitResponse::run().
|
static |
Definition at line 68 of file PCaloHit.h.
Referenced by ECalSD::getDepth().
|
static |
Definition at line 69 of file PCaloHit.h.
Referenced by ECalSD::getDepth().
|
static |
Definition at line 70 of file PCaloHit.h.
Referenced by ECalSD::getDepth().
|
protected |
Definition at line 78 of file PCaloHit.h.
Referenced by depth(), and setDepth().
|
protected |
Definition at line 74 of file PCaloHit.h.
Referenced by energyEM(), energyHad(), and PCaloHit().
|
protected |
Definition at line 73 of file PCaloHit.h.
Referenced by energy(), energyEM(), energyHad(), operator<(), operator==(), PCaloHit(), and setEnergy().
|
protected |
Definition at line 76 of file PCaloHit.h.
Referenced by geantTrackId().
|
protected |
Definition at line 75 of file PCaloHit.h.
|
protected |
Definition at line 79 of file PCaloHit.h.
Referenced by eventId(), and setEventId().