|
Class Reference for E1039 Core & Analysis Software
|
Definition of hit structure. More...
#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/packages/reco/interface/SRawEvent.h>
Inheritance diagram for Hit:
Collaboration diagram for Hit:Public Types | |
| enum | hitQuality { inTime = hitFlagBit(1) , hodoMask = hitFlagBit(2) , triggerMask = hitFlagBit(3) } |
Public Member Functions | |
| Hit () | |
| Hit (int uniqueID) | |
| Hit (int detectorID, int elementID) | |
| void | identify (std::ostream &os=std::cout) const |
| PHObject virtual overloads. More... | |
| void | Reset () |
| Clear Event. More... | |
| int | isValid () const |
| isValid returns non zero if object contains vailid data More... | |
| Hit * | Clone () const |
| bool | isInTime () const |
| bool | isHodoMask () const |
| bool | isTriggerMask () const |
| void | setFlag (UShort_t flag_input) |
| void | resetFlag (UShort_t flag_input) |
| void | setInTime (bool f=true) |
| void | setHodoMask (bool f=true) |
| void | setTriggerMask (bool f=true) |
| Int_t | getSign () |
| Int_t | uniqueID () |
| Int_t | getDetectorID (Int_t uniqueID) |
| Int_t | getElementID (Int_t uniqueID) |
| bool | operator< (const Hit &elem) const |
| bool | operator== (const Hit &elem) const |
| void | print (std::ostream &os=std::cout) const |
Public Member Functions inherited from PHObject | |
| PHObject () | |
| ctor More... | |
| virtual | ~PHObject () |
| dtor More... | |
| virtual PHObject * | clone () const |
| Virtual copy constructor. More... | |
| virtual int | isValid (const float) const |
| virtual int | isValid (const double) const |
| virtual int | isValid (const int) const |
| virtual int | isValid (const unsigned int) const |
| virtual int | isImplemented (const float f) const |
| virtual int | isImplemented (const double f) const |
| virtual int | isImplemented (const int i) const |
| virtual int | isImplemented (const unsigned int i) const |
| void | SplitLevel (const int i) |
| int | SplitLevel () const |
| void | BufferSize (const int i) |
| int | BufferSize () const |
Public Attributes | |
| Int_t | index |
| Short_t | detectorID |
| Short_t | elementID |
| Float_t | tdcTime |
| Float_t | driftDistance |
| Float_t | pos |
| UShort_t | flag |
Definition of hit structure.
Definition at line 34 of file SRawEvent.h.
| enum Hit::hitQuality |
| Enumerator | |
|---|---|
| inTime | |
| hodoMask | |
| triggerMask | |
Definition at line 85 of file SRawEvent.h.
| Hit::Hit | ( | int | uniqueID | ) |
Definition at line 28 of file SRawEvent.cxx.
References detectorID, elementID, getDetectorID(), getElementID(), and uniqueID().
Here is the call graph for this function:| Hit::Hit | ( | int | detectorID, |
| int | elementID | ||
| ) |
Definition at line 34 of file SRawEvent.cxx.
|
inline |
Definition at line 46 of file SRawEvent.h.
References Hit().
Here is the call graph for this function:
|
inline |
Definition at line 65 of file SRawEvent.h.
References uniqueID().
Referenced by Hit().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 66 of file SRawEvent.h.
References uniqueID().
Referenced by Hit().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 61 of file SRawEvent.h.
References driftDistance.
Referenced by KalmanTrack::KalmanTrack().
Here is the caller graph for this function:
|
inlinevirtual |
PHObject virtual overloads.
Reimplemented from PHObject.
Definition at line 43 of file SRawEvent.h.
References print().
Here is the call graph for this function:
|
inline |
Definition at line 50 of file SRawEvent.h.
References flag, and hodoMask.
Referenced by print().
Here is the caller graph for this function:
|
inline |
Definition at line 49 of file SRawEvent.h.
Referenced by UtilTdc::GetOccupancy(), and print().
Here is the caller graph for this function:
|
inline |
Definition at line 51 of file SRawEvent.h.
References flag, and triggerMask.
Referenced by print().
Here is the caller graph for this function:
|
inlinevirtual |
isValid returns non zero if object contains vailid data
Reimplemented from PHObject.
Definition at line 45 of file SRawEvent.h.
| bool Hit::operator< | ( | const Hit & | elem | ) | const |
Definition at line 38 of file SRawEvent.cxx.
References detectorID, elementID, and tdcTime.
| bool Hit::operator== | ( | const Hit & | elem | ) | const |
Definition at line 68 of file SRawEvent.cxx.
References detectorID, elementID, and pos.
|
inline |
Definition at line 73 of file SRawEvent.h.
References detectorID, driftDistance, elementID, index, isHodoMask(), isInTime(), isTriggerMask(), and pos.
Referenced by identify(), KalmanFastTracking::removeBadHits(), and KalmanDSTrk::removeBadHits().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinevirtual |
Clear Event.
Reimplemented from PHObject.
Definition at line 44 of file SRawEvent.h.
References Hit().
Here is the call graph for this function:
|
inline |
Definition at line 55 of file SRawEvent.h.
References flag.
|
inline |
Definition at line 54 of file SRawEvent.h.
References flag.
|
inline |
Definition at line 57 of file SRawEvent.h.
|
inline |
Definition at line 56 of file SRawEvent.h.
Referenced by UtilSRawEvent::SetHit(), UtilSRawEvent::SetTriggerHit(), and TriggerAnalyzer::trimEvent().
Here is the caller graph for this function:
|
inline |
Definition at line 58 of file SRawEvent.h.
References flag, and triggerMask.
Referenced by TriggerAnalyzer::trimEvent().
Here is the caller graph for this function:
|
inline |
Definition at line 64 of file SRawEvent.h.
References detectorID, and elementID.
Referenced by getDetectorID(), getElementID(), and Hit().
Here is the caller graph for this function:| Short_t Hit::detectorID |
Definition at line 78 of file SRawEvent.h.
Referenced by Tracklet::addDummyHits(), PropSegment::fit(), SRawEvent::getAdjacentHitsIndex(), KalmanTrack::getCurrentDetectorID(), KalmanTrack::getExpPosError(), KalmanTrack::getNodeDownstream(), KalmanTrack::getNodeUpstream(), UtilTdc::GetOccupancy(), SQGenFit::GFMeasurement::GFMeasurement(), Hit(), SignedHit::identify(), SRawEvent::insertHit(), SRawEvent::insertTriggerHit(), KalmanTrack::KalmanTrack(), main(), Node::Node(), operator<(), SignedHit::operator<(), operator==(), PropSegment::print(), print(), SQGenFit::GFMeasurement::print(), KalmanTrack::propagateTo(), KalmanFastTracking::removeBadHits(), KalmanDSTrk::removeBadHits(), UtilSRawEvent::SetHit(), UtilSRawEvent::SetTriggerHit(), SignedHit::SignedHit(), TriggerAnalyzer::trimEvent(), and uniqueID().
| Float_t Hit::driftDistance |
Definition at line 81 of file SRawEvent.h.
Referenced by getSign(), SQGenFit::GFMeasurement::GFMeasurement(), KalmanTrack::KalmanTrack(), PropSegment::linearFit_iterative(), main(), Node::Node(), SignedHit::pos(), print(), SQGenFit::GFMeasurement::print(), KalmanFastTracking::removeBadHits(), KalmanDSTrk::removeBadHits(), UtilSRawEvent::SetHit(), UtilSRawEvent::SetTriggerHit(), and TriggerAnalyzer::trimEvent().
| Short_t Hit::elementID |
Definition at line 79 of file SRawEvent.h.
Referenced by SRawEvent::getAdjacentHitsIndex(), SQGenFit::GFMeasurement::GFMeasurement(), Hit(), SignedHit::identify(), KalmanTrack::KalmanTrack(), main(), operator<(), operator==(), PropSegment::print(), print(), SQGenFit::GFMeasurement::print(), PropSegment::resolveLR(), UtilSRawEvent::SetHit(), UtilSRawEvent::SetTriggerHit(), TriggerAnalyzer::trimEvent(), and uniqueID().
| UShort_t Hit::flag |
Definition at line 91 of file SRawEvent.h.
Referenced by isHodoMask(), isInTime(), isTriggerMask(), resetFlag(), setFlag(), setHodoMask(), setInTime(), and setTriggerMask().
| Int_t Hit::index |
Definition at line 77 of file SRawEvent.h.
Referenced by KalmanTrack::addHit(), PropSegment::fit(), PropSegment::getNPlanes(), PropSegment::getPosRef(), SQGenFit::GFMeasurement::GFMeasurement(), SignedHit::identify(), SignedHit::isValid(), main(), Node::Node(), SignedHit::operator==(), PropSegment::print(), print(), SQGenFit::GFMeasurement::print(), PropSegment::PropSegment(), KalmanFastTracking::removeBadHits(), KalmanDSTrk::removeBadHits(), PropSegment::resolveLR(), UtilSRawEvent::SetHit(), SRecEvent::setRawEvent(), UtilSRawEvent::SetTriggerHit(), SignedHit::SignedHit(), and TriggerAnalyzer::trimEvent().
| Float_t Hit::pos |
Definition at line 82 of file SRawEvent.h.
Referenced by PropSegment::fit_2hits(), PropSegment::getPosRef(), KalmanTrack::KalmanTrack(), main(), Node::Node(), operator==(), SignedHit::pos(), print(), SQGenFit::GFMeasurement::print(), UtilSRawEvent::SetHit(), UtilSRawEvent::SetTriggerHit(), and TriggerAnalyzer::trimEvent().
| Float_t Hit::tdcTime |
Definition at line 80 of file SRawEvent.h.
Referenced by KalmanTrack::KalmanTrack(), operator<(), UtilSRawEvent::SetHit(), UtilSRawEvent::SetTriggerHit(), and TriggerAnalyzer::trimEvent().