Go to the documentation of this file.
16 : theLeftHit(wireId,
Left, digi.
time()), theRightHit(wireId,
Right, digi.
time()) {}
42 vector<const TrackingRecHit*>
result;
50 vector<TrackingRecHit*>
result;
77 if (lrside != undefLR)
80 throw cms::Exception(
"DTRecHit1DPair::setPosition with undefined LR");
86 if (lrside != undefLR) {
90 throw cms::Exception(
"DTRecHit1DPair::setPosition with undefined LR");
97 }
else if (lrSide == Right) {
106 if (lrSide == Left) {
108 }
else if (lrSide == Right) {
122 os <<
"Pos: " <<
hit.localPosition();
const DTRecHit1D * componentRecHit(DTEnums::DTCellSide lrSide) const
Return the left/right DTRecHit1D.
DTRecHit1DPair()
Default constructor. Needed to write the RecHit into a STL container.
bool operator==(const DTRecHit1DPair &hit) const
Comparison operator, based on the wireId and the digi time.
~DTRecHit1DPair() override
Destructor.
LocalError localPositionError() const override
Return the 3-dimensional error on the local position.
float digiTime() const
Return the digi time (ns) used to build the rechits.
virtual DetId geographicalId() const
Return the detId of the Det (a DTLayer).
DTRecHit1DPair * clone() const override
void setPosition(DTEnums::DTCellSide lrside, const LocalPoint &point)
LocalPoint localPosition() const override
Return the 3-dimensional local position.
std::vector< const TrackingRecHit * > recHits() const override
std::pair< const DTRecHit1D *, const DTRecHit1D * > componentRecHits() const
Get the left and right 1D rechits (first and second respectively).
LocalPoint localPosition() const override
ostream & operator<<(ostream &os, const DTRecHit1DPair &hit)
void setPositionAndError(DTEnums::DTCellSide lrside, const LocalPoint &point, const LocalError &err)
DTLayerId layerId() const
Return the corresponding LayerId.
void setPosition(LocalPoint pos)
Set local position.
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
void setError(LocalError err)
Set local position error.
LocalError localPositionError() const override