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();
void setPosition(LocalPoint pos)
Set local position.
LocalPoint localPosition() const override
void setError(LocalError err)
Set local position error.
std::vector< const TrackingRecHit * > recHits() const override
virtual DetId geographicalId() const
Return the detId of the Det (a DTLayer).
void setPositionAndError(DTEnums::DTCellSide lrside, const LocalPoint &point, const LocalError &err)
ostream & operator<<(ostream &os, const DTRecHit1DPair &hit)
DTRecHit1DPair * clone() const override
std::pair< const DTRecHit1D *, const DTRecHit1D * > componentRecHits() const
Get the left and right 1D rechits (first and second respectively).
bool operator==(const DTRecHit1DPair &hit) const
Comparison operator, based on the wireId and the digi time.
void setPosition(DTEnums::DTCellSide lrside, const LocalPoint &point)
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.
~DTRecHit1DPair() override
Destructor.
DTRecHit1DPair()
Default constructor. Needed to write the RecHit into a STL container.
DTLayerId layerId() const
Return the corresponding LayerId.
LocalPoint localPosition() const override
Return the 3-dimensional 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
const DTRecHit1D * componentRecHit(DTEnums::DTCellSide lrSide) const
Return the left/right DTRecHit1D.
LocalError localPositionError() const override