22 theRightHit(wireId,
Right, digi.
time()) {}
63 vector<const TrackingRecHit*>
result;
73 vector<TrackingRecHit*>
result;
114 if(lrside != undefLR)
116 else throw cms::Exception(
"DTRecHit1DPair::setPosition with undefined LR");
126 if(lrside != undefLR) {
130 else throw cms::Exception(
"DTRecHit1DPair::setPosition with undefined LR");
139 }
else if(lrSide == Right) {
152 }
else if(lrSide == Right) {
void setPosition(LocalPoint pos)
Set local position.
float digiTime() const
Return the digi time (ns) used to build the rechits.
const DTRecHit1D * componentRecHit(DTEnums::DTCellSide lrSide) const
Return the left/right DTRecHit1D.
std::ostream & operator<<(std::ostream &out, const ALILine &li)
void setError(LocalError err)
Set local position error.
virtual LocalError localPositionError() const
void setPositionAndError(DTEnums::DTCellSide lrside, const LocalPoint &point, const LocalError &err)
virtual DetId geographicalId() const
Return the detId of the Det (a DTLayer).
virtual std::vector< const TrackingRecHit * > recHits() const
bool operator==(const DTRecHit1DPair &hit) const
Comparison operator, based on the wireId and the digi time.
virtual LocalError localPositionError() const
Return the 3-dimensional error on the local position.
virtual LocalPoint localPosition() const
Return the 3-dimensional local position.
void setPosition(DTEnums::DTCellSide lrside, const LocalPoint &point)
DTLayerId layerId() const
Return the corresponding LayerId.
DTRecHit1DPair()
Default constructor. Needed to write the RecHit into a STL container.
virtual DTRecHit1DPair * clone() const
virtual ~DTRecHit1DPair()
Destructor.
std::pair< const DTRecHit1D *, const DTRecHit1D * > componentRecHits() const
Get the left and right 1D rechits (first and second respectively).
*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
virtual LocalPoint localPosition() const