#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 10 of file PCaloHit.h.
|
inline |
Definition at line 13 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 43 of file PCaloHit.h.
References myDepth.
Referenced by operator<<(), and setDepth().
|
inline |
Definition at line 24 of file PCaloHit.h.
References myEnergy.
Referenced by HcalSiPMHitResponse::add(), CaloParticle::addSimHit(), SimCluster::addSimHit(), EcalSelectiveReadoutValidation::analyzeEB(), EcalSelectiveReadoutValidation::analyzeEE(), CastorHitCorrection::charge(), CaloHitResponse::makeAnalogSignal(), EcalHitResponse::putAnalogSignal(), and Jet.Jet::rawEnergy().
|
inline |
Definition at line 25 of file PCaloHit.h.
References myEMFraction, and myEnergy.
Referenced by operator<<().
|
inline |
Definition at line 26 of file PCaloHit.h.
References myEMFraction, and myEnergy.
Referenced by operator<<().
|
inline |
Definition at line 48 of file PCaloHit.h.
References theEventId.
Referenced by ntupleDataFormat.Event::eventIdStr().
|
inline |
Definition at line 33 of file PCaloHit.h.
References myItra.
Referenced by JetMatchingTools::getTrackId(), and operator<<().
|
inline |
|
inline |
Definition at line 37 of file PCaloHit.h.
References detId.
Referenced by CastorHitFilter::accepts(), ZDCHitFilter::accepts(), HcalHitFilter< HcalForward >::accepts(), HcalSiPMHitResponse::add(), EcalSelectiveReadoutValidation::analyzeEB(), EcalSelectiveReadoutValidation::analyzeEE(), CastorHitCorrection::charge(), CastorHitCorrection::delay(), CaloHitResponse::makeAnalogSignal(), operator<<(), EcalHitResponse::putAnalogSignal(), setID(), and CastorHitCorrection::timeBin().
|
inlinestatic |
Definition at line 19 of file PCaloHit.h.
Referenced by config.CFG::__str__(), geometryComparison.GeometryComparison::createScript(), validation.Sample::digest(), getName(), primaryVertexResolution.PrimaryVertexResolution::getRepMap(), primaryVertexValidation.PrimaryVertexValidation::getRepMap(), and zMuMuValidation.ZMuMuValidation::getRepMap().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 36 of file PCaloHit.h.
|
inline |
|
inline |
Definition at line 30 of file PCaloHit.h.
References myTime.
Referenced by HcalSiPMHitResponse::add(), EcalHitResponse::add(), CaloHitResponse::add(), CaloHitResponse::makeAnalogSignal(), PCaloHitCompareTimes::operator()(), operator<<(), EcalHitResponse::putAnalogSignal(), EcalHitResponse::run(), and CastorHitCorrection::timeBin().
|
protected |
Definition at line 70 of file PCaloHit.h.
Referenced by id(), operator==(), and setID().
|
static |
Definition at line 60 of file PCaloHit.h.
Referenced by CaloSimHitStudy::analyzeHits().
|
static |
Definition at line 61 of file PCaloHit.h.
Referenced by EcalTimeMapDigitizer::add(), ECalSD::getDepth(), and CaloSteppingAction::getDepth().
|
static |
Definition at line 62 of file PCaloHit.h.
Referenced by EcalTimeMapDigitizer::add(), ECalSD::getDepth(), and CaloSteppingAction::getDepth().
|
static |
Definition at line 63 of file PCaloHit.h.
Referenced by ECalSD::getDepth(), and CaloSteppingAction::getDepth().
|
protected |
Definition at line 71 of file PCaloHit.h.
Referenced by depth(), and setDepth().
|
protected |
Definition at line 67 of file PCaloHit.h.
Referenced by energyEM(), energyHad(), and PCaloHit().
|
protected |
Definition at line 66 of file PCaloHit.h.
Referenced by energy(), energyEM(), energyHad(), operator<(), operator==(), PCaloHit(), and setEnergy().
|
protected |
Definition at line 69 of file PCaloHit.h.
Referenced by geantTrackId().
|
protected |
Definition at line 68 of file PCaloHit.h.
|
protected |
Definition at line 72 of file PCaloHit.h.
Referenced by eventId(), and setEventId().